summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-31egl: Initialize display configs with the display.Chia-I Wu
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
2010-01-31egl: Refactor _eglInitImage.Chia-I Wu
Refactor attribute list parsing code to _eglParseImageAttribList.
2010-01-31egl: Refactor _eglInitContext.Chia-I Wu
Refactor attribute list parsing code to _eglParseContextAttribList. Add a check to make sure the config supports the client API.
2010-01-31egl: Refactor _eglInitSurface.Chia-I Wu
Refactor attribute list parsing code to _eglParseSurfaceAttribList.
2010-01-30i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee
2010-01-30glut: Remove unnecessary headers.Vinson Lee
2010-01-30radeon: Remove unnecessary headers.Vinson Lee
2010-01-30r600: Remove unnecessary headers.Vinson Lee
2010-01-30r300: Remove unnecessary headers.Vinson Lee
2010-01-30r200: Remove unnecessary headers.Vinson Lee
2010-01-30r128: Remove unnecessary headers.Vinson Lee
2010-01-31egl: Remove code blocks that are commented out.Chia-I Wu
They are either unit tests or to demonstrate how functions are supposed to be used. The unit test is outdated and it should be better to take a look at any of the working drivers to see how a function is used.
2010-01-31progs/egl: Update eglinfo to display more attributes.Chia-I Wu
Add config caveat, bind-to-texture, and renderable type. Remove double buffer and stereo attributes.
2010-01-31st/egl: Do not ignore configs without a renderable type.Chia-I Wu
Configs without a renderable type are still informative for programs such as eglinfo.
2010-01-31st/egl: Remove egl_g3d_get_current_context.Chia-I Wu
There is now _eglGetAPIContext that can return the current context of the given API.
2010-01-30intel: Remove unnecessary headers.Vinson Lee
2010-01-30i965: Remove unnecessary headers.Vinson Lee
2010-01-30i915: Remove unnecessary headers.Vinson Lee
2010-01-30intel: Respect texture tiling when doing a PBO blit teximage upload.Eric Anholt
Bug #26008. Fixes piglit pbo-teximage-tiling-2.
2010-01-30Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson
This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
2010-01-30intel: Fix inverting of inversion test for windows in glClear cleanup.Eric Anholt
Bug #26290.
2010-01-30r300g: Independent blend enables only work on r500.Corbin Simpson
2010-01-30r300g: Don't handle SHADOW_AMBIENT.Corbin Simpson
Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3
2010-01-30r300g: Fix comment on SHADOW_AMBIENT.Corbin Simpson
2010-01-30gallium-docs: Fix missing PIPE_CAPs.Corbin Simpson
Hmm, need to cross-ref those TGSI things. My work is never done... :3
2010-01-30r300g: Dual-source blending isn't possible, period.Corbin Simpson
2010-01-30r300g: Add alpha render targets.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
2010-01-30progs/es1: Add bindtex.Chia-I Wu
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the OpenGL version is removed.
2010-01-30st/egl: eglBindTexImage should bind to an OpenGL ES texture.Chia-I Wu
The spec says that it only works with OpenGL ES.
2010-01-30egl: Remove my_strdup.Chia-I Wu
There is already _eglstrdup for the main library's use.
2010-01-30egl: Remove unused VisibleRefCount.Chia-I Wu
2010-01-30egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
2010-01-30egl: Clean up header inclusions.Chia-I Wu
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
2010-01-30gallium: fix blend state csoRoland Scheidegger
if independent blend state was disabled, only the data from first rt was stored, however the comparison used the full state, hence there never was a match and always a new object was created. Fixes a huge performance drop with llvmpipe due to recompilation.
2010-01-29progs/demos: new image dissolve demoBrian Paul
Dissolve between two images using a random pattern in the stencil buffer and a varying stencil ref value.
2010-01-29gallium: document pipe_context::get_query_result()Brian Paul
2010-01-29Merge commit 'lb2/arb_fragment_coord_conventions'Keith Whitwell
2010-01-29docs: Mark what I've been up to.Corbin Simpson
Brian, feel free to split/revert if you disagree.
2010-01-29progs/tests: added a few more files to .gitignoreBrian Paul
2010-01-29tnl: check that state is validated before drawingBrian Paul
(cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
2010-01-29st/mesa: check that state is validated before drawingBrian Paul
(cherry picked from commit 4d1234e22242529c8d85f5ef0cf826af41a91570) Conflicts: src/mesa/state_tracker/st_draw.c
2010-01-29vbo: fix missing state validation bugsBrian Paul
Commit 2708ddfb06a36d8568e2aa130bf1f7d551fcd309 caused a few regressions. We need to check/validate state after calling bind_arrays() because it might set the _NEW_ARRAYS flag if the varying VP inputs change. The symptom of this problem was some attribute arrays being ignored (or interpreted as constant-valued) in glDrawRangeElements or glMultiDrawElements. A follow-on patch will add some additional asserts to try to catch this kind of thing in the future. (cherry picked from commit 3cba779e16935f7c3a0bfd8af48bd5e015068e96)
2010-01-29mesa: do state validation in _mesa_valid_to_render()Brian Paul
...rather than checking/validating before all the calls to _mesa_valid_to_render() and valid_to_render(). The next patch will actually fix some bugs... (cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
2010-01-29docs: Fixed Windows build for 7.7.1Brian Paul
(cherry picked from commit a0518e66b2960d3bab386985e24ccbc9c51abf97)
2010-01-29windows: assorted build fixesBrian Paul
These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
2010-01-29glx: fix possible memory leaks in dri2CreateScreen()Rodolfo Ribeiro Gomes
Original patch fixed up by Brian Paul.
2010-01-29mesa: Warn when indices are out of bounds, but do not skip the draw in debug ↵Brian Paul
builds. The driver (or preferably the hardware) should handle out of bounds indices. If there are problems then it's better to detect those in the debug builds. (cherry picked from commit e3257912e006120f6ab611e77005eed1a464030a)
2010-01-29softpipe: support all TGSI fragment coord conventions (v4)Luca Barbieri
Changes in v4: - Rebase and modify for changes in previous patches Changes in v3: - Use positive caps instead of negative caps Changes in v2: - Now takes the fragment convention directly from the fragment shader Adds internal support for all fragment coord conventions to softpipe. This patch is not required for use with the current state trackers, but it allows softpipe to run any TGSI program and enhances performance.
2010-01-29st/mesa: Gallium support for ARB_fragment_coord_conventions (v4)Luca Barbieri
Changes in v4; - Implemented Brian Paul's style suggestions Changes in v3: - Use positive caps instead of negative ones Changes in v2: - Updated formatting The state tracker will use the TGSI convention properties if the hardware exposes the appropriate capability, and otherwise adjust WPOS itself. This will also fix some drivers that were previously broken due to their incorrect, inadvertent, use of conventions other than upper_left+half_integer.