Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vbo: Use CALL_* macros. | Chia-I Wu | 2010-10-27 | 1 | -8/+8 |
| | | | | | Use macros to access _glapi_table consistently. There is no functional change. | ||||
* | glapi: Merge glapioffsets.h into glapidispath.h. | Chia-I Wu | 2010-10-27 | 3 | -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 Wu | 2010-10-27 | 3 | -2/+4275 |
| | | | | It is a core mesa header, not a glapi header. | ||||
* | glapi: Do not use glapidispatch.h. | Chia-I Wu | 2010-10-27 | 1 | -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() function | Brian Paul | 2010-10-26 | 1 | -12/+0 |
| | | | | This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609. | ||||
* | mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap | Brian Paul | 2010-10-26 | 1 | -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 Paul | 2010-10-26 | 1 | -1/+11 |
| | |||||
* | i965: Disable register spilling on gen6 until it's fixed. | Eric Anholt | 2010-10-26 | 1 | -1/+1 |
| | | | | Avoids GPU hang on glsl-fs-convolution-1. | ||||
* | i965: Fix VS URB entry sizing. | Eric Anholt | 2010-10-26 | 1 | -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 Anholt | 2010-10-26 | 1 | -24/+19 |
| | |||||
* | i965: Add support for constant buffer loads on gen6. | Eric Anholt | 2010-10-26 | 1 | -2/+26 |
| | | | | Fixes glsl-fs-uniform-array-5. | ||||
* | i965: Set up the constant buffer on gen6 when it's needed. | Eric Anholt | 2010-10-26 | 1 | -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 Anholt | 2010-10-26 | 1 | -1/+1 |
| | |||||
* | i965: Handle new ir_unop_round_even in channel expression splitting. | Eric Anholt | 2010-10-26 | 1 | -0/+1 |
| | |||||
* | i965: Add support for discard instructions on gen6. | Eric Anholt | 2010-10-26 | 1 | -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 Anholt | 2010-10-26 | 1 | -0/+3 |
| | |||||
* | i965: Clear some undefined fields of g0 when using them for gen6 FB writes. | Eric Anholt | 2010-10-26 | 1 | -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 Anholt | 2010-10-26 | 3 | -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 Anholt | 2010-10-26 | 1 | -1/+2 |
| | |||||
* | i965: Add EU code for dword scattered reads (constant buffer array indexing). | Eric Anholt | 2010-10-26 | 2 | -0/+45 |
| | |||||
* | mesa: additional teximage error checks for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -4/+38 |
| | |||||
* | mesa: additional switch cases for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -2/+87 |
| | |||||
* | mesa: additional glReadPixels error checks for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -0/+15 |
| | |||||
* | st/mesa: support RGBA16 and use it for RGBA12 as well | Marek Olšák | 2010-10-25 | 1 | -1/+10 |
| | | | | | | Tested with r300g. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | xlib: silence unused var warning | Brian Paul | 2010-10-25 | 1 | -0/+1 |
| | |||||
* | mesa: fix uninitialized var warning | Brian Paul | 2010-10-25 | 1 | -0/+1 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=31067 | ||||
* | mesa: silence enum comparison warning | Brian Paul | 2010-10-25 | 1 | -1/+1 |
| | | | | http://bugs.freedesktop.org/show_bug.cgi?id=31069 | ||||
* | mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY | Marek Olšák | 2010-10-24 | 1 | -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 Paul | 2010-10-23 | 1 | -4/+46 |
| | | | | This lets us get an integer texture format for integer pixel formats. | ||||
* | mesa: display list support for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 1 | -0/+144 |
| | |||||
* | mesa: plug in GL_EXT_texture_integer functions | Brian Paul | 2010-10-23 | 1 | -0/+7 |
| | |||||
* | mesa: regenerated API files for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 2 | -5116/+5294 |
| | |||||
* | mesa: simplify target_can_be_compressed() function | Brian Paul | 2010-10-23 | 1 | -8/+18 |
| | |||||
* | st/mesa: add format selection for signed/unsigned integer formats | Brian Paul | 2010-10-23 | 1 | -0/+120 |
| | |||||
* | mesa: added cases for GL_EXT_texture_integer | Brian Paul | 2010-10-23 | 1 | -0/+10 |
| | |||||
* | mesa: added cases for GL_EXT_texture_integer formats | Brian Paul | 2010-10-23 | 1 | -0/+20 |
| | |||||
* | mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness() | Brian Paul | 2010-10-23 | 1 | -0/+6 |
| | |||||
* | mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT | Brian Paul | 2010-10-23 | 1 | -0/+11 |
| | |||||
* | mesa: added new gl_framebuffer::_IntegerColor field | Brian Paul | 2010-10-23 | 1 | -0/+3 |
| | |||||
* | mesa: added new gl_extensions::EXT_gpu_shader4 field | Brian Paul | 2010-10-23 | 1 | -0/+1 |
| | |||||
* | mesa: new glDrawPixels error check for integer formats | Brian Paul | 2010-10-23 | 1 | -1/+11 |
| | |||||
* | mesa: added _mesa_is_fragment_shader_active() helper | Brian Paul | 2010-10-23 | 1 | -0/+12 |
| | |||||
* | mesa: minor reformatting, clean-ups | Brian Paul | 2010-10-23 | 1 | -8/+10 |
| | |||||
* | mesa: _mesa_is_format_integer() function | Brian Paul | 2010-10-23 | 2 | -0/+15 |
| | |||||
* | mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT() | Brian Paul | 2010-10-23 | 2 | -0/+69 |
| | | | | For GL_EXT_texture_integer. | ||||
* | mesa: add pixel packing for unscaled integer types | Brian Paul | 2010-10-23 | 1 | -5/+496 |
| | | | | And add some missing GL_RG cases. | ||||
* | 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 |
| | |||||
* | 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. |