mesa: Changes to 'refs/tags/mesa_7_1_rc1'
Tag 'mesa_7_1_rc1' created by Brian Paul <brian.paul@tungstengraphics.com> at 2008-05-27 19:49 +0000
Mesa 7.1 release candidate 1
Changes since mesa_6_5_3:
Aapo Tahkola (6):
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.
r300: fix primary color on rs480
r300: fix broken vbos
rs480: fix textures and secondary color(?). clipping is still busted. tested on r480
Merge branch 'master' of git+ssh://aapot@git.freedesktop.org/git/mesa/mesa
rs480: fix secondary color for real this time
Adam Jackson (13):
Unbreak Linux builds with -fvisibility=hidden.
__driConfigOptions must be PUBLIC.
glxinfo: Fix multisample visual reporting.
Trivial SELinux awareness. Enable with --enable-selinux.
Add E7221 variant to i915.
Add IS_915(), simplify IS_9XX() a bit.
Fix build on ia64.
Fix sis_dri on ia64.
Fix parallel build by making symlinks before makedepend.
chmod a-x **/glslnoise.c
Install dri_interface.h in 'make install'.
Fix path to minstall in last commit.
Install dri_sarea.h in 'make install'
Alan Hourihane (10):
Only set R_MODE with NV_point_sprite
Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h
set outputs_safe to 0 as it's possible for the code generation
small cleanups
correct the return value
Fix error string
revert part of the previous cleanup - it only applies
include <X11/Xlib.h>
silence warning
build fix for xorg driver
Alex Deucher (4):
R300: RV410 SE chips have half the pipes of regular RV410
Add new RV380 pci id
Radeon 9500 (0x4144) only has one pipe
R300: fix typo r300 fog reg
Alex Neundorf (1):
added catamount-osmesa-pgi config
Alexey Sokolov (1):
define M_PI if needed
Andreas Micheler (1):
faster write_rgba_span_front()
Andrew Randrianasulu (1):
r200: accept PROGRAM_CONSTANT inputs due to mesa changes
Andrzej Trznadel (2):
Fix compat implementation of ffs() to return 1-based bit numbers.
[965] Fix fp temp reg release code to not usually release all temps.
Andy Skinner (1):
added -altopts to allow overriding all other opts
Arthur Huillet (1):
bumped nouveau DRM interface version number
Ben Skeggs (14):
nouveau: NV30_TCL viewport/scissor fixes
nouveau: match drm changes (0.0.7)
nouveau: match drm 0.0.9 interface
Play "nuke the typedef"
nouveau: Lets only do private buffers.
nouveau: reindent nouveau_buffers.c
nouveau: reindent nouveau_buffers.h
nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fbo
nouveau: Always render offscreen, emulate front buffer rendering.
nouveau: Remove ALLOW_MULTI_SUBCHANNEL hack
nouveau: reindent nouveau_span.c
nouveau: Keep drm channel alloc struct around.
nouveau: Use half the notifier block for query objects.
nouveau: ddx versioning changed
Benno Schulenberg (3):
fix Unichrome/Blender crash, bug 13142
remove commented-out code
code clean-ups, reformatting
Brian (411):
7.0 release notes (template)
added 6.5.3 MD5 sums
added 7.0 relnotes link
updates for 7.0
Version bumps for 7.0
7.0 blurb
fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)
use EMIT_1F or EMIT_4F for fog depending on fragment program (bug 10788)
only load front/back face attrib if using a shader (bug 10788)
Rewrite of slang_inline_asm_function() to do full parameter/argument substitution.
fog, mix() bug fixes
implement acos(), asin(), atan()
regenerated
add *gc, *syn files to tarballs
fix some StepX/StepY mix-ups in alpha interpolation
fix some renderbuffer/wrapper bugs
Document a deficiency in the _swrast_Translate() function with regard to point size.
fix some DDX,DDY mix-ups
Resuscitate some of the DDX,DDY code.
changes to get DDX/DDY working again
document recent GLSL, R300 fixes
New test of the dFdx(), dFdy() functions.
get rid of OSMESA stuff
get rid of normal vector
add some #includes to silence warnings
fix some matrix/state token indexing bugs (see bug 10848)
document R300 bug fix 10848
Assorted miniglx updates.
Makefile clean-ups for miniglx.
add </ol> tag
better comments for _mesa_debug(), _mesa_warning(), etc
a somewhat nicer demo w/ command line options
special case for -pthread (bug 10876)
remove some debug code
Check that texture units/samplers specified with glUniform1i() are legal.
Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable.
add pointers to git repo for drm/libpciaccess, replace & with &
Tweak the shell scripting for descending into and building subdirs.
Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled lines, remove obsolete comments.
document tex sampler bug fix, code changes
Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.
regenerated
document exp(), mod() fixes
re-indent some code
more indentation fixes, remove 'register' keywords
When feeding back texcoords, don't divide by W. See bug 10913.
Remove unused FB_* tokens, re-indent code.
remove some unneeded code in init_machine()
don't ignore return value of _slang_codegen_global_variable()
user-declared uniform structs not supported yet (see bug 10908)
comment about fixing uniform structs
master/trunk is now for Mesa 7.1 devel: bump versions
Skeleton file for 7.1 release notes.
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
make srcPtr param to make_1d_stack_mipmap() const
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
get rid of needless static function declarations at top of file
fix STATE_HALF_VECTOR value (bug 10987)
Implement GLX_EXT_texture_from_pixmap.
added texture_from_pixmap functions
GLX_EXT_texture_from_pixmap test
added GL_EXT_texture_from_pixmap
Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
add missing right-paren
Overhaul/simplify SWvertex and SWspan attribute handling.
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)
return True for GLX_Y_INVERTED_EXT query
set texcoords depending on GLX_Y_INVERTED_EXT
remove some whitespace
improve some comments, clean-up formatting
remove a VMS-ism that doesn't seem needed elsewhere
remove the unused texobj Mutex field
get rid of GenTexturesLock, used ctx->Shared->Mutex
don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)
include swrast_setup/swrast_setup.h to silence warning
added _mesa_init_driver_state() to replace duplicated code in intel drivers
Replace initInitState() with _mesa_init_driver_state().
Fix point attentuation problem (bug 11042)
Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)
incr/decr 1D/2DArray texture refcounts like other targets
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
doxygen-ize some comments
fix logic for calling _swrast_update_deferred_texture()
remove #include "GL/glxtokens.h"
check for flat/smooth interp for generic/specular attrib
use glXGetProcAddress to get extension funcs
remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS
disable shader program before glDrawPixels
fix glReadPixels parameters to handle odd-width windows correctly
disable depthBits test in check_compatible(), see bug 11161
In supported_buffer_bitmask(), use framebuffer's visual, not context's visual
remove dead code
In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug.
Temporarily disable the calls to _mesa_update_texture_compare_function().
typo: s/derrived/derived/
Replace texobj->Complete with texobj->_Complete since it's a derived field.
fix typo, added comment
rename/clean-up _mesa_validate_texture_wrap_mode
Rework _mesa_update_texture_compare_function() to only be called during
fix GLX_USE_TLS breakage, fix a warning
Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).
fix comment
added memcpy() to-do item
fix make clean commands so missing subdirs don't cause infinite loops
fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of a goto
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
copy wpos attrib info into zoomed span (fixes fog perspective correction problem)
fix glDrawPixels + fragment program problem
Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
rename _swrast_update_fragment_attribs()
Another round of fixing attribute interpolation for glDraw/CopyPixels.
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
fix rgba pointer bug hit on zoomed+fogged glDrawPixels
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Random state-change / primitive rendering. Good for hammering on a driver...
Fix feedback color bug #11332. In feedback mode, produce float colors.
fix bug rendering points with fragment program (see #11330)
added comment, remove dead code
XXX comment about point clamping
increase MAX_POINT_SIZE to 60
use larger point/sprite size
remove obsolete t_save_api.c
remove t_save_api.c and some other obsolete files, may be more
Add a few missing GL 2.0 entrypoints, regenerate related files.
bring over 7.0 doc changes
regenerated
overhaul point rasterization, no longer use s_pointtemp.h
Obsolete
Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors were overwritten by interpolating attributes.
s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
simplify INIT_SPAN code
avoid unnecessary clamping of depth values (bug 11448)
add const to wglSetPixelFormat() to match .h declaration
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
fix StepX/StepY typo
add code for stpq, rgba writemasks in make_writemask(), bug 11404
added vec2(vec4) constructor, bug 11404
add fbdev/ to DEMO_FILES
assorted clean-ups
support more modes, added -f cmd line option
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475
Add case for GL_QUADS in i915_reduced_primitive_state().
In _swsetup_Translate(), update dest->attrib[FRAG_ATTRIB_COL0].
check depthScale value for optimized ushort->uint case (fixes bug 11474)
Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.
Check if 'indices' parameter is NULL (bug 11314)
Fix size test bug in _mesa_test_proxy_teximage().
Improve this demo in a few ways.
Minor clean-up of polygon offset logic. Properly compute _MRD field.
clean-up of stencil code
fix swizzle-related bug 11534
fix width/depth mix-up (bug 11577)
remove VC6/VC7 project files until updated
Remove ctx->Point._Size and ctx->Line._Width.
fix GLX_STEREO handling (bug 11705)
fix logic error, typos
call ctx->Driver.NewProgram() instead of _mesa_new_program()
remove unused MAX_3D_TEXTURE_SIZE, reformattting
don't use rgba_line() if CHAN_BITS==32
fix color interpolation for CHAN_BITS==32
clamp float colors
generate error upon writing to varying var in fragment program (bug 11733)
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
fix-up inlined/non-inlined function inconsistencies
Added shader points and shader bitmap demos
added a few more functions
remove old comment, minor formatting fixes
misc comments, clean-ups
New sunos5-v9-cc-gcc config (Roland Egger)
glGetAttribLocation always returned 1 (bug 11774)
added sunos5-v9-cc-g++ config
fix failure caused by undeclared variable (bug 11783)
fix some FreeBSD issues
fix mem leak (bug 11791)
fix mem leak (bug 11793)
added trirast program
triangle rasterization with frag shader
fix error code test limit (bug 11795)
Remove some code that was never hit (bug 11811).
move code to prevent NULL ptr dereference (bug 11810)
s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)
fix double free()s (bug 11808)
fix invalid pointer usage in bezierPatchDeleteList(), bug 11807
remove unnecessary null check (bug 11814)
fix stencil value masking bug 11805, and fix sizeof() bug
OSmesa on BlueGene (Alexander Neundorf)
added bluegene-osmesa
fix missing backslash
added -lm
add OSMESA_LIB_NAME
fix even-sized point positioning (bug 11874)
fix swizzle error test (bug 11881)
fix potential NULL dereference (bug 11880)
remove SHELL line, replace -e test with new logic (Daniel Stone)
fix potential NULL dereference (bug 11879)
parse standard -geometry option
move free() after dereference (bug 11878)
fix byte swap bug for GLint stencil indexes (bug 11909)
added some missing Default1D/2DArray texture code
Implement mutex/locking around texture object reference counting.
free any render/framebuffers left in hash tables when freeing shared state
Fix a few more problems with freeing FBOs/textures during context destruction.
Bring over the texobj refcounting changes from mesa_7_0_branch
remove old Saved1D/2D/etc fields
replace separate 1D/2D/etc fields with an array indexed by texture target
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
replace Proxy1D/2D/etc fields with ProxyTex[] array
remove reference to ctx->Color.DrawBuffer
update comments, etc related to Read/DrawBuffer state
Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did.
remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues
some fixes for compressed cube maps (bug 11986)
don't map buffer in _mesa_validate_DrawElements() unless needed
refactor bounds checking code
remove unneeded CallStack array
For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett)
remove CallDepth++/-- accidentally removed in prev commit
new __gluInvertMatrix() function (Mesa bug 6748)
added --noclear option to demonstrate rendering without glClear
s/movaps/movups/ (see bug 12216)
Fix problem introduced in previous commit in which a state variable (uniform) is written to. (see bug 12239)
Use temporary matrix in __gluInvertMatrixd() to fix aliasing problem (see bugs 12269, 6748)
updated bug report guidelines
clean-up (see bug 12317)
fix comment
Update depth test state when binding new framebuffer object
In _mesa_make_current(), don't unbind FBOs from the old context.
Fix-up #includes to remove some -I options.
updated with pkg-config info
Rename. "fcb" = fortran call back
Add glut_fcb.c to the build and update to fix warnings (see bug 12405)
added null ptr check
added .pc.in files to tarballs
Fix state.texgen parsing error (bug 12313).
added program_error2() function for better error reporting
Fix timer problem when using Fortran bindings (submitted by Bill Mitchell)
updated vrml link
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
fix copypixels overlap test bug (#12417)
added copypix.c test (test glCopyPixels w/ pixel zoom)
Added bluegene-xlc-osmesa config (Alexander Neundorf)
fixes for bluegene-xlc-osmesa config
fix -D_BSD_SOURC
fix DrawRangeElements error msg
tweak point rast to fix conform failure
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
for Miniglx, use git sources
Remove test for EXT_blend_logic_op in glGetString when determining GL version.
update the DRM/DRI instructions
fix VBO-split infinite loop (bug 12164)
updated glext.h license info (Khronos), plus other clean-ups
fix comment: s/branch/kill/
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
replace 'brick' with correct program name in printfs
remove unneeded cast
New glxsnoop demo to display another window's z/stencil/back buffer.
Example of cooperative rendering into one window by two processes
fix fog, rescale_normals bugs (from gallium branch)
Replace repeat_remainder() with a simpler macro that just casts args to unsigned.
don't apply ColorMask to main gc
add directfb glut sources to tarball
bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many instructions
properly init dst reg's CondMask/Swizzle fields
Implement gl_PointCoord attribute for GLSL fragment shaders.
add to git
fix assorted bugs, works now
don't build x86, x86-64 dirs if not needed
simplify/fix the ASM_FLAGS tests (bug 12931)
use grep -q
disable ctx->Driver.NewProgram() call in _mesa_new_program()
Finish up ATI_separate_stencil
test glStencilFuncSeparateATI()
Alias glStencilOpSeparateATI with glStencilOpSeparate.
check for count==0 in _mesa_validate_DrawArrays()
updated list
GLSL support in i965 driver
remove dead code in _mesa_new_program()
fix typo
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL.
fix mmx code (bug 12614)
Check for NULL VB->EdgeFlag array.
check for texture and renderbuffer in check_end_texture_render()
test that point/line/quad rendering hits the right pixels
add glw.pc.in to tarball list, remove from DEPEND_FILES
remove dependency on libGLU
Only emit texcoords for enabled units. Enable/disable units with 0..7 keys.
added z/s keys to reset/step rotation
fix out-of-bounds array index (ix=-1)
fix some texture format assertions, etc
clamp lambda to Min/MaxLod
Print point/line size range limits
Consolidate point size computation, clamping in get_size().
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes.
Consolidate texture fetch code and use partial derivatives when possible.
#define GL_GLEXT_PROTOTYPES to silence warning
better test of point attenuation
improve 24-bit Z to 32-bit Z conversion
add a few more logicop modes, simplify code
set fp->UsesKill when emitting OPCODE_KIL
document GLSL float f/F suffix bug
minor additions to avoid FAQs
Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c
cleanups, comments
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
better front-plane clip test
fix broken two-sided stencil
fix-build: remove ctx->_Facing assignment
added missing quote char
glut doesn't need -lXt
fix DD_TRI_LIGHT_TWOSIDE bug (#13368)
added culling/wireframe options
Fix gl_FrontFacing compilation problem
fix span->facing computation and gl_FrontFacing initialization
Undo changes made to the toyball shaders in commit d19d0596daf004b56d80f78fa1a329b43c2ebf94
Fix endianness bug in _mesa_texstore_argb8888()
Build rain demo (Gonzo <andreas.wendleder@gmail.com>)
fix polygon cull regression
Fix a quadstrip front/back-face inconsistancy.
fix NEED_SECONDARY_COLOR for vert/frag progs
simplify update two-side lighting test (follow-on to previous front/back-face changes)
added twoside demo
Test GL_VERTEX_PROGRAM_TWO_SIDE and frag shader gl_FrontFacing features
added two-side test
added glSecondaryColor3fv_func
return correct size from glGetActiveUniform (bug 13751)
add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811)
added 'get' info for framebuffer object tokens
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
fix glUniform4f typo
fix vbo display list memleak upon context destruction
remove unneeded conditional
additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)
additional stub functions
check if span length > 0 before calling _swrast_write_rgba_span()
fix depth/1 typo in glTexImage3D proxy code
Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.
Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes
fix bug 13978: glDrawBuffersARB() didn't set all necessary state
remove unused var
Don't build yuvrect_client by default
fix pc vs. gc->ps usage (bug 14197)
Fix some issues with glDrawBuffer(GL_NONE), bug 14198
Assorted patches for miniglx/linux-solo (Gavin Li <codeview@gmail.com>)
Bring in previous 7.0.1/2 release notes, added Cell driver page.
Added d/D keys to change viewing distance, 'a' to toggle animation
push out far clip plane to 200
check if fb->Delete is null (bugs 13507,14293)
press 0,1,2,etc keys for specific bias values
tweak incr/decrements amounts for keyboard options
Set Min/MaxLod with glTexParameterf, not glTexParameteri
Fix broken test.
Fix glBindTexture crash (bug 14514)
Added minmag.c test
Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
If parameter is a 'counter', raise GL_INVALID_VALUE if value is negative
Regenerated (raise GL_INVALID_VALUE if counter param is negative)
Added <size name="Get" mode="get"/> lines for point parameter tokens.
Regenerated (see bug 11893)
raise GL_INVALID_OPERATION if glProgramString compilation fails
Fix glBegin-time test for invalid programs/shaders.
Replace glut_fbc.c with glut_fcb.c (cb=callback)
Obsolete, replaced by glut_fcb.c (fortran callbacks)
document cell -DSPU_MAIN_PARAM_LONG_LONG flag
a few words about how the cell driver works.
added git on Windows section
added info about checking out gallium-0.1 for cell code
replace // comment with /* */ (bug 14916)
fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)
fix botched test for clearing color buffers (should fix depth peeling regression)
fix parsing of state.texenv.color (bug 14931)
remove extra #include of assert.h (bug 14932)
mesa: fix emit_clamp() so that we don't use an output register as temporary
init tmpNode to zeros
s/x86_init_func/x86_init_func_size (fixes bug 15119)
x86_init_func_size() returns int to indicate success/fail (bug 15119)
fix IEEE_ONE definition for ICC compiler (bug 15134)
Fix some PBO breakage.
add a number of PBO validate/map/unmap functions
include varray.h to silence warning
Refactor PBO validate/map code.
delete default programs with ctx->Driver.DeleteProgram()
use ctx->Driver.DeleteProgram() in a few more places
fix wrong values for GL_READ/DRAW_FRAMEBUFFER_BINDING_EXT tokens
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
updated to version 40
implement glGet/BindAttribLocationARB() for display lists
Set param_var->param_binding_type = PROGRAM_CONSTANT
when negating scalar src args, use NEGATE_XYZW, not NEGATE_X
consolidate some parsing functions that were pretty much identical for vertex/fragment programs
fix texture/renderbuffer mix-up in test_attachment_completeness()
added some missing calls to _mesa_enable_x_y_extensions()
silence warning
rewrite some of the mat*mat, mat*vec intrinsics
mesa: add missing glPush/PopMatrix() calls
mesa: add missing glPush/PopMatrix() calls
added glGetActiveUniform_func
import 7.0.3 relnotes from 7.0 branch
updated w/ 7.0.3 release
7.0.3 updates
shader utility functions
Replace duplicated code with new shaderutil.c functions
use InitUniforms()
more make clean items
fix multi-draw buffer regression
implement full reference counting for vertex/fragment programs
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
added readtex.h dependency
Brian Paul (53):
comments
add missing glViewport calls
fix failed assertion (parameter can be a PROGRAM_CONSTANT)
check for _WIN32 and __WIN32__
fix GL_ARB_texture_rectangle breakage
only use __x86_64__, not __amd64__ (bug 15503)
mesa: adjust glBitmap coords by a small epsilon
disable GL_TEXTURE_1D at end of frame to fix failed assertion
added xdemos/sharedtex.c test
Add support for GL_REPLACE_EXT texture env mode.
fix conversion of GLfloat display list IDs
Press <space> to reset limit/bias values, clean-up limit/bias printf
updated options/help
fix refcounting bugs in tnl/tex program caches
call glutDestroyWindow()
disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested depth buffer
disable debug printfs
fix some additional program refcounting bugs
mesa: added _mesa_free_instructions()
mesa: added _mesa_insert_instructions()
added _mesa_combine_parameter_lists()
sync up with gallium-0.1 changes
clean-up swizzle fields in fog code, fix NegateBase
mesa: new functions for managing list/index of uniforms
Updated GLSL uniform/sampler handling from gallium-0.1 branch
Fix DRI build
fix assertion typo: s/=/==/
init SamplersUsed bits in _mesa_parse_arb_fragment_program
whitespace/formatting
remove stray, left-over RefCount++
minor changes to aid debugging
Fix a program refcounting error, don't share program parameter lists.
silence warning, new assertion
fix merge collision
fix an attr/src mix-up when setting-up/binding vertex arrays
bring in fixes/changes from gallium-0.1
clean-ups / additions from gallium-0.1 branch
added div by zero check for Fog.End/Start (from gallium-0.1)
fixes to _mesa_combine_programs(), from gallium-0.1
mesa: added internal post color matrix scale/bias vars
add state vars for color matrix, pixel transfer scale&bias
additional fog/color matrix changes from gallium-0.1
Move _mesa_init_glsl_driver_functions() into shader_api.c
Fix program refcounting assertion failure during context tear-down
fix tempReg test in _mesa_combine_programs()
fix incorrect sampler numbering/indexing.
new multi-texture GLSL test
copy StateFlags in _mesa_clone_parameter_list()
allow GLX_SAMPLES_ARB==0 (bug 16073)
prep for 7.1 RC1
updates for 7.1 release
set version string to 7.1 rc1
update, re-org build/install instructions
Bruce Merry (6):
in __glXGetArrayType() return type, not enabled (bug 10938)
Fix several bugs relating to uniforms and attributes in GLSL API
More fixes to shader_api
Add a test program to test for assorted bugs in shader_api.c
Make use of count in _mesa_uniform_matrix
Convert to 0/1 when setting boolean uniforms
Carlos Martín Nieto (2):
nouveau: update to DRM API patchlevel 10
nouveau: Missing notifier -> notifierobj migration
Chris Rankin (2):
r200: Implement SetTexOffset hook.
Remember to call XSync() before resetting X error handler.
Christoff Brill (3):
remove CVS/XFree86 keywords
use R200_DEBUG for debug output
change max anisotropy test
Christoph Bill (2):
r300: Added some Doxygen comments.
r300: Added a few more Doxygen comments.
Christoph Brill (29):
[r300] document type 3 packets to draw primitives based on AMD spec
[r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD spec
[r300] document VAP_CNTL based on AMD spec
[r300] Document Z-buffer related register ZB_BW_CNTL
[r300] Update some magic registers to real names
[r300] clean some more magic registers based on AMD spec
[r300] Replace more magic number by register definitions from AMD
[r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions
[r300] rename all unkown structs r300_hw_state to readable names
[r300] Add more struct names for r300_hw_state
[r300] Sync the names for Z-Buffer registers with the AMD spec
[r300] Add some more register from the AMD spec in the area of AARESOLVE
[r300] Add register definitions based on AMD spec starting with chapter 10
[r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK
[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally add some information to R300_RB3D_DSTCACHE_CTLSTAT
[r300] Sync fog register names to the AMD spec
[r300] Sync fog color register names
[r300] Further document and add register definitions (found bugs in LINE handling)
[r300] Document some registers in the POINT area
[r300] Document POLY_MODE and add some TODOs that might have triggered some bugs
[r300] Add more register from the AMD spec
[r300] Document registers completed 10.1 to 10.3
[r300] revert complete stupid changes
[r300] Document based on chapter 10.4 and 10.5
[r300] fix wow-pinkness regression. Fixed by Markus Amsler
r300: properly handle GL_POINT in glPolygonMode
r300: R5xx and R3xx use different registers for RS_IP and RS_INST
r300: Fix some issues with masks in stencil buffer area
r300: replace some hard coded mask by define in stencil area
Christoph Kubisch (1):
updated VC7 project files
Claudio Ciccani (5):
Fixed initialization of render buffer and deinitialization of context.
Compute the amount of time to sleep on idle event using timers as reference.
[glut-directfb] When converting microseconds to milliseconds, round to the next integer.
[glut-directfb] Fixed displaying of single buffered window.
[directfb] Added RGB444 and RGB555.
Colin McDonald (1):
fixed problem with big glDrawArrays (see bug 12141)
Dan Nicholson (90):
DESTDIR support.
pkg-config support
add support for LDFLAGS env var
Ignore more generated files in progs/
Ignore new programs
configs: Fix linux-static to link correctly
specify app lib dependencies in Makefiles (patch 1/3)
simplify APP_LIB_DEPS (patch 2/3)
update APP_LIB_DEPS for static library configs (patch 3/3)
linux-dri-xcb: Fix undefined refs when linking with libGL
Build xdemos programs by default on linux-dri
Add -fno-strict-aliasing workaround for Linux GCC targets
configs: Always use -fPIC for shared libraries, never for static
confdiff.sh: A testing script for comparing configs settings
configs: Set -fexceptions for GLUT on linux-dri like other targets
Add -fno-strict-aliasing workaround for all GCC targets
Fix the library name in glw.pc
configs: Fix linking with static libGL and --as-needed
Make osdemos linking like other programs
autoconf: Add support files required for autoconf use
autoconf: Initial support for an autoconf configuration
autoconf: Include necessary files for the tarballs
autoconf: Add support for shared DRI build on linux and freebsd
autoconf: Add support for osmesa-only builds
autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32
autoconf: Configurable demos directories
autoconf: Allow static library builds
autoconf: Configurable DRI drivers
autoconf: Output summary information from configure
autoconf: glut doesn't need Xt
autoconf: Since default DRI drivers to build with master
autoconf: Clearer help text for the enable/disable options
autoconf: Replace install-sh with symlink to minstall
autoconf: Replace configs/current symlink from configure
autoconf: More informative errors when pkg-config macros undefined
autoconf: Optional debug build with --enable-debug
autoconf: Report the compiler options in the summary
autoconf: Optional assembly usage with --disable-asm
autoconf: Consistently use xlib for the driver name
autoconf: Update bug address and fix some autoconf warnings
autoconf: Improve help text for demos and DRI drivers
Merge branch 'master' into autoconf2
docs: Fix links in contribute section
Don't try to build nonexistent i915tex driver on linux-x86-64
autoconf: Documentation for using the autoconf'd build
autoconf: Helper options for adding GCC 32/64 bit flags
Merge branch 'master' into autoconf2
Merge branch 'autoconf2'
autoconf: Remind developers to bump version numbers in configure.ac
Allow osmesa to be enabled or disabled
autoconf: Use -fno-strict-aliasing on GCC
glapi: Use variable for indent and flags
glapi: Use make automatic variables to clean up the commands
glapi: Correct prerequisites for gl_and_glX_API.xml
glapi: Generate xserver glapi sources in the mesa tree
Distribute dri_sarea.h with the tarballs
Ignore glxgears_pixmap
autoconf: Set the default drivers after checking platform specifics
autoconf: Fix thinko when checking freebsd CPU types
autoconf: Print GCC include path directly and be more robust using it
Ignore more demo programs
autoconf: Add autogen.sh from Xorg for easier setup from git
autoconf: Enable xdemos by default when we build libGL
Fix include path for rain demo so glut.h is found
Use AC_CHECK_PROGS to find alternate make programs
glcore: Respect DESTDIR
autoconf: Don't substitute MESA_MAJOR and friends
autoconf: Fail from autoconf if the pkg-config macros aren't defined
autoconf: Scrape the version from configs/default
autoconf: Allow non-pkg-config builds to succeed
Ignore xdemos/sharedtex
autoconf: More quoting, just to be safe
autoconf: Error for incompatible version of libdrm
autoconf: Sanitize asm build for cross-compiling and --enable-*-bit
autoconf: Replace the configs/current symlink from config.status
Add .PHONY targets to top Makefile for non-file targets
Error consistently when running recursive make
Always cleanup the makedepend backup files
Prevent makedepend from running multiple times
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
Update make output for autoconf help
Ensure recursive makes always propagate errors
Refactor installation targets
Run `make clean' in drivers/xorg, too
Never fail `make clean'
autoconf: Attempt to figure out the PIC flags for the platform
Default DRI driver directory to match X.Org xserver
autoconf: Allow XCB to be used for GLX
Don't link demos directly to X libraries
Follow along GL/glx -> glx renaming in xserver
Dan Torop (1):
fix spantmp2 READ_RGBA inline asm (#11931)
Dave Airlie (95):
nouveau: disable nouveau build by default
radeon: enable xpress chipsets
miniglx/glut: should use the x/y pos to create window
miniglx: fixup use of create windows x and y coordinates
i915/miniglx: remove unused code
add glxtokens.h to xmesa_xf86.h as discussed on mailing list
r300: fix non-tcl rs4xx again.
miniglx: update defines in linux-solo config
miniglx: implement GetProcAddressARB in miniglx as an alias for GPA
r300: i can't see why we fallback for polygon offset line/fill
move clip to r300 emit
Initial r300 modes for swtcl it compiles!!
add more swtcl code to r300 - hangs card now
add missing swtcl file
fixup packet setup - still hangs
cleaned up reduced prim
swtcl add debug and fix offset
more commits to fix things and stuff - still not doing anything except crashin
swtcl: gears works
fixup some bits of tcl path
bring over vertex engine setup code from r300_Render and fix up
fix quad-clip
fix projtex
fix secondary color, fog is off for now
fix up vertex emission before state change
ensure cmd buffer space
fix unfilled tris/quads
add a mem use for current dma buffer
clean up color0 code
clean up cache flush emission into one place
r300: 2288 is a tcl only reg
r300: fix tabbing
r300: fixup manytex, we needed to emit the vic/vir/vof every time
r300: cleanup some of the swtcl code
r300: remove some unused code
r300: add authorship
fix tabbing
Merge branch 'r300-swtcl'
r300: oops turn back off cmd buf debugging
r300: oops wrong logic for swtcl
r300: fix compiz crash on swtcl - doesn't fix compiz though.
r300: only init swtcl on tcl-less cards
nouveau: add GeForce 7300 SE to card list
drm: update bufmgr code to reflect changes in drm interface
i915/i965 merge serer directories along lines for radeon/r200
i915/drmbuf: attempt to push relocations into buffer manager
i915: add superioctl initial support inside bufmgr ttm
i915: add superioctl support to the ttm codepaths.
i915: increase batchbuffer back to 16k
i915: add copyrights to new files
i915: clean up lists on teardown
i915: drop complex list handling for now
i915: fixup up bufmgr to pass num buffers to kernel
i915: workout max relocs from batch buffer size
i915: fixup reloc header defines
dri: remove ttm common code since superioctl is device specific
i915: only enable TTM path if drm minor is > 11 for superioctl
Merge branch 'master' into i915-superioctl
i915: fixup TTM interfaces to follow drm changes
i915: make i915 use the cached mappings for batch/buffer objects.
nouveau: ppc, swap fragment programs on big endian systems.
r300: fix texwrap border color
r300: fix misnumber register
r300: move more vap registers out of non tcl paths
r300: initial user clipping for TCL paths
r300: fix bug with maniadrive rendering
Revert "r300: fix bug with maniadrive rendering"
i915: move to using copy from user for relocations
r300: add initial rs690 support to Mesa
r300: fix isosurf on rs690
i965: remove unused hal hooks
r300: some initial register info from doc drop
r300: fixup some more names
dri2: dlsym requires some quotes..
dri: fix function call to add new parameter.
r300: add new rs690 pci id
r300: move to using RS_INST names
r300: finish conversion of RS_INST regs
intel/fake_bufmgr: Attempt to restrict references to objects in a batchbuffer > aperture size.
intel: fix _mesa_error ctx I introduced at lsat minute
bufmgr_fake: disable debugging again
i965: initial attempt at fixing the aperture overflow
i915: check for depth region before accounting its buffer size
i965: fix gs_prog aperture check
965: fix vb upload size check
i965: fix vb aperture space check
i965: fixup depth buffer check
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards
r300: fix swtcl texrect path properly.
i965: fix googleearth in classic mode.
mesa/intel: map/unmap texture objects around mipmap generation function.
Added ctx->Driver.GenerateMipmap() driver hook
Revert "mesa/intel: map/unmap texture objects around mipmap generation function."
swrast/dri: switch over users of generate_mipmap to new interface
intel: use new mipmap generation hooks in driver.
David Flynn (1):
define #extension GL_ARB_texture_rectangle
David Moore (1):
Bug #10571: Fix 965 line clipping when neither vertex needs clipping.
Delle (1):
use DEFAULT_SOFTWARE_DEPTH_BITS
Eric Anholt (262):
WIP: Replace TTM buffer pool manager with a simplified interface.
Convert i915tex to the new interface and make it compile.
Rename the i915tex_dri.so driver to just i915_dri.so again.
Restore missing intel_batchbuffer_reset() which was needed.
Ratchet required version down to 1.5 (pre-TTM).
Fix some use-before-initialize in bufmgr_fake.
Kill old struct bufmgr members.
Dead code elimination and fix bufmgr_fake_wait_idle.
Zero out bufmgr_fake on alloc.
Fix double-counting of low_offset in block->virtual.
Allow unreference with a NULL argument.
Fix another mis-calling of _fence_wait_internal.
Fix a refcounting mistake with first_swap_fence.
Merge branch 'master' into i915-unification
Notify the fake buffer manager on contended lock take.
Remove unused intel_batchpool.c.
Enable INTEL_DEBUG environment variable.
Don't read beyond the end of the buffer with INTEL_DEBUG=bat.
Merge branch 'master' into i915-unification
Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.
Remove some stale comments.
Add buffer manager destroy function.
Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
Replace intel_dump_batchbuffer with a more informational version.
Test for TTM presence initially rather than test for lack of classic aperture.
Fix TTM static allocation flags.
Add missing i915_disasm.h header and adjust copyright formatting on the .c
Improve fake bufmgr debugging, and don't try to migrate static buffers.
Add decoding of inline primitives in debug output.
Reset saved state for disasm when we've lost the context.
Merge branch 'origin' into i915-unification
Use -pthread instead of -lpthread on FreeBSD.
fix LogicOp/bitmap problem, bug 11133
Merge branch 'i915-unification' of git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
Fix copy'n'pasteo that broke display lists.
bufmgr_fake: Keep the bufmgr lock held while freeing a block.
bufmgr_ttm: hook up destroy function, track buffer names.
Add notes about bufmgr initialization failures.
Add missing -g in FreeBSD OPT_CFLAGS
Don't initialize extensions we can't support when !ttm.
bufmgr_fake: eliminate the referenced list, which is now just on_hardware.
Don't try to use kernel BO flags in dri_bufmgr_fake internals.
Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.
Don't forget to update buffer offset after validation.
Fix bad printf on TTM fence_wait failure.
Move i915_disasm to later so we can use the hardware offset.
Convert TTM code to require the server provide buffers for front/back/depth.
Add some error reporting and a couple of assertions to TTM bufmgr.
i915: Quiet valgrind by initializing the seq value the kernel writes into.
Enable building the debug (env INTEL_DEBUG=list) code by default.
Replace i915tex batchbuffer printout with a pretty-printed version.
Add missing -g in FreeBSD OPT_CFLAGS
Update .gitignore for demos.
Merge branch 'master' into i915-unification
Fix flipped sign to strerror.
Add disabled-by-default tracing of TTM bufmgr operations.
Uniquely validate the batchbuffer-referenced buffers.
Fix buffer/fence reference counting due to Destroy vs Unreference difference.
Merge branch 'i915-unification'
Remove the old i915 driver now that i915tex works without TTM.
Move i915tex driver into place as just i915.
Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h.
Update .gitignore for tests and xdemos.
Fix progs/tests/ build with BSD make.
Remove leftover code for i915_texprog.c noticed in crossbar review.
[965] Remove AUB file support.
WIP 965 conversion to dri_bufmgr.
Revert "WIP 965 conversion to dri_bufmgr."
FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix).
[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.
FreeBSD: more /usr/X11R6->/usr/local
Replace some structure-based batch preparation with plain OUT_BATCH.
Replace duplicated intel_reg.h with a shared header.
Replace bmBufferOffset usage in batchbuffer setup with OUT_RELOC.
[965] Replace various alignment code with a shared ALIGN() macro.
Replace symlink generation from i915 with files in intel/ and symlinks there.
Merge branch 'origin'
[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.
[intel] Move over files that will be shared with 965-fbo work.
[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.
[intel] By default, output batchbuffer decode to stderr like other debug info.
[i915] Remove old frontbuffer rotation hack.
[i915] Push locking in intelClearWithTris down inside meta_draw_poly.
[intel] Add support for multiple levels of relocation in bufmgr_fake.
[intel] Assert against 0-sized buffers in dri_bufmgr_fake.c.
[intel] Add a simple relocation cache to the fake buffer manager.
[intel] Add some doxygen notes on what the bufmgr_fake block members mean.
[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.
[i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.
[intel] Fix typos in intel_chipset.h macros.
[965] Add batchbuffer decode for several more packets.
[intel] Move intel_tex.h into place, forgotten in the previous commit.
[intel] Move additional code to be shared from intel_context.h to intel/.
[i915] Pass static region names in so debugging says more than "static region".
[intel] Add 965 support to shared intel_blit.c
[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.
[965] Add INTEL_DEBUG=fall debugging output.
[965] Remove dead exec vfmt code which was replaced by generic vbo code.
[965] Replace 965 texture format code with common code.
[i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.
[intel] intel_bufmgr_ttm style sanity
[intel] Fix the type and naming of the flags/mask args to TTM functions.
[intel] Simplify TTM relocation code by passing around bufmgr struct.
[intel] Add failure path printfs to relocation code and some comments.
[intel] Move batch bo_unmap from TTM code to shared, and add more asserts.
[965] Change constant buffer from state structs to plain batch emission.
[965] Add missing flagging of new stage programs for updating stage state.
Revert "[965] Add missing flagging of new stage programs for updating stage state."
[965] Move brw_surface_state stack allocation into the function using it.
[965] Remove dead code in upload_wm_surfaces.
[965] Convert the driver to dri_bufmgr interface and enable TTM.
[965] Hook up DEBUG_BUFMGR output for bufmgr_fake.
[intel] Move bufmgr back to context instead of screen, fixing glthreads.
[965] Bug #13600: Fix assertion failure with SRGB textures.
[intel] Assert against conflicting relocation emits in bufmgr_fake.c
[intel] assert that buffers are not mapped at last unreference.
[intel] Enable INTEL_DEBUG=bufmgr output in TTM mode as well as classic.
[intel] Remove broken mutex protection from dri_bufmgrs.
[965] Replace the state cache suballocator with direct dri_bufmgr use.
[intel] Remove the relocation buffer lists and just cache one per buffer.
[intel] warnings cleanup
[intel] Remove useless intel_region_idle.
[intel] Initialize debug flag for dri_bufmgrs
[intel] Remove excessive validation debugging.
[intel] Fix uninitialized data in screen-region buffer objects.
[965] Use shared intel_regions.c.
[intel] Merge intel_buffer_objects to shared.
[intel] Whitespace and comment changes to bring intel_mipmap_tree.c closer.
[965] Move to using shared texture management code.
[965] Enable ARB_pixel_buffer_object, and disable broken imaging extension.
[965] Fully initialize the texture surface key data (padding around GLboolean)
[i915] Fix missing symbol from 965 changes.
[965] Output the buffer type in INTEL_DEBUG=bat surface state decode.
[intel] Cleanup of */intel_blit.c to bring the two closer.
[965] Fix software fallbacks with region-backed textures.
[965] Replace our own depth constants in intel context with GL context ones.
[965] fix bad conflict resolution in debug code.
[965] Simplify scissor handling by using DrawBuffer values.
[965] Allow draw or depth regions to be NULL.
[965] Add decode of 3DSTATE_DRAWING_RECTANGLE.
[intel] Fix copy'n'pasteo in decoding of the blit clear packet.
[intel] Improve INTEL_DEBUG=blit description of clearing.
[i915] Remove redundant set_draw_region code (like the comment says).
[915] Fix clear color when clearing with triangles.
[915] Make polygon stipple use pre-unpacked pixel data.
[915] Free dri_bufmgr after mesa context data.
Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths.
[915] Set cliprects in the drawbuffer software fallback case as well.
[i915] Move meta_draw_quad into the vtbl with other meta operations.
[intel] Allow driver hooks to be NULL in intel_buffers.c and just update flags.
[intel] Fix and reenable (software) SGIS_generate_mipmap
[965] Actually enable SGIS_generate_mipmap.
[965] Enable EXT_framebuffer_object.
[intel] Move some pixel path support from drivers to shared.
[965] Fix and enable separate stencil.
[965] Improve performance by including reloc target buffer pointers in keys.
[intel] Use the memory type mask containing the caching flags.
Revert "[intel] Use the memory type mask containing the caching flags."
[965] Convert sampler state to use a cache key instead of brw_cache_data.
[965] Convert surface state to use a cache key instead of brw_cache_data.
[965] Convert CC unit to use a cache key instead of brw_cache_data.
[965] Convert clip unit to use a cache key instead of brw_cache_data.
[965] Convert GS unit to use a cache key instead of brw_cache_data.
[965] Convert SF unit to use a cache key instead of brw_cache_data.
[965] Convert VS unit to use a cache key instead of brw_cache_data.
[965] Convert WM unit to use a cache key instead of brw_cache_data.
[965] Fix some missing initialization in WM keys.
[intel] Convert relocations to not be cleared out on buffer submit.
[intel] Add a single-entry relocation buffer cache.
[intel] Add TTM bufmgr debug for type or offset migration of buffers.
[965] Clarify a bit of index buffer upload code.
[intel] Remove the dead intel->need_flush member.
Reply to: