Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | dri/util: add a bunch of comments | Brian Paul | 2010-11-02 | 1 | -0/+24 |
| | |||||
* | 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 | ||||
* | i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6 | Zhenyu Wang | 2010-11-02 | 1 | -1/+1 |
| | | | | | | Fix compiz crash. https://bugs.freedesktop.org/show_bug.cgi?id=31124 | ||||
* | 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. | ||||
* | r300/compiler: Don't track readers into an IF block. | Tom Stellard | 2010-11-01 | 1 | -0/+3 |
| | | | | | This makes rc_get_readers_normal() more conservative than it needs to be, but it fixes some incorrect behavior in the optimization passes. | ||||
* | scons: Fix MinGW cross-compilation. | José Fonseca | 2010-11-01 | 1 | -70/+71 |
| | |||||
* | scons: Revamp how to specify targets to build. | José Fonseca | 2010-11-01 | 1 | -314/+315 |
| | | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me. | ||||
* | dri/nouveau: Re-emit the BO state when coming back from a software fallback. | Francisco Jerez | 2010-10-31 | 1 | -2/+4 |
| | |||||
* | dri/nouveau: Validate the framebuffer state on read buffer changes. | Francisco Jerez | 2010-10-31 | 1 | -0/+7 |
| | |||||
* | dri/nouveau: Fix type promotion issue on 32bit platforms. | Francisco Jerez | 2010-10-31 | 1 | -1/+1 |
| | | | | Fixes some VTX protection errors introduced by e89af209261. | ||||
* | r300/compiler: Don't clobber presubtract sources during optimizations | Tom Stellard | 2010-10-30 | 1 | -39/+37 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=28294 | ||||
* | dri/nouveau: Pipeline glTexSubImage texture transfers. | Francisco Jerez | 2010-10-31 | 2 | -19/+68 |
| | |||||
* | dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram. | Francisco Jerez | 2010-10-31 | 4 | -13/+35 |
| | |||||
* | dri/nouveau: Optimize VBO binding re-emission. | Francisco Jerez | 2010-10-31 | 3 | -26/+84 |
| | |||||
* | dri/nouveau: Split out array handling to its own file. | Francisco Jerez | 2010-10-31 | 9 | -165/+244 |
| | |||||
* | dri/nouveau: Use a macro to iterate over the bound vertex attributes. | Francisco Jerez | 2010-10-31 | 5 | -112/+83 |
| | |||||
* | dri/nouveau: Avoid recursion in nouveau_bo_context_reset(). | Francisco Jerez | 2010-10-31 | 1 | -5/+5 |
| | |||||
* | dri/nouveau: Split out the scratch helpers to a separate file. | Francisco Jerez | 2010-10-31 | 9 | -78/+165 |
| | |||||
* | dri/nouveau: Tell the vbo module we want real hardware BOs. | Francisco Jerez | 2010-10-31 | 1 | -0/+1 |
| | |||||
* | dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range. | Francisco Jerez | 2010-10-31 | 1 | -32/+40 |
| | |||||
* | dri/nouveau: Call _mesa_update_state() after framebuffer invalidation. | Francisco Jerez | 2010-10-30 | 2 | -1/+6 |
| | | | | | Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context. | ||||
* | dri/nv25: Bind a hierarchical depth buffer. | Francisco Jerez | 2010-10-30 | 5 | -8/+34 |
| | |||||
* | dri/nouveau: Don't assert(0) on compressed internal formats. | Francisco Jerez | 2010-10-30 | 1 | -0/+5 |
| | |||||
* | dri/nv20: Clear with the 3D engine. | Francisco Jerez | 2010-10-30 | 1 | -0/+54 |
| | |||||
* | st/mesa: Unreference the sampler view in st_bind_surface. | Chia-I Wu | 2010-10-31 | 1 | -0/+1 |
| | | | | | | | | Without this, update_textures may not pick up the new pipe_resource. It is actually update_textures that should check stObj->sampler_view->texture != stObj->pt, but let's follow st_TexImage and others for now. | ||||
* | osmesa: fix renderbuffer memleak in OSMesaMakeCurrent() | Brian Paul | 2010-10-30 | 1 | -4/+6 |
| | | | | Fixes fd.o bug 31128. | ||||
* | mesa: Make metaops use program refcounts instead of names. | Eric Anholt | 2010-10-29 | 3 | -62/+80 |
| | | | | | | | 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 | 9 | -24/+4499 |
|\ | | | | | | | | | | | | | | | | | 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. | ||||
| * | 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: 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 |
| | |