summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-18Formatting in glamo_tris.cThomas White
2010-02-18CmdQ fixesThomas White
2010-02-18FormattingThomas White
2010-02-18Add command queue stuffThomas White
2010-02-18Indentation in glamo_state.cThomas White
2010-02-18Implement glamoResizeBuffersThomas White
2010-02-18Tidy upThomas White
2010-02-18IndentationThomas White
It's official. Indenting with spaces make me sick.
2010-02-18Fix renderbuffersThomas White
2010-02-18More framebuffer stuffThomas White
2010-02-18Link against libdrm_glamoThomas White
..and remove a commented out old thing from the Makefile
2010-02-18Framebuffer, renderbuffer, state and initial triangle stuffThomas White
2010-02-18Fix after rebase against Mesa 7.4Thomas White
2010-02-18Comment out config call which was segfaultingThomas White
2010-02-18Add state hooksThomas White
2010-02-18Context stuffThomas White
2010-02-18Move the modeline to the bottom of the fileThomas White
2010-02-18One more missing includeThomas White
2010-02-18Includes and formattingThomas White
2010-02-18Skeleton Glamo DRI driverThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-18Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez
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.
2010-02-18intel: Include main/hash.h using "" instead of <>Kristian Høgsberg
2010-02-18progs/trivial: Update .gitignore.Vinson Lee
2010-02-18progs/redbook: Fix array out-of-bounds access.Vinson Lee
2010-02-18st/mesa: always call FLUSH_CURRENT before st->pipe->flush()Keith Whitwell
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.
2010-02-17progs/rbug: Silence printf format warning.Vinson Lee
2010-02-17progs/rbug: Add missing headers.Vinson Lee
2010-02-17util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee
2010-02-17progs/rbug: Use util_format_name().Vinson Lee
2010-02-17progs/rbug: Add missing header.Vinson Lee
2010-02-17progs/rbug: s/read/rbug_read/Vinson Lee
read conflicts with read in /usr/include/unistd.h.
2010-02-17svga: Silence uninitialized variable warnings.Vinson Lee
2010-02-18r300g: add support for all missing non-FP sampler formatsMarek Olšák
The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported.
2010-02-18winsys/drm: Do not use --whole-archive in Makefile.egl.Chia-I Wu
--whole-archive is not portable. Have the drivers reference _eglMain as a poor man's --whole-archive.
2010-02-17intel: Implement the DRI2 invalidate function properlyKristian Høgsberg
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.
2010-02-17dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez
2010-02-17st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez
2010-02-17st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME).Francisco Jerez
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.
2010-02-17Merge commit '381d5e209815235911c4aab516037c868c8f695f'Ian Romanick
This merges the patches from the series "[PATCH 00/14] More client-side GLX house cleaning" that were posted to the mesa3d-dev mailing list. See http://marc.info/?l=mesa3d-dev&m=126582985214612&w=2 Patches 01 through 04 eliminate a bunch of annoying warnings that I get when building Mesa. Patch 05 fixes an inconsistency between the implementation of glXSwapIntervalMESA and the spec. I chose to favor the code over the spec in this case. This also eliminated a warning. Patches 06 through 12 clean up the way that context creation is performed on the client. When support for GLX_SGIX_fbconfig and the related GLX 1.3 functions was added, I refactored a bunch nuts-and-bolts of context creation to CreateContext. The refactor was a good idea, I just didn't do it right. Patches 13 and 14 update glxgears_fbconfig to use GLX 1.3 interfaces.
2010-02-17progs/demos: update GL version test to accept GL 3.xBrian Paul
2010-02-17glsl/apps: print usage info if insufficient argsBrian Paul
2010-02-17st/mesa: replace conditional with assertionBrian Paul
Core Mesa will not call ctx->Driver.CheckQuery() if the Ready flag is already set.
2010-02-17progs/openvg: Add .gitignore.Chia-I Wu
Add all OpenVG demos to .gitignore.
2010-02-17progs/es1: Update .gitignore.Chia-I Wu
Add xegl/bindtex to .gitignore.
2010-02-17llvmpipe: use ffs technique for full tiles alsoKeith Whitwell
Need to compute two masks here for full and partial 16x16 blocks. Gives a further good improvement for isosurf particularly: isosurf 97 -> 108 gears 597 -> 611
2010-02-17docs: Update TODOs of egl.html.Chia-I Wu
Thread-safety is no longer a TODO item. There are surely bugs to be fixed though.
2010-02-17egl: Revisit global data locking.Chia-I Wu
Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle. Add comments to why certain pathes do not need locking.
2010-02-17egl: Always lock a display before using it.Chia-I Wu
This gives a simple access control to the display. It is potentially slow, but a finer grained mutex can always be used in the future. The benefit of this simple approach is that drivers need not to worry about thread-safety.
2010-02-17egl: Make eglGetDisplay atomic.Chia-I Wu
Merge _eglNewDisplay and _eglLinkDisplay into _eglFindDisplay. Remove unused _eglUnlinkDisplay.
2010-02-17egl: Add a mutex to _EGLDisplay.Chia-I Wu
A display may be shared by multiple threads. Add a mutex for access control.