summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-26egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu
They have little use in drivers since drivers need to work for multiple current contexts.
2010-01-26egl: Fix leaks in eglReleaseThread.Chia-I Wu
There may be multiple bound contexts that should be unbound.
2010-01-26egl: Refactor _eglMakeCurrent.Chia-I Wu
Refactor _eglMakeCurrent into _eglCheckMakeCurrent, _eglBindContextToSurface, and _eglBindContextToThread.
2010-01-26egl: Add _eglGetAPIContext.Chia-I Wu
It will return the currently bound context of the given API.
2010-01-26egl: Use a boolean to indicate whether a resource is linked.Chia-I Wu
An unlinked resource may still be a current resource such as current surfaces. There might still be a need to know which display the unlinked resource belongs to.
2010-01-26egl: Mark _eglCheckResource as PUBLIC.Chia-I Wu
To support extensions such as GL_OES_EGL_image, the drivers need a way to check if a given EGLImageKHR is valid.
2010-01-26glsl/pp: Silence GCC "no previous prototype" warning.Vinson Lee
2010-01-25intel: Don't do client-side frame throttling with DRI2 SwapBuffers.Eric Anholt
The server side does the throttling on our behalf now by putting the client to sleep, so we don't need our previous hacks for limiting the number of outstanding frames. Same effect as 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3.
2010-01-25Revert "intel: Use the new DRI2 flush invalidate entrypoint to signal frame ↵Eric Anholt
done." This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke throttling in the non-new-DRI2 case.
2010-01-25i965: Remove unnecessary malloc/free in VS binding table setup.Eric Anholt
2010-01-25i965: Fix build after merge of mesa stable branch.Eric Anholt
2010-01-26glx: Build GLX normally.Chia-I Wu
GLX was built specially and before Mesa core because libglapi.a could not be built with IN_DRI_DRIVER defined. This is no longer the case since 6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74. It works fine in my (limited) testing with both direct and indirect rendering. I also compare the outputs after preprocessing (gcc -E) with or without this commit, and they are identical.
2010-01-26egl/xdri: Update with glxclient.h change.Chia-I Wu
__glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
2010-01-25mesa: misc GLX_INTEL_swap_event fixesRobert Bragg
Fixup a few issues found through testing: - update GLX names to match glproto - register DRI2WireToEvent so it actually gets called Signed-off-by: Robert Bragg <robert@linux.intel.com>
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-25r300: rv350+ support FLT16_2/4 vertex formatsAlex Deucher
2010-01-25r300g: Finish and enable immediate mode.Corbin Simpson
Based on Marek's immd-mode patch.
2010-01-25radeong: Make sure that we're not emitting relocations for local buffers.Corbin Simpson
Split from Marek's immd-mode patch.
2010-01-25radeong: Make is_r3xx inline to avoid warnings.Corbin Simpson
Split from Marek's immd-mode patch.
2010-01-25radeong: Clean up domain usages.Corbin Simpson
Split from Marek's immd-mode patch.
2010-01-25Revert "r300g,radeong: finish and enable the immediate mode"Corbin Simpson
This reverts commit 112239e9a66a155d36fe2ad0ab130e6f26eff298.
2010-01-25st/xorg: Fix crash on resize with libkmsJakob Bornecrantz
2010-01-25vega: fix incorrect samplers, textures indexes in blend_bind_samplers()Igor Oliveira
Fixes fd.o bug 25863. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-25Fix compressed texture loads for non-minimal pitches againLuca Barbieri
My commit eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 does a memcpy of height lines, but that's wrong because the texture has a block layout and we must thus use the number of vertical blocks instead of the height. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-25winsys/drm: Correctly install EGL drivers.Chia-I Wu
Remove extraneous quotes that prevent some drivers to be installed when there are more than one display in EGL_DISPLAYS.
2010-01-25pipebuffer: Reapply the mesa_7_7_branch's changes.José Fonseca
After the last mesa_7_7_branch merge the old master code remained, instead of the newer mesa_7_7_branch's code. This commit makes both branches match, modulo interface changes. Note: future mesa_7_7_branch -> master merges will most likely hit conflicts in these files. Unless otherwise stated, the mesa_7_7_branch is the reference.
2010-01-25llvmpipe: Remove lp_tex_sample_c.c again.José Fonseca
Popped back to life in some merge. Not necessary even as a reference, since it is identical to softpipe's sp_tex_sample.c with renamed symbols.
2010-01-25vmware/xorg: Do buffer round-robin logic differentlyJakob Bornecrantz
2010-01-25st/xorg: Improve options and print them to logJakob Bornecrantz
Set 2D acceleration to off by default Get fallback debugging from the Xorg config Also print if 3D acceleration is enabled
2010-01-25vmware/xorg: Export pci_probe function for ugly chain-loadingJakob Bornecrantz
2010-01-25st/xorg: Export helper function for detecting modesettingJakob Bornecrantz
2010-01-25st/xorg: Fix warningJakob Bornecrantz
2010-01-25gallium-docs: Add note on scissor.Corbin Simpson
2010-01-24r300g,radeong: finish and enable the immediate modeMarek Olšák
Nearly 100% performance increase in glxgears.
2010-01-24r300g: fix zero-area scissorMarek Olšák
2010-01-24r300g,radeong: set tiling flags in libdrmMarek Olšák
2010-01-24radeong: do not emit a zero-sized command streamMarek Olšák
Fixing a hardlock introduced in fcbd285e421903ee0a65f19f5d633b25b5923c24 and reproducible with piglit/bugs/fdo23489.
2010-01-25egl: Native types are renamed in EGL 1.3.Chia-I Wu
Rename Native*Type to EGLNative*Type.
2010-01-25egl: Make resource void pointer in _eglCheckResource.Chia-I Wu
This emphasizes the fact that the resource to be checked could really be invalid and have an unknown type.
2010-01-25egl: Install EGL headers.Chia-I Wu
Install EGL (and KHR) headers along with the library.
2010-01-25egl: Add support for EGL_KHR_image.Chia-I Wu
Individual drivers still need to implement the API hooks.
2010-01-25egl: Update headers.Chia-I Wu
Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.
2010-01-25egl: check if driver_name is nullIgor Oliveira
2010-01-24st/mesa: fix int->uint conversion for negative scissor bound valuesBrian Paul
Based on a patch by Xavier Chantry <chantry.xavier@gmail.com>: If x+width or y+height is negative, then maxx or maxy will get a bogus value when converting that to unsigned. Fix this by setting 0 as minimal value. This was also triggered by teeworlds, but only with some combination of resolution and map section. For example upper part of dm2 at 1280x1024.
2010-01-24mesa: move _mesa_debug() call earlier in _mesa_ScissorBrian Paul
Part of a patch from Xavier Chantry <chantry.xavier@gmail.com>
2010-01-24st/mesa: fix unsigned/signed breakage in scissorXavier Chantry
commit 53174afeeb introduced a portability change that converted GLint x,y to GLuint. That breaks when x and y are negative, which seems to be allowed, and which at least one game uses : teeworlds. Rather than simply reverting the change, it seems possible to convert the 16bit unsigned to GLint so that comparisons are made between signed integers instead. This hopefully does not break anything while keeping MSVC happy. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-25nv50: fix uninitialized variable in nv50_revdep_reorderMarcin Slusarz
"unsafe" is never initialized, but used (found by valgrind)
2010-01-25nv50: fix crash in nv50_pre_pipebuffer_map (nv50_screen->cur_ctx)Marcin Slusarz
nv50_pre_pipebuffer_map references screen->cur_ctx which points to freed memory after the context is destroyed. This crash is easily triggerable by progs/xdemos/glxcontexts.
2010-01-25nouveau/winsys: be nice and close the device on destroyMarcin Slusarz
2010-01-25nouveau: fix winsys object leakMarcin Slusarz