Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: code to unpack RGBA as uints | Brian Paul | 2010-11-03 | 2 | -0/+787 |
| | |||||
* | mesa: silence new warnings in texobj.c | Brian Paul | 2010-11-02 | 1 | -4/+2 |
| | | | | | | Silences warning such as: main/texobj.c:442:40: warning: ISO C99 requires rest arguments to be used main/texobj.c:498:58: warning: ISO C99 requires rest arguments to be used | ||||
* | mesa: Don't compute an unused texture completeness debug string. | Eric Anholt | 2010-11-02 | 1 | -9/+12 |
| | | | | | This showed up at about 1% on cairo-gl firefox-talos-gfx, where glClear() is called while a texture is incomplete. | ||||
* | mesa: fix aux/accum comment and error message mixups | Brian Paul | 2010-11-02 | 1 | -2/+2 |
| | |||||
* | mesa: remove always-false conditional in check_compatible() | Brian Paul | 2010-11-02 | 1 | -3/+0 |
| | | | | The two gl_config pointers can never be equal. | ||||
* | mesa: move the gl_config struct declaration | Brian Paul | 2010-11-02 | 1 | -54/+62 |
| | | | | | It was in the middle of the lighting-related structures before. Also add some info about field sizes in this structure. | ||||
* | mesa: use GLubyte for edge flag arrays | Brian Paul | 2010-11-02 | 1 | -2/+2 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310 | ||||
* | mesa: Allow contexts of different APIs to coexist. | Chia-I Wu | 2010-11-02 | 5 | -159/+132 |
| | | | | | | | | | | | | | | | | | | This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization. | ||||
* | mesa: Select FEATURE_remap_table when multiple APIs are enabled. | Chia-I Wu | 2010-11-02 | 3 | -3/+5 |
| | | | | | | Core mesa should query glapi for the positions of the functions in _glapi_table when multiple APIs are supported. It does not know which glapitable.h glapi used. | ||||
* | mesa: Make metaops use program refcounts instead of names. | Eric Anholt | 2010-10-29 | 2 | -45/+60 |
| | | | | | | | Fixes failure on restoring state when the program was active but deleted, and the name no longer exists. Bug #31194 | ||||
* | mesa: remove dead code | Brian Paul | 2010-10-29 | 1 | -41/+0 |
| | |||||
* | mesa: Fix windows build (uint -> GLuint). | José Fonseca | 2010-10-29 | 1 | -4/+4 |
| | |||||
* | Merge branch 'glapi-reorg' | Chia-I Wu | 2010-10-29 | 7 | -13/+4489 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h | ||||
| * | mesa: Remove unnecessary glapitable.h includes. | Chia-I Wu | 2010-10-27 | 6 | -9/+5 |
| | | | | | | | | | | | | | | | | | | With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included by core mesa only to know the size of _glapi_table. It is not necessary as the same info is given by _gloffset_COUNT. This change makes _glapi_table opaque to core mesa. All operations on it are supposed to go through one of the SET/GET/CALL macros. | ||||
| * | 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. | ||||
* | | mesa: pixel transfer ops do not apply to integer-valued textures | Brian Paul | 2010-10-28 | 1 | -30/+52 |
| | | |||||
* | | mesa: additional integer formats in _mesa_bytes_per_pixel() | Brian Paul | 2010-10-28 | 1 | -4/+8 |
| | | |||||
* | | mesa: add const qualifier to _mesa_is_legal_format_and_type() | Brian Paul | 2010-10-28 | 2 | -2/+4 |
| | | |||||
* | | mesa: fix integer cases in _mesa_is_legal_format_and_type() | Brian Paul | 2010-10-28 | 1 | -1/+65 |
| | | | | | | | | Some integer formats work with some packed datatypes. | ||||
* | | mesa: fix incorrect type in _mesa_texstore_rgba_int16() | Brian Paul | 2010-10-28 | 1 | -1/+1 |
| | | |||||
* | | mesa: remove obsolete comment | Brian Paul | 2010-10-28 | 1 | -1/+0 |
| | | |||||
* | | mesa: add extension table entry for GL_EXT_gpu_shader4 | Brian Paul | 2010-10-28 | 1 | -0/+1 |
| | | |||||
* | | mesa: clean-up array element code | Brian Paul | 2010-10-28 | 1 | -190/+353 |
| | | | | | | | | Remove unnecessary GLAPIENTRY keywords, update comments, re-indent. | ||||
* | | mesa: glArrayElement support for integer-valued arrays | Brian Paul | 2010-10-28 | 1 | -2/+215 |
| | | |||||
* | | mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT | Brian Paul | 2010-10-28 | 3 | -0/+20 |
| | | |||||
* | | mesa: consolidate glVertex/Color/etcPointer() code | Brian Paul | 2010-10-28 | 1 | -545/+202 |
| | | | | | | | | | | This removes a bunch of similar error checking code in all the vertex pointer functions and puts nearly all the error checking in update_array(). | ||||
* | | mesa: add gl_client_array::Integer field and related vertex array state code | Brian Paul | 2010-10-28 | 2 | -17/+87 |
| | | |||||
* | | mesa: implement integer-valued vertex attribute functions | Brian Paul | 2010-10-28 | 2 | -112/+66 |
| | | | | | | | | The integers still get converted to floats. That'll have to change someday. | ||||
* | | mesa: add new GLvertexformat entries for integer-valued attributes | Brian Paul | 2010-10-28 | 1 | -0/+18 |
| | | |||||
* | | mesa: plug in more GL_EXT_gpu_shader4 functions | Brian Paul | 2010-10-28 | 1 | -0/+5 |
| | | |||||
* | | mesa: add glGetUniformuiv(), plug in uint glUniform funcs | Brian Paul | 2010-10-28 | 2 | -8/+58 |
| | | |||||
* | | mesa: plug in stubs for glBindFragDataLocation(), glGetFragDataLocation() | Brian Paul | 2010-10-28 | 2 | -0/+50 |
| | | |||||
* | | glapi: regenerated API files | Brian Paul | 2010-10-28 | 2 | -4245/+4506 |
| | | |||||
* | | mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer() | Brian Paul | 2010-10-28 | 2 | -3/+1 |
| | | |||||
* | | swrast: Enable GL_EXT_separate_shader_objects in software paths | Ian Romanick | 2010-10-27 | 1 | -0/+1 |
| | | |||||
* | | Track separate programs for each stage | Ian Romanick | 2010-10-27 | 6 | -89/+218 |
| | | | | | | | | | | The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings. | ||||
* | | mesa: Track an ActiveProgram distinct from CurrentProgram | Ian Romanick | 2010-10-27 | 4 | -48/+73 |
| | | | | | | | | | | ActiveProgram is the GL_EXT_separate_shader_objects state variable used for glUniform calls. glUseProgram also sets this. | ||||
* | | mesa: Add display list support for GL_EXT_separate_shader_objects functions | Ian Romanick | 2010-10-27 | 1 | -0/+44 |
| | | |||||
* | | mesa: Skeletal support for GL_EXT_separate_shader_objects | Ian Romanick | 2010-10-27 | 2 | -0/+110 |
| | | | | | | | | | | Really just filling in the entry points. None of them do anything other than validate their inputs. | ||||
* | | mesa: Add infrastructure to track GL_EXT_separate_shader_objects | Ian Romanick | 2010-10-27 | 2 | -0/+2 |
| | | |||||
* | | glapi: Commit files changed by previous commit | Ian Romanick | 2010-10-27 | 2 | -5407/+5431 |
| | | |||||
* | | mesa: Remove unnecessary header. | Vinson Lee | 2010-10-27 | 1 | -1/+0 |
| | | |||||
* | | mesa: Remove unnecessary headers. | Vinson Lee | 2010-10-27 | 1 | -2/+0 |
| | | |||||
* | | mesa: rename function to _mesa_is_format_integer_color() | Brian Paul | 2010-10-26 | 5 | -6/+6 |
| | | | | | | | | Be a bit more clear about its operation. | ||||
* | | mesa: fix bug in _mesa_is_format_integer() | Brian Paul | 2010-10-26 | 1 | -2/+5 |
|/ | | | | | | We only want to return true if it's an integer _color_ format, not a depth and/or stencil format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31143 | ||||
* | 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 |
| | |||||
* | mesa: additional teximage error checks for GL_EXT_texture_integer | Brian Paul | 2010-10-25 | 1 | -4/+38 |
| |