Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: split up the image.c file | Brian Paul | 2010-10-23 | 20 | -4525/+4665 |
| | | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions | ||||
* | mesa: simplify fbo format checking code | Brian Paul | 2010-10-23 | 1 | -13/+38 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2010-10-23 | 1 | -3/+6 |
| | |||||
* | docs: updated GL3 status for primitive restart | Brian Paul | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | st/egl: Use resource reference count for egl_g3d_sync. | Chia-I Wu | 2010-10-23 | 2 | -5/+2 |
| | |||||
* | egl: Fix a false negative check in _eglCheckMakeCurrent. | Chia-I Wu | 2010-10-23 | 1 | -9/+12 |
| | | | | | | | | | | 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. | ||||
* | egl: Use reference counting to replace IsLinked or IsBound. | Chia-I Wu | 2010-10-23 | 9 | -148/+138 |
| | | | | | Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting. | ||||
* | egl: Add reference count for resources. | Chia-I Wu | 2010-10-23 | 10 | -11/+146 |
| | | | | | This is a really simple mechanism. There is no atomicity and the caller is expected to hold the display lock. | ||||
* | st/egl: Fix native_mode refresh mode. | Chia-I Wu | 2010-10-23 | 2 | -3/+3 |
| | | | | Define the unit to match _EGLMode's. | ||||
* | egl: Fix _eglModeLookup. | Chia-I Wu | 2010-10-23 | 5 | -64/+43 |
| | | | | | | | | | | 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. | ||||
* | egl: Minor changes to the _EGLScreen interface. | Chia-I Wu | 2010-10-23 | 3 | -90/+49 |
| | | | | | Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions. | ||||
* | egl: Minor changes to the _EGLConfig interface. | Chia-I Wu | 2010-10-23 | 5 | -35/+32 |
| | | | | | Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups. | ||||
* | egl: Drop dpy argument from the link functions. | Chia-I Wu | 2010-10-23 | 7 | -28/+27 |
| | | | | | All display resources are already initialized with a display. Linking simply links a resource to its display. | ||||
* | i965: Add support for pull constants to the new FS backend. | Eric Anholt | 2010-10-22 | 10 | -105/+213 |
| | | | | Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa. | ||||
* | i965: Move the FS disasm/annotation printout to codegen time. | Eric Anholt | 2010-10-22 | 2 | -54/+35 |
| | | | | | | 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. | ||||
* | r600g: not fatal if we can't get tiling info from kernel | Dave Airlie | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTART | Marek Olšák | 2010-10-22 | 1 | -0/+2 |
| | |||||
* | r300g: do not print get_param errors in non-debug build | Marek Olšák | 2010-10-22 | 1 | -4/+4 |
| | |||||
* | mesa: move declaration before code | Brian Paul | 2010-10-22 | 1 | -1/+2 |
| | |||||
* | galahad: silence warnings | Brian Paul | 2010-10-22 | 2 | -3/+3 |
| | |||||
* | dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer. | Francisco Jerez | 2010-10-22 | 1 | -0/+12 |
| | |||||
* | egl: Move fallback routines to eglfallbacks.c. | Chia-I Wu | 2010-10-22 | 17 | -465/+102 |
| | | | | We do not want them to be all over the places. | ||||
* | egl: Parse image attributes with _eglParseImageAttribList. | Chia-I Wu | 2010-10-22 | 4 | -162/+92 |
| | | | | Avoid code duplications. | ||||
* | egl: Move attributes in _EGLImage to _EGLImageAttribs. | Chia-I Wu | 2010-10-22 | 5 | -28/+42 |
| | | | | | | 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. | ||||
* | egl_glx: Fix borken driver. | Chia-I Wu | 2010-10-22 | 1 | -107/+185 |
| | | | | | The driver was broken since 6eda3f311bc24999835003e404d5eda5599bc5de. All configs fail to pass _eglValidateConfig. | ||||
* | egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB. | Chia-I Wu | 2010-10-22 | 2 | -28/+14 |
| | | | | | _EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too. | ||||
* | egl_dri2: Drop the use of _egl[SG]etConfigKey. | Chia-I Wu | 2010-10-22 | 1 | -11/+9 |
| | | | | _EGLConfig can be directly dereferenced now. | ||||
* | winsys/xlib: rename xm->xlib | Brian Paul | 2010-10-21 | 1 | -147/+147 |
| | | | | Move away from the old Mesa-oriented names. | ||||
* | winsys/xlib: fix up allocation/dealloction of XImage | Brian Paul | 2010-10-21 | 1 | -1/+8 |
| | | | | Fixes a crash upon exit when using remote display. | ||||
* | winsys/xlib: use Bool type for shm field | Brian Paul | 2010-10-21 | 1 | -5/+5 |
| | |||||
* | winsys/xlib: formatting fixes | Brian Paul | 2010-10-21 | 1 | -10/+9 |
| | |||||
* | Merge branch 'primitive-restart-cleanup' | Brian Paul | 2010-10-21 | 32 | -4046/+4458 |
|\ | | | | | | | | | | | | | | | 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. | ||||
| * | docs: added GL_NV_primitive_restart extension | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | |||||
| * | llvmpipe: enable primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+2 |
| | | |||||
| * | softpipe: enable primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+2 |
| | | |||||
| * | draw: implement primitive splitting for primitive restart | Brian Paul | 2010-10-21 | 1 | -1/+85 |
| | | |||||
| * | st/mesa: support for primitive restart | Brian Paul | 2010-10-21 | 2 | -0/+7 |
| | | |||||
| * | gallium: new CAP, state for primitive restart | Brian Paul | 2010-10-21 | 3 | -0/+16 |
| | | |||||
| * | vbo: support for primitive restart | Brian Paul | 2010-10-21 | 3 | -86/+186 |
| | | | | | | | | | | We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it. | ||||
| * | mesa: plug in primitive restart function | Brian Paul | 2010-10-21 | 3 | -0/+18 |
| | | |||||
| * | mesa: regenerated files with primitive restart | Brian Paul | 2010-10-21 | 10 | -3953/+4074 |
| | | |||||
| * | mesa: API spec for primitive restart | Brian Paul | 2010-10-21 | 3 | -0/+26 |
| | | |||||
| * | mesa: set/get primitive restart state | Brian Paul | 2010-10-21 | 3 | -6/+40 |
| | | |||||
| * | mesa: driver hook for primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | |||||
* | | i965: Be more aggressive in tracking live/dead intervals within loops. | Eric Anholt | 2010-10-21 | 1 | -13/+41 |
| | | | | | | | | | | | | 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. | ||||
* | | docs: add GL_ARB_texture_rg to release notes | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | |||||
* | | docs: update texture red/green support in GL3.txt | Brian Paul | 2010-10-21 | 1 | -1/+1 |
| | | |||||
* | | st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format() | Brian Paul | 2010-10-21 | 1 | -0/+2 |
| | | |||||
* | | mesa: add missing cases for packing red/green images | Brian Paul | 2010-10-21 | 1 | -0/+48 |
| | | |||||
* | | mesa: add GL_RG case to _mesa_source_buffer_exists() | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | | | | | | | Fixes failure with glReadPixels(format=GL_RG) |