summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Clean up header file inclusion in drawtex.h.Vinson Lee2010-11-071-1/+2
|
* mesa: Clean up header file inclusion in drawpix.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in depthstencil.h.Vinson Lee2010-11-071-1/+1
|
* mesa: Clean up header file inclusion in depth.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in debug.h.Vinson Lee2010-11-071-1/+4
|
* mesa: Clean up header file inclusion in convolve.h.Vinson Lee2010-11-071-3/+4
|
* mesa: Clean up header file inclusion in colortab.h.Vinson Lee2010-11-071-3/+6
|
* mesa: Clean up header file inclusion in buffers.h.Vinson Lee2010-11-071-1/+2
|
* mesa: Clean up header file inclusion in blend.h.Vinson Lee2010-11-071-1/+3
|
* mesa: Clean up header file inclusion in attrib.h.Vinson Lee2010-11-071-3/+5
|
* mesa: Clean up header file inclusion in atifragshader.h.Vinson Lee2010-11-071-1/+6
|
* mesa: make fixed-pt and byte-valued arrays a runtime featureBrian Paul2010-11-072-23/+25
| | | | | | These ES1 features were only tested for in the vertex array code. Checking the ctx->API field at runtime is cleaner than the #ifdef stuff and supports choosing the API at runtime.
* mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul2010-11-071-1/+0
|
* mesa: implement uint texstore codeBrian Paul2010-11-071-24/+127
| | | | | We used float temporary images before which could lose precision for uint-valued texture images.
* mesa: rename vars in pixel pack/unpack codeBrian Paul2010-11-071-403/+397
|
* mesa: consolidate pixel packing/unpacking codeBrian Paul2010-11-071-397/+244
|
* mesa: Clean up header file inclusion in arrayobj.h.Vinson Lee2010-11-071-1/+3
|
* mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.Vinson Lee2010-11-061-0/+1
|
* mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.Vinson Lee2010-11-061-0/+1
|
* mesa: Clean up header file inclusion in api_validate.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Clean up header file inclusion in api_loopback.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Clean up header file inclusion in version.h.Vinson Lee2010-11-061-1/+1
|
* mesa: Clean up header file inclusion in accum.h.Vinson Lee2010-11-061-1/+4
|
* mesa: Fix delayed state flagging for EXT_sso-related program changes.Eric Anholt2010-11-061-18/+5
| | | | | | | Flushing the vertices after having already updated the state doesn't do any good. Fixes useshaderprogram-flushverts-1. As a side effect, by moving it to the right place we end up skipping no-op state changes for traditional glUseProgram.
* mesa: code to unpack RGBA as uintsBrian Paul2010-11-032-0/+787
|
* mesa: silence new warnings in texobj.cBrian Paul2010-11-021-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 Anholt2010-11-021-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 mixupsBrian Paul2010-11-021-2/+2
|
* mesa: remove always-false conditional in check_compatible()Brian Paul2010-11-021-3/+0
| | | | The two gl_config pointers can never be equal.
* mesa: move the gl_config struct declarationBrian Paul2010-11-021-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 arraysBrian Paul2010-11-021-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310
* mesa: Allow contexts of different APIs to coexist.Chia-I Wu2010-11-025-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 Wu2010-11-023-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 Anholt2010-10-292-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 codeBrian Paul2010-10-291-41/+0
|
* mesa: Fix windows build (uint -> GLuint).José Fonseca2010-10-291-4/+4
|
* Merge branch 'glapi-reorg'Chia-I Wu2010-10-297-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 Wu2010-10-276-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 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.
* | mesa: pixel transfer ops do not apply to integer-valued texturesBrian Paul2010-10-281-30/+52
| |
* | mesa: additional integer formats in _mesa_bytes_per_pixel()Brian Paul2010-10-281-4/+8
| |
* | mesa: add const qualifier to _mesa_is_legal_format_and_type()Brian Paul2010-10-282-2/+4
| |
* | mesa: fix integer cases in _mesa_is_legal_format_and_type()Brian Paul2010-10-281-1/+65
| | | | | | | | Some integer formats work with some packed datatypes.
* | mesa: fix incorrect type in _mesa_texstore_rgba_int16()Brian Paul2010-10-281-1/+1
| |
* | mesa: remove obsolete commentBrian Paul2010-10-281-1/+0
| |
* | mesa: add extension table entry for GL_EXT_gpu_shader4Brian Paul2010-10-281-0/+1
| |
* | mesa: clean-up array element codeBrian Paul2010-10-281-190/+353
| | | | | | | | Remove unnecessary GLAPIENTRY keywords, update comments, re-indent.
* | mesa: glArrayElement support for integer-valued arraysBrian Paul2010-10-281-2/+215
| |
* | mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXTBrian Paul2010-10-283-0/+20
| |