summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* vbo: Use CALL_* macros.Chia-I Wu2010-10-271-8/+8
| | | | | Use macros to access _glapi_table consistently. There is no functional change.
* glapi: Merge glapioffsets.h into glapidispath.h.Chia-I Wu2010-10-273-3779/+3764
| | | | | | | | | Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
* glapi: Move glapidispatch.h to core mesa.Chia-I Wu2010-10-273-2/+4275
| | | | It is a core mesa header, not a glapi header.
* glapi: Do not use glapidispatch.h.Chia-I Wu2010-10-271-3/+2
| | | | | | | | | glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries.
* mesa: remove the unused _mesa_is_fragment_shader_active() functionBrian Paul2010-10-261-12/+0
| | | | This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
* mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmapBrian Paul2010-10-261-61/+15
| | | | | | | This lets us simplify and consolidate some state checking code. This implements the GL_INVALID_OPERATION check for all drawing commands required by GL_EXT_texture_integer.
* mesa: do integer FB / shader validation check in _mesa_valid_to_render()Brian Paul2010-10-261-1/+11
|
* i965: Disable register spilling on gen6 until it's fixed.Eric Anholt2010-10-261-1/+1
| | | | Avoids GPU hang on glsl-fs-convolution-1.
* i965: Fix VS URB entry sizing.Eric Anholt2010-10-261-1/+1
| | | | | | | | | I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1. Fixes: glsl-kwin-blur glsl-max-varying glsl-routing
* i965: Drop the eot argument to read messages, which can never be set.Eric Anholt2010-10-261-24/+19
|
* i965: Add support for constant buffer loads on gen6.Eric Anholt2010-10-261-2/+26
| | | | Fixes glsl-fs-uniform-array-5.
* i965: Set up the constant buffer on gen6 when it's needed.Eric Anholt2010-10-261-0/+1
| | | | | This was slightly confused because gen6_wm_constants does the push constant buffer, while brw_wm_constants does pull constants.
* i965: Fix typo in comment about state flags.Eric Anholt2010-10-261-1/+1
|
* i965: Handle new ir_unop_round_even in channel expression splitting.Eric Anholt2010-10-261-0/+1
|
* i965: Add support for discard instructions on gen6.Eric Anholt2010-10-261-10/+41
| | | | | | It's a little more painful than before because we don't have the handy mask register any more, and have to make do with cooking up a value out of the flag register.
* i965: Add disasm for the flag register.Eric Anholt2010-10-261-0/+3
|
* i965: Clear some undefined fields of g0 when using them for gen6 FB writes.Eric Anholt2010-10-261-0/+14
| | | | | This doesn't appear to help any testcases I'm looking at, but it looks like it's required.
* i965: Use SENDC on the first render target write on gen6.Eric Anholt2010-10-263-4/+13
| | | | | | This is apparently required, as the thread will be initiated while it still has dependencies, and this is what waits for those to be resolved before writing color.
* i965: Clarify an XXX comment in FB writes with real info.Eric Anholt2010-10-261-1/+2
|
* i965: Add EU code for dword scattered reads (constant buffer array indexing).Eric Anholt2010-10-262-0/+45
|
* mesa: additional teximage error checks for GL_EXT_texture_integerBrian Paul2010-10-251-4/+38
|
* mesa: additional switch cases for GL_EXT_texture_integerBrian Paul2010-10-251-2/+87
|
* mesa: additional glReadPixels error checks for GL_EXT_texture_integerBrian Paul2010-10-251-0/+15
|
* st/mesa: support RGBA16 and use it for RGBA12 as wellMarek Olšák2010-10-251-1/+10
| | | | | | Tested with r300g. Signed-off-by: Marek Olšák <[email protected]>
* xlib: silence unused var warningBrian Paul2010-10-251-0/+1
|
* mesa: fix uninitialized var warningBrian Paul2010-10-251-0/+1
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=31067
* mesa: silence enum comparison warningBrian Paul2010-10-251-1/+1
| | | | http://bugs.freedesktop.org/show_bug.cgi?id=31069
* mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITYMarek Olšák2010-10-241-0/+3
| | | | | | As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <[email protected]>
* st/mesa: be smarter choosing texture format for glDrawPixels()Brian Paul2010-10-231-4/+46
| | | | This lets us get an integer texture format for integer pixel formats.
* mesa: display list support for GL_EXT_texture_integerBrian Paul2010-10-231-0/+144
|
* mesa: plug in GL_EXT_texture_integer functionsBrian Paul2010-10-231-0/+7
|
* mesa: regenerated API files for GL_EXT_texture_integerBrian Paul2010-10-232-5116/+5294
|
* mesa: simplify target_can_be_compressed() functionBrian Paul2010-10-231-8/+18
|
* st/mesa: add format selection for signed/unsigned integer formatsBrian Paul2010-10-231-0/+120
|
* mesa: added cases for GL_EXT_texture_integerBrian Paul2010-10-231-0/+10
|
* mesa: added cases for GL_EXT_texture_integer formatsBrian Paul2010-10-231-0/+20
|
* mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()Brian Paul2010-10-231-0/+6
|
* mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXTBrian Paul2010-10-231-0/+11
|
* mesa: added new gl_framebuffer::_IntegerColor fieldBrian Paul2010-10-231-0/+3
|
* mesa: added new gl_extensions::EXT_gpu_shader4 fieldBrian Paul2010-10-231-0/+1
|
* mesa: new glDrawPixels error check for integer formatsBrian Paul2010-10-231-1/+11
|
* mesa: added _mesa_is_fragment_shader_active() helperBrian Paul2010-10-231-0/+12
|
* mesa: minor reformatting, clean-upsBrian Paul2010-10-231-8/+10
|
* mesa: _mesa_is_format_integer() functionBrian Paul2010-10-232-0/+15
|
* mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT()Brian Paul2010-10-232-0/+69
| | | | For GL_EXT_texture_integer.
* mesa: add pixel packing for unscaled integer typesBrian Paul2010-10-231-5/+496
| | | | And add some missing GL_RG cases.
* mesa: split up the image.c fileBrian Paul2010-10-2320-4525/+4665
| | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
* mesa: simplify fbo format checking codeBrian Paul2010-10-231-13/+38
|
* mesa: 80-column wrappingBrian Paul2010-10-231-3/+6
|
* i965: Add support for pull constants to the new FS backend.Eric Anholt2010-10-2210-105/+213
| | | | Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa.