summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-10-23mesa: 80-column wrappingBrian Paul
2010-10-23st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu
2010-10-23egl: Fix a false negative check in _eglCheckMakeCurrent.Chia-I Wu
This call sequence eglMakeCurrent(dpy, surf, surf, ctx1); eglMakeCurrent(dpy, surf, surf, ctx2); should be valid if ctx1 and ctx2 have the same client API and are not current in another thread.
2010-10-23egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
2010-10-23egl: Add reference count for resources.Chia-I Wu
This is a really simple mechanism. There is no atomicity and the caller is expected to hold the display lock.
2010-10-23st/egl: Fix native_mode refresh mode.Chia-I Wu
Define the unit to match _EGLMode's.
2010-10-23egl: Fix _eglModeLookup.Chia-I Wu
Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
2010-10-23egl: Minor changes to the _EGLScreen interface.Chia-I Wu
Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
2010-10-23egl: Minor changes to the _EGLConfig interface.Chia-I Wu
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
2010-10-23egl: Drop dpy argument from the link functions.Chia-I Wu
All display resources are already initialized with a display. Linking simply links a resource to its display.
2010-10-22i965: Add support for pull constants to the new FS backend.Eric Anholt
Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa.
2010-10-22i965: Move the FS disasm/annotation printout to codegen time.Eric Anholt
This makes it a lot easier to track down where we failed when some code emit triggers an assert. Plus, less memory allocation for codegen.
2010-10-23r600g: not fatal if we can't get tiling info from kernelDave Airlie
2010-10-22r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTARTMarek Olšák
2010-10-22r300g: do not print get_param errors in non-debug buildMarek Olšák
2010-10-22mesa: move declaration before codeBrian Paul
2010-10-22galahad: silence warningsBrian Paul
2010-10-22dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer.Francisco Jerez
2010-10-22egl: Move fallback routines to eglfallbacks.c.Chia-I Wu
We do not want them to be all over the places.
2010-10-22egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu
Avoid code duplications.
2010-10-22egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists.
2010-10-22egl_glx: Fix borken driver.Chia-I Wu
The driver was broken since 6eda3f311bc24999835003e404d5eda5599bc5de. All configs fail to pass _eglValidateConfig.
2010-10-22egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.Chia-I Wu
_EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too.
2010-10-22egl_dri2: Drop the use of _egl[SG]etConfigKey.Chia-I Wu
_EGLConfig can be directly dereferenced now.
2010-10-21winsys/xlib: rename xm->xlibBrian Paul
Move away from the old Mesa-oriented names.
2010-10-21winsys/xlib: fix up allocation/dealloction of XImageBrian Paul
Fixes a crash upon exit when using remote display.
2010-10-21winsys/xlib: use Bool type for shm fieldBrian Paul
2010-10-21winsys/xlib: formatting fixesBrian Paul
2010-10-21Merge branch 'primitive-restart-cleanup'Brian Paul
Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
2010-10-21llvmpipe: enable primitive restartBrian Paul
2010-10-21softpipe: enable primitive restartBrian Paul
2010-10-21draw: implement primitive splitting for primitive restartBrian Paul
2010-10-21st/mesa: support for primitive restartBrian Paul
2010-10-21gallium: new CAP, state for primitive restartBrian Paul
2010-10-21vbo: support for primitive restartBrian Paul
We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it.
2010-10-21mesa: plug in primitive restart functionBrian Paul
2010-10-21mesa: regenerated files with primitive restartBrian Paul
2010-10-21mesa: API spec for primitive restartBrian Paul
2010-10-21mesa: set/get primitive restart stateBrian Paul
2010-10-21mesa: driver hook for primitive restartBrian Paul
2010-10-21i965: Be more aggressive in tracking live/dead intervals within loops.Eric Anholt
Fixes glsl-fs-convolution-2, which was blowing up due to the array access insanity getting at the uniform values within the loop. Each temporary was considered live across the whole loop.
2010-10-21st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()Brian Paul
2010-10-21mesa: add missing cases for packing red/green imagesBrian Paul
2010-10-21mesa: add GL_RG case to _mesa_source_buffer_exists()Brian Paul
Fixes failure with glReadPixels(format=GL_RG)
2010-10-21draw: fix typo in commentBrian Paul
2010-10-21i965: Correct scratch space allocation.Eric Anholt
One, it was allocating increments of 1kb, but per thread scratch space is a power of two. Two, the new FS wasn't getting total_scratch set at all, so everyone thought they had 1kb and writes beyond 1kb would go stomping on a neighbor thread. With this plus the previous register spilling for the new FS, glsl-fs-convolution-1 passes.
2010-10-21i965: Don't emit register spill offsets directly into g0.Eric Anholt
g0 is used by others, and is expected to be left exactly as it was dispatched to us. So manually move g0 into our message reg when spilling/unspilling and update the offset in the MRF. Fixes failures in texture sampling after having spilled a register.
2010-10-21i965: Add support for register spilling.Eric Anholt
It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail.
2010-10-21i965: Fix gl_FrontFacing emit on pre-gen6.Eric Anholt
It's amazing this code worked. Basically, we would get lucky in register allocation and the tests using frontfacing would happen to allocate gl_FrontFacing storage and the instructions generating gl_FrontFacing but pointing at another register to the same hardware register. Noticed during register spilling debug, when suddenly they didn't get allocatd the same storage.
2010-10-21i965: Split register allocation out of the ever-growing brw_fs.cpp.Eric Anholt