Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | targets: Add missing quotes to Makefile.xorg. | Chia-I Wu | 2010-10-29 | 1 | -1/+1 |
| | | | | | | Fix $ make CC="ccache gcc" | ||||
* | Merge branch 'glapi-reorg' | Chia-I Wu | 2010-10-29 | 28 | -9252/+7786 |
|\ | | | | | | | | | | | | | | | | | 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 | 7 | -5109/+3786 |
| | | | | | | | | | | | | | | | | | | 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: Do not use glapioffsets.h. | Chia-I Wu | 2010-10-27 | 10 | -3124/+3110 |
| | | | | | | | | | | | | | | glapioffsets.h exists for the same reason as glapidispatch.h does. It is of no use to glapi. This commit also drops the use of glapioffsets.h in glx as glx is considered an extension to glapi when it comes to defining public GL entries. | ||||
| * | glapi: Move glapidispatch.h to core mesa. | Chia-I Wu | 2010-10-27 | 5 | -8/+8 |
| | | | | | | | | It is a core mesa header, not a glapi header. | ||||
| * | glapi: Do not use glapidispatch.h. | Chia-I Wu | 2010-10-27 | 7 | -54/+40 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | autoconf: Update configuration info. | Chia-I Wu | 2010-10-29 | 1 | -23/+40 |
| | | | | | | | | Output API info first. Move GLU/GLw/GLUT and EGL near driver info. | ||||
* | | docs: Update egl and openvg docs. | Chia-I Wu | 2010-10-29 | 2 | -48/+28 |
| | | |||||
* | | autoconf: Better client API selection. | Chia-I Wu | 2010-10-29 | 1 | -97/+180 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make autoconf decide the client APIs enabled first. Then when OpenGL and OpenGL ES are disabled, there is no need to build src/mesa/; when OpenGL is disabled, no $mesa_driver should be built. Finally, add --enable-openvg to enable OpenVG. With these changes, an OpenVG only build can be configured with $ ./configure --disable-opengl --enable-openvg src/mesa, src/glsl, and src/glx will be skipped, which saves a great deal of compilation time. And an OpenGL ES only build can be configured with $ ./configure --disable-opengl --enable-gles-overlay | ||||
* | | 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 | 5 | -112/+303 |
| | | | | | | | | 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 | 10 | -4961/+7216 |
| | | |||||
* | | glapi: include EXT_gpu_shader4.xml | Brian Paul | 2010-10-28 | 2 | -0/+3 |
| | | |||||
* | | glapi: xml spec file for GL_EXT_gpu_shader4 | Brian Paul | 2010-10-28 | 1 | -0/+244 |
| | | |||||
* | | vbo: re-indent file | Brian Paul | 2010-10-28 | 1 | -181/+234 |
| | | |||||
* | | mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer() | Brian Paul | 2010-10-28 | 2 | -3/+1 |
| | | |||||
* | | i965: Update the gen6 stencil ref state when stencil state changes. | Eric Anholt | 2010-10-28 | 1 | -1/+1 |
| | | | | | | | | Fixes 6 piglit tests about stencil operations. | ||||
* | | i965: Upload required gen6 VS push constants even when using pull constants. | Eric Anholt | 2010-10-28 | 1 | -8/+18 |
| | | | | | | | | Matches pre-gen6, and fixes glsl-vs-large-uniform-array. | ||||
* | | i965: Update gen6 SF state when point state (sprite or attenuation) changes. | Eric Anholt | 2010-10-28 | 1 | -0/+1 |
| | | |||||
* | | i965: Add user clip planes support to gen6. | Eric Anholt | 2010-10-28 | 5 | -31/+123 |
| | | | | | | | | | | Fixes piglit user-clip, and compiz desktop switching when dragging a window and using just 2 desktops. Bug #30446. | ||||
* | | gallivm: Remove the EMMS opcodes. | José Fonseca | 2010-10-28 | 2 | -15/+0 |
| | | | | | | | | | | Unnecessary now that lp_set_target_options() successful disables MMX code emission. | ||||
* | | gallivm: always enable LLVMAddInstructionCombiningPass() | José Fonseca | 2010-10-28 | 1 | -7/+1 |
| | | |||||
* | | gallium: Avoid using __doc__ in python scripts. | José Fonseca | 2010-10-28 | 3 | -6/+6 |
| | | |||||
* | | st/mesa: Silence uninitialized variable warning. | Vinson Lee | 2010-10-28 | 1 | -0/+4 |
| | | | | | | | | | | | | Fixes this GCC warning. state_tracker/st_program.c: In function 'st_print_shaders': state_tracker/st_program.c:735: warning: 'sh' may be used uninitialized in this function | ||||
* | | r300/compiler: Use rc_get_readers_normal() for presubtract optimizations | Tom Stellard | 2010-10-27 | 1 | -175/+118 |
| | | |||||
* | | i965: Add bit operation support to the fragment shader backend. | Kenneth Graunke | 2010-10-27 | 1 | -3/+12 |
| | | |||||
* | | i965: Make FS uniforms be the actual type of the uniform at upload time. | Eric Anholt | 2010-10-27 | 6 | -9/+81 |
| | | | | | | | | | | | | | | | | This fixes some insanity that would otherwise be required for GLSL 1.30 bit ops or gen6 integer uniform operations in general, at the cost of upload-time pain. Given that we only have that pain because mesa's mangling our integer uniforms to be floats, this something that should be fixed outside of the shader codegen. | ||||
* | | docs: add GL_EXT_separate_shader_objects to release notes | Ian Romanick | 2010-10-27 | 1 | -0/+1 |
| | | |||||
* | | intel: Enable GL_EXT_separate_shader_objects in Intel drivers | Ian Romanick | 2010-10-27 | 1 | -0/+2 |
| | | |||||
* | | swrast: Enable GL_EXT_separate_shader_objects in software paths | Ian Romanick | 2010-10-27 | 1 | -0/+1 |
| | |