summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progs/demos: print more info in fbotexture.cBrian Paul2009-08-141-4/+24
|
* gallium: Always map for READ flag when DISCARD is not set.José Fonseca2009-08-141-0/+7
| | | | | | | | | | This prevents the driver from discarding a buffer when the whole buffer is mapped for writing, but only a portion is effectively written. This is a temporary fix, because WRITE shouldn't imply DISCARD. The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout the code, and will go only into master.
* trace: Remove space next to the class attribute of the trace.José Fonseca2009-08-141-1/+1
|
* python/retrace: Open bz2 files correctly.José Fonseca2009-08-141-1/+1
|
* docs: docs: document new --with-max-width/height config optionsBrian Paul2009-08-141-0/+2
|
* Add a FAQ about internal buffer sizes.Brian Paul2009-08-141-0/+13
| | | | (cherry picked from master, commit 9a8781bd24730374e14568f67f7db8a9cc444bb4)
* Add configure options for MAX_WIDTH/HEIGHT.Brian Paul2009-08-141-0/+15
| | | | | | | | | | | This adds two --with configure options for setting defines for MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define these in CFLAGS manually, but this way users don't need to know about internal Mesa details. Patch updated by BrianP to set DEFINES, not CFLAGS. (cherry picked from master, commit 7085dce750f478312a47f474330d63cc900a8448)
* Allow external settings of MAX_WIDTH/HEIGHT.Brian Paul2009-08-141-2/+7
| | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f)
* mesa: move assertions in test_attachment_completeness()Brian Paul2009-08-141-5/+7
| | | | Put the assertions after the error checks.
* mesa: fix some invalid memory readsBrian Paul2009-08-131-18/+57
| | | | | We were passing the address of a float to functions that would deref the pointer as an array.
* progs/tests: hack a PBO/dlist testBrian Paul2009-08-131-0/+18
|
* mesa: fix warnings about locals hiding function paramsBrian Paul2009-08-132-6/+6
|
* mesa: add missing PBO mapping code in unpack_image()Brian Paul2009-08-131-7/+21
|
* main: fix some potential memory leaksBrian Paul2009-08-131-112/+85
| | | | | Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
* mesa: fix some potential uninitialized memory referencesBrian Paul2009-08-132-2/+2
|
* glsl: fix some uninitialized pointersBrian Paul2009-08-131-2/+2
|
* draw: cope with more primitives in draw_pipeline_runKeith Whitwell2009-08-131-22/+55
| | | | | | | | This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
* dri: Fix problems with unitialized values in dri screen object.Pauli Nieminen2009-08-071-1/+1
| | | | | | 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 <[email protected]>
* util: fix incorrect assertionBrian Paul2009-08-061-1/+1
| | | | Check that the dest surface/format is renderable.
* util: include u_surface.h, added commentBrian Paul2009-08-061-0/+2
|
* util: use util_same_surface() to compare surface pointersBrian Paul2009-08-061-3/+3
|
* util: added util_same_surface() helper functionBrian Paul2009-08-061-0/+17
|
* Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane2009-08-061-0/+1
|
* docs:fix glBlitFramebuffer() for GalliumBrian Paul2009-08-051-0/+1
|
* st/mesa: implement BlitFramebuffer() for depth/stencil (incomplete)Brian Paul2009-08-051-29/+80
| | | | | | 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.
* mesa: generate GL_INVALID_OPERATION for missing z/stencil when blittingBrian Paul2009-08-051-2/+6
| | | | | | 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.
* st/mesa: fix Y inversion and optimize st_BlitFramebuffer()Brian Paul2009-08-051-3/+25
| | | | | | | | | 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.
* util: added comment/question about blit clippingBrian Paul2009-08-051-0/+1
|
* mesa: make _mesa_clip_blit() a shared functionBrian Paul2009-08-053-180/+187
|
* util: added util_blit_pixels() overlap testBrian Paul2009-08-051-2/+34
| | | | A comment alluded to this. Now it's checked.
* util: fix util_blit_pixels() test for surface_copy() pathBrian Paul2009-08-051-16/+24
| | | | | | For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit
* util: reformatting and commentsBrian Paul2009-08-051-3/+10
|
* docs: 7.5.1 bug fixesBrian Paul2009-08-041-0/+4
|
* intel: Fix inverted test for disabling flushing of front buffer output.Brian Paul2009-08-041-1/+1
| | | | | | | | | | 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)
* intel: Wait on the last swapbuffers to complete before queuing a new one.Brian Paul2009-08-043-0/+28
| | | | | | | | | | | | | 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)
* texenv: Use VP->Current, since _Current isn't updated at this point.Brian Paul2009-08-041-1/+1
| | | | (cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
* texenv: Match state.c in deciding whether we'll be using a vertex shader.Brian Paul2009-08-041-0/+1
| | | | (cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a)
* texenv: Add missing dependency on VP changes.Brian Paul2009-08-041-1/+2
| | | | | | | | | | 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
* mklib: Ensure target directory exists for libraryDan Nicholson2009-08-041-0/+1
| | | | | | | | | Instead of relying on the Makefile to always generate $(TOP)/$(LIB_DIR), just have mklib handle creating the directory. This should fix any races when using parallel make. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit 23671e5358ffc0abfec83aeea9a515b09a6b35f3)
* Add missing X11_INCLUDES to egl/drivers/demo and egl/main.Peter Hutterer2009-08-042-2/+2
| | | | | | | | | | Compiling mesa on a system with no X headers installed in the default include paths fails due to missing X11 includes. The header includes are picked up by configure but not applied. Signed-off-by: Peter Hutterer <[email protected]> Signed-off-by: Dave Airlie <[email protected]> (cherry picked from commit 5358e54d1ae64ccfa81199b343a2931b415fcc0a)
* xdemo/glxswapcontrol: Move get_framge_usage after the swap.Pauli Nieminen2009-08-031-2/+3
| | | | | | | | This fixes the problem that first frame would report bogus usage values. Problem was caused because get_frame_usage returned data from previous buffer swap. Signed-off-by: Pauli Nieminen <[email protected]>
* xdemos/glxcontexts: Don't leak visual info when choosing visual again.Pauli Nieminen2009-08-031-0/+3
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* st/mesa: we don't support GL_NV_point_sprite (see comment)Brian Paul2009-08-031-1/+3
|
* mesa: move misplaced return statementBrian Paul2009-07-301-1/+1
| | | | Fixes regression from commit 7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878
* mesa: add missing return after catching program errorBrian Paul2009-07-301-0/+1
|
* mesa/st: short-circuit glFinish calls on WIN32 onlyKeith Whitwell2009-07-291-0/+12
| | | | | | | | | | 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.
* mesa/st: recognize no-op scissor state when checking clear_with_quadsKeith Whitwell2009-07-291-4/+20
| | | | | 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.
* util: _debug_printf should print even when DEBUG is not definedKeith Whitwell2009-07-291-2/+0
| | | | | | | | | | | The leading underscore is meaningful... This function is used by _warning and _error functions as well as the more common debug_printf(). debug_printf (without underscore) gets turned off when DEBUG is disabled, but warning/error messages still use this function to get their message out. (cherry picked from commit 0ac879dca797360570543d5bd0fd64f8fb8e566e)
* glx: assign per screen driver configs (DRISW)RALOVICH, Kristóf2009-07-281-1/+1
|
* glx: assign per screen driver configs (DRI)RALOVICH, Kristóf2009-07-281-0/+2
|