summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-02-18Fix glamoClear() using burst commandsThomas White
2010-02-18Remove unused 'regname'Thomas White
2010-02-18Use burst commands instead of single commandsThomas White
2010-02-18Add missing FLUSH()es in t_dd_dmatmp.hThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-18Ready for vertex submission to hardwareThomas White
2010-02-18Revert "Nasty workaround for apparent GCC bug"Thomas White
An improved workaround has now been committed. This reverts commit 692fd8a500e0f9eadc703b29b0c7550f57863e29.
2010-02-18Nasty workaround for apparent GCC bugThomas White
This is a horrible workaround for what I think must be a GCC bug. Remove that usleep(1), or go back to the original CLAMP() macro, and glxdemo will have a white background instead of a grey one. That is to say, the value 0.5 is getting clamped to 1.0 because of some underlying floating-point weirdness. This happens when cross-compiling for armv4t-angstrom-linux-gnueabi with GCC version 4.1.1 or 4.3.2.
2010-02-18Use correct colour for glClear()Thomas White
2010-02-18Remove debugThomas White
2010-02-18glClear() placeholder codeThomas White
It draws something!
2010-02-18Add MSAA stuff to calls to driCreateConfigsThomas White
2010-02-18Loads of triangle and context stuffThomas White
2010-02-18Glamo->glamoThomas White
2010-02-18Remove old glamo-regs.h (Should be glamo_regs.h)Thomas White
2010-02-18Add register header and implement glClear() (sort of)Thomas White
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-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-17util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee
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-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-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