mesa: Changes to 'refs/tags/mesa_7_4_rc1'
Tag 'mesa_7_4_rc1' created by Brian Paul <brianp@vmware.com> at 2009-03-20 23:37 +0000
Mesa 7.4 release candidate 1 tag.
Changes since mesa_7_3:
Alan Hourihane (3):
dri2: support glXWaitX & glXWaitGL by using fake front buffer.
demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
xdemos: On termination with `esc` close the contexts correctly.
Alex Deucher (1):
R300: Add support for RS600 chips
Brian Paul (99):
mesa: set version to 7.3
docs: 7.3 md5 sums
docs: skeleton 7.4 release notes file
mesa: set version to 7.4 for mesa_7_4_branch
docs: fix typo
intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform()
intel: check if stencil test is enabled in intel_stencil_drawpixels()
i965: widen per-texture bitfields for 16 texture image units
i965: fix bug in pass0_precalc_mov()
docs: i965 fixes
mesa: remove incorrect refcounting adjustment in adjust_buffer_object_ref_counts()
mesa: add missing _mesa_reference_texobj() calls for texture array targets
mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D()
docs: recent bug fixes for 7.4
mesa: move code after decls. Fixes Window build failure.
xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return True
docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver
docs: fixed Windows build error, added MESA_GLX_FORCE_DIRECT env var
glsl: replace assertion with conditional in _slang_pop_var_table()
swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0)
mesa: fix tnl->render_inputs_bitset setup for fragment program texcoords
mesa: fix logic error in computing enableBits in update_texture_state()
autoconf: Use include-fixed directory with makedepend on newer GCC
mesa: fix/change state validation order for program/texture state
mesa: another fix for program/texture state validation
glsl: use _slang_var_swizzle() in a few places to simplify the code.
glsl: fix incorrect size returned by glGetActiveUniform() for array elements.
glsl: fix glUniform() array bounds error checking
glsl: rework _mesa_get_uniform[fi]v() to avoid using a fixed size intermediate array
glsl: raise GL_INVALID_OPERATION for glUniform(location < -1)
glsl: allow setting arrays of samplers in set_program_uniform()
docs: recent 7.4 bug fixes
glsl: fix an array indexing bug
glsl: fix mistake in a comment
mesa: turn on reporting of GLSL version 1.20
glsl: silence some uninit var warnings
docs: 7.4 relnotes: report GLSL 1.20, fixed GLSL array index bug
glsl: fix a swizzle-related regression
mesa: increase MAX_UNIFORMS to 1024 (of vec4 type)
mesa: improved error msg
glsl: fix link failure for variable-indexed varying output arrays
mesa: bump gl.h version comment to 7.4 (bug 20170)
glsl: fix inequality in set_program_uniform()
glsl: asst improvements, clean-ups in set_program_uniform()
glsl: update program->InputsRead when referencing input attributes
mesa: fix GLSL issue preventing use of all 16 generic vertex attributes
util: added more functions to extfuncs.h
demos: update multitex.c GLSL demo to use vertex arrays or glVertex-mode
mesa: fixes for building on Haiku
docs: Haiku fixes
glsl: fix another swizzle-related bug
glsl: yet another swizzled expression fix
mesa: Build DRI by default on Linux/sparc
mesa: fix incorrect error handling in glBufferDataARB()
mesa: if a buffer object is mapped when glDeleteBuffers() is called, unmap it
mesa: set bufObj->Pointer = NULL after unmapping
mesa: update fragResults array in arb_output_attrib_string()
mesa: fix sw fallback state validation bug
gl: update glext.h to version 46
docs: update glext.h to version 46
mesa: Fix typo.
mesa: Reads must also be done with lock held.
i965: fix cube map lock-up / corruption
xmesa: set back-buffer's drawable field
mesa: add missing _glthread_INIT_MUTEX in _mesa_new_framebuffer()
mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functions
mesa: initialize ctx->Stencil._BackFace = 1
mesa: fix/update/restore comments related to two-sided stencil (cherry picked from commit a304cc6cca2ee21c3b25041abf882ef0616e5244)
i965: minor improvements in brw_wm_populate_key() (cherry picked from commit 89fddf978c9d2ab5042f89110015234e979c2686)
mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helper (cherry picked from commit ad338c14c2aca87199da7ec1ae08ceb5062a9954)
i965: scissor rect was inverted when rendering to texture (cherry picked from commit 3b23a8e07d59ff6ee766e7d3eb384137279a5250)
intel: Move swap-related functions from intel_buffers.c to new intel_swapbuffers.c (cherry picked from commit 6fcebbe719eab1f8e292c8dcd6c3e898b0f8d261)
intel: move glClear-related code into new intel_clear.c file (cherry picked from commit 4451eb2e7533a41f67ed21d05a8d9ab5efec77e9)
mesa: refactor glTexParameter code (cherry picked from commit 318e53a4bf27499935c874f475af111ffaa71fdd)
mesa: minor error msg improvement (cherry picked from commit 803504e69fbd85713fc6d93af21f5245852cecab)
mesa: more info in error messages (cherry picked from commit 1ca05a066b8d8cb8a99da88743a48f7d97f695fe)
i965: add missing break for OPCODE_RET case
i965: tell GLSL compiler to emit code using condition codes
intel: remove unused var (cherry picked from commit 66c7f06413cc96a75befa4323677b26a2917ebb3)
intel: make intelUpdateScreenFromSAREA() static (cherry picked from commit aae2729aeb3f6eed26e8f7673f47f2b978786bb1)
intel: move some driver functions around
i965: init array->Format fields (see bug 19708) (cherry picked from commit 628b52241b13132e2d4065b653befdf81236e651)
i965: need to disable current shader, if any, in intel_clear_tris()
intel: fix datatype typo, s/GLboolean/GLuint/
mesa: use an array for default texture objects
mesa: use an array for current texture objects
mesa: don't draw arrays if vertex position array is not enabled
i965: rewrite the code for handling shader subroutine calls
i965: fix emit_math1() function used for scalar instructions
mesa: added _mesa_fprintf() wrapper (cherry picked from commit 596b8fbbbf65cef227ce60216a57d4bbfd627099)
i965: check if we run out of GRF/temp registers
glsl: fix vec4_texp_rect IR code (need projective version) (cherry picked from commit ad2cfa41992d0676881440596c43ab6021c1b025)
i965: init dest reg CondMask = COND_TR (the proper default)
swrast: use better _swrast_compute_lambda() function
mesa: add no-change testing for a few more texture parameters
mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change
r300: don't crash on sw tcl hw if point size vertex attrib is sent
mesa: prep for 7.4-rc1 release
docs: prep for 7.4 release
Chris Wilson (2):
intel: Correct decoding of 3DSTATE_PIXEL_SHADER_CONSTANTS
intel: Decode MI operands using specific length masks
Dan Nicholson (1):
autoconf: Restore _GNU_SOURCE for all Linux systems
Dave Airlie (1):
texmem: fix typo from brianp's changes.
Eric Anholt (17):
dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers.
tdfx: Fix begin/endquery for current API. (cherry picked from commit 0cb295584ff2e3d442029fe9e079f69fafaf8dd9)
intel: replace custom metaops clear with generic.
i915: Only call CalcViewport from DrawBuffers instead of Viewport.
intel: If we're doing a depth clear with tris, do color with it.
i965: Delete old metaops code now that there are no remaining consumers. (cherry picked from commit 14321fcfde9e30d0b9f15aab3c9a057271ae6295)
i965: Remove brw->attribs now that we can just always look in the GLcontext. (cherry picked from commit 052c1d66a1ab1f2665870dc77dab28d20416cdf1)
intel: Fix some state leakage of {Client,}ActiveTexture in metaops.
intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format. (cherry picked from commit 0b63f6449e095fa3b5ef510e1c1eadc2e0e0ea36)
i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.
intel: Fix tri clear to do FBO color attachments as well.
dri2: Initialize variables for the getbuffers round-trip reduction.
intel: don't crash when dri2 tells us about buffers we don't care about. (cherry picked from commit f82f1ffba9f2e5971a6a3f3927ae3b22b798bab2)
intel: Don't do the extra MI_FLUSH in flushing except when doing glFlush().
i965: Fix render target read domains.
intel: tell libdrm whether we want a cpu-ready or gpu-ready BO for regions.
intel: Fix bpp setting of blits to 8bpp targets.
Ian Romanick (6):
Track two sets of back-face stencil state
swrast: Enable GL_EXT_stencil_two_side (cherry picked from commit b5fbdef7ec3deb823ad1db8a7b7a731800082f75)
glxgears: Log a message if synched to vblank
Fix dyslexia. (cherry picked from commit 9d6880ec8d4c13540452a8208ca69a58a3f8459d)
glxgears: No, really. Fix the dyslexia. (cherry picked from commit 5b5ddfb89c74ecb527d035e77aaf999cf0fb86b5)
Mark current bits as 2009Q1-RC1 for Intel driver.
Jesse Barnes (2):
intel: move pipe enable sanity check to where it belongs
intel: fix the mismerge of the vblank pipe enable sanity check
Kristian Høgsberg (1):
intel: Fix intelSetTexBuffer miptree leak.
Owain Ainsworth (1):
intel: fix vblank crtc selection with DRI1 when only one pipe is enabled.
Owain G. Ainsworth (1):
intel: Prevent an "irq is not working" printf when only pipe B is enabled.
Robert Ellison (7):
i965: fix line stipple fallback for GL_LINE_STRIP primitives
mesa: add missing texture_put_row_rgb() function in texrender.c
Fix an i965 assertion failure on glClear()
i965: texture fixes: bordered textures, fallback rendering
i965: add software fallback for conformant 3D textures and GL_CLAMP
i965: fix polygon face orientation when rendering to FBO
i965: fix polygon stipple when rendering to FBO
Shaohua Li (1):
i915: Add support for a new G33-like chipset.
Xiang, Haihao (1):
i965: fix for RHW workaround
---
Makefile | 9
configure.ac | 16
docs/download.html | 4
docs/news.html | 7
docs/relnotes-7.3.html | 12
docs/relnotes-7.4.html | 80 ++
docs/relnotes.html | 1
docs/xlibdriver.html | 16
include/GL/gl.h | 2
include/GL/glext.h | 72 +
progs/glsl/multitex.c | 88 +-
progs/glsl/multitex.vert | 10
progs/util/extfuncs.h | 15
progs/xdemos/glxgears.c | 74 +
progs/xdemos/glxpixmap.c | 1
progs/xdemos/manywin.c | 2
src/glx/x11/dri2_glx.c | 113 +++
src/glx/x11/dri_glx.c | 2
src/glx/x11/glxclient.h | 3
src/glx/x11/glxcmds.c | 24
src/mesa/drivers/dri/common/texmem.c | 10
src/mesa/drivers/dri/gamma/gamma_tex.c | 8
src/mesa/drivers/dri/i915/Makefile | 2
src/mesa/drivers/dri/i915/i915_state.c | 71 +
src/mesa/drivers/dri/i915/intel_clear.c | 1
src/mesa/drivers/dri/i915/intel_state.c | 64 -
src/mesa/drivers/dri/i915/intel_swapbuffers.c | 1
src/mesa/drivers/dri/i915/intel_tris.c | 4
src/mesa/drivers/dri/i965/Makefile | 3
src/mesa/drivers/dri/i965/brw_cc.c | 67 -
src/mesa/drivers/dri/i965/brw_clip.c | 40 -
src/mesa/drivers/dri/i965/brw_clip_line.c | 66 +
src/mesa/drivers/dri/i965/brw_clip_tri.c | 76 +-
src/mesa/drivers/dri/i965/brw_context.c | 29
src/mesa/drivers/dri/i965/brw_context.h | 51 -
src/mesa/drivers/dri/i965/brw_curbe.c | 15
src/mesa/drivers/dri/i965/brw_draw.c | 85 +-
src/mesa/drivers/dri/i965/brw_eu.c | 123 +++
src/mesa/drivers/dri/i965/brw_eu.h | 18
src/mesa/drivers/dri/i965/brw_fallback.c | 16
src/mesa/drivers/dri/i965/brw_metaops.c | 583 ---------------
src/mesa/drivers/dri/i965/brw_misc_state.c | 59 +
src/mesa/drivers/dri/i965/brw_sf.c | 22
src/mesa/drivers/dri/i965/brw_sf_state.c | 71 -
src/mesa/drivers/dri/i965/brw_state_upload.c | 10
src/mesa/drivers/dri/i965/brw_tex.c | 3
src/mesa/drivers/dri/i965/brw_vs.c | 14
src/mesa/drivers/dri/i965/brw_vs.h | 1
src/mesa/drivers/dri/i965/brw_vs_constval.c | 3
src/mesa/drivers/dri/i965/brw_vs_emit.c | 88 +-
src/mesa/drivers/dri/i965/brw_vs_state.c | 4
src/mesa/drivers/dri/i965/brw_vtbl.c | 1
src/mesa/drivers/dri/i965/brw_wm.c | 48 -
src/mesa/drivers/dri/i965/brw_wm.h | 12
src/mesa/drivers/dri/i965/brw_wm_fp.c | 6
src/mesa/drivers/dri/i965/brw_wm_glsl.c | 105 +-
src/mesa/drivers/dri/i965/brw_wm_pass0.c | 14
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 30
src/mesa/drivers/dri/i965/brw_wm_state.c | 13
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 14
src/mesa/drivers/dri/i965/intel_clear.c | 1
src/mesa/drivers/dri/i965/intel_state.c | 42 -
src/mesa/drivers/dri/i965/intel_swapbuffers.c | 1
src/mesa/drivers/dri/intel/intel_blit.c | 2
src/mesa/drivers/dri/intel/intel_buffers.c | 418 -----------
src/mesa/drivers/dri/intel/intel_buffers.h | 7
src/mesa/drivers/dri/intel/intel_chipset.h | 11
src/mesa/drivers/dri/intel/intel_clear.c | 393 ++++++++++
src/mesa/drivers/dri/intel/intel_clear.h | 38 +
src/mesa/drivers/dri/intel/intel_context.c | 49 +
src/mesa/drivers/dri/intel/intel_context.h | 9
src/mesa/drivers/dri/intel/intel_decode.c | 47 -
src/mesa/drivers/dri/intel/intel_fbo.c | 3
src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 6
src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 3
src/mesa/drivers/dri/intel/intel_pixel.c | 9
src/mesa/drivers/dri/intel/intel_pixel.h | 2
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c | 1
src/mesa/drivers/dri/intel/intel_pixel_draw.c | 26
src/mesa/drivers/dri/intel/intel_regions.c | 12
src/mesa/drivers/dri/intel/intel_regions.h | 3
src/mesa/drivers/dri/intel/intel_screen.c | 5
src/mesa/drivers/dri/intel/intel_screen.h | 9
src/mesa/drivers/dri/intel/intel_swapbuffers.c | 243 ++++++
src/mesa/drivers/dri/intel/intel_swapbuffers.h | 52 +
src/mesa/drivers/dri/intel/intel_tex_image.c | 19
src/mesa/drivers/dri/intel/intel_tex_validate.c | 3
src/mesa/drivers/dri/mga/mga_texstate.c | 8
src/mesa/drivers/dri/r300/r300_render.c | 16
src/mesa/drivers/dri/r300/r300_state.c | 42 -
src/mesa/drivers/dri/r300/r300_swtcl.c | 4
src/mesa/drivers/dri/radeon/radeon_chipset.h | 4
src/mesa/drivers/dri/radeon/radeon_screen.c | 10
src/mesa/drivers/dri/s3v/s3v_tex.c | 8
src/mesa/drivers/dri/swrast/swrast.c | 2
src/mesa/drivers/dri/tdfx/tdfx_dd.c | 8
src/mesa/drivers/x11/fakeglx.c | 45 -
src/mesa/drivers/x11/xm_api.c | 6
src/mesa/drivers/x11/xm_buffer.c | 1
src/mesa/glapi/glthread.h | 12
src/mesa/main/api_validate.c | 15
src/mesa/main/attrib.c | 41 -
src/mesa/main/bufferobj.c | 20
src/mesa/main/buffers.c | 5
src/mesa/main/config.h | 2
src/mesa/main/context.c | 83 --
src/mesa/main/dlopen.c | 9
src/mesa/main/enable.c | 7
src/mesa/main/extensions.c | 8
src/mesa/main/framebuffer.c | 1
src/mesa/main/get.c | 42 -
src/mesa/main/get_gen.py | 14
src/mesa/main/getstring.c | 13
src/mesa/main/hash.c | 2
src/mesa/main/imports.c | 15
src/mesa/main/imports.h | 6
src/mesa/main/mtypes.h | 68 +
src/mesa/main/state.c | 96 +-
src/mesa/main/stencil.c | 102 +-
src/mesa/main/texenv.c | 339 +++------
src/mesa/main/texformat_tmp.h | 8
src/mesa/main/teximage.c | 19
src/mesa/main/texobj.c | 129 +--
src/mesa/main/texparam.c | 857 +++++++++++++----------
src/mesa/main/texrender.c | 54 +
src/mesa/main/texstate.c | 121 +--
src/mesa/main/version.h | 6
src/mesa/shader/prog_instruction.h | 16
src/mesa/shader/prog_print.c | 13
src/mesa/shader/program.c | 9
src/mesa/shader/shader_api.c | 271 ++++---
src/mesa/shader/slang/slang_codegen.c | 4
src/mesa/shader/slang/slang_compile.c | 2
src/mesa/shader/slang/slang_emit.c | 63 +
src/mesa/shader/slang/slang_link.c | 38 -
src/mesa/shader/slang/slang_vartable.c | 59 -
src/mesa/swrast/s_fragprog.c | 54 -
src/mesa/swrast/s_span.c | 12
src/mesa/swrast/s_stencil.c | 6
src/mesa/swrast/s_triangle.c | 21
src/mesa/tnl/t_context.c | 14
src/mesa/vbo/vbo_exec_api.c | 5
src/mesa/vbo/vbo_exec_draw.c | 13
src/mesa/vbo/vbo_save_draw.c | 18
src/mesa/x86/gen_matypes.c | 4
145 files changed, 3792 insertions(+), 2894 deletions(-)
---
Reply to: