Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 11 | -4521/+4650 |
| | | | | | | 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 |
| | |||||
* | Merge branch 'primitive-restart-cleanup' | Brian Paul | 2010-10-21 | 9 | -3079/+3155 |
|\ | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out. | ||||
| * | mesa: plug in primitive restart function | Brian Paul | 2010-10-21 | 3 | -0/+18 |
| | | |||||
| * | mesa: regenerated files with primitive restart | Brian Paul | 2010-10-21 | 2 | -3073/+3096 |
| | | |||||
| * | mesa: set/get primitive restart state | Brian Paul | 2010-10-21 | 3 | -6/+40 |
| | | |||||
| * | mesa: driver hook for primitive restart | Brian Paul | 2010-10-21 | 1 | -0/+1 |
| | | |||||
* | | mesa: add missing cases for packing red/green images | Brian Paul | 2010-10-21 | 1 | -0/+48 |
| | | |||||
* | | mesa: add GL_RG case to _mesa_source_buffer_exists() | Brian Paul | 2010-10-21 | 1 | -0/+1 |
|/ | | | | Fixes failure with glReadPixels(format=GL_RG) | ||||
* | mesa: Remove unused vtxfmt_tmp.h. | Chia-I Wu | 2010-10-21 | 1 | -603/+0 |
| | | | | | It was used by the "neutral" tnl module that was dropped in 81ccb3e2ce708619f4c23537a237d61bdffdd35f. | ||||
* | mesa: Remove FEATURE_ARB_shading_language_120 macro. | Kenneth Graunke | 2010-10-20 | 2 | -5/+0 |
| | | | | Everything should be able to support 1.20 at this point. | ||||
* | mesa: Add missing else in do_row_3D | Brian Rogers | 2010-10-18 | 1 | -1/+1 |
| | | | | | | This fixes erroneous "bad format in do_row()" messages Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Add missing header to shaderobj.h. | Vinson Lee | 2010-10-15 | 1 | -0/+1 |
| | | | | Include compiler.h for ASSERT symbol. | ||||
* | glsl: Slightly change the semantic of _LinkedShaders | Ian Romanick | 2010-10-14 | 3 | -19/+20 |
| | | | | | | | | | | | | | | | Previously _LinkedShaders was a compact array of the linked shaders for each shader stage. Now it is arranged such that each slot, indexed by the MESA_SHADER_* defines, refers to a specific shader stage. As a result, some slots will be NULL. This makes things a little more complex in the linker, but it simplifies things in other places. As a side effect _NumLinkedShaders is removed. NOTE: This may be a candidate for the 7.9 branch. If there are other patches that get backported to 7.9 that use _LinkedShader, this patch should be cherry picked also. | ||||
* | mesa: remove post-convolution width/height vars | Brian Paul | 2010-10-14 | 1 | -35/+19 |
| | | | | These were left-over bits from when convolution was removed. | ||||
* | Only install vtxfmt tables for OpenGL | Kristian Høgsberg | 2010-10-14 | 1 | -2/+4 |
| | | | | | | GLES1 and GLES2 install their own exec pointers and don't need the Save table. Also, the SET_* macros use different indices for the different APIs so the offsets used in vtxfmt.c are actually wrong for the ES APIs. | ||||
* | Drop the "neutral" tnl module | Kristian Høgsberg | 2010-10-14 | 4 | -113/+2 |
| | | | | | | | Just always check for FLUSH_UPDATE_CURRENT and call Driver.BeginVertices when necessary. By using the unlikely() macros, this ends up as a 10% performance improvement (for isosurf, anyway) over the old, complicated function pointer swapping. | ||||
* | mesa: Clean up various 'unused parameter' warnings in shaderapi | Ian Romanick | 2010-10-13 | 1 | -6/+14 |
| | |||||
* | mesa: Clean up two 'comparison between signed and unsigned' warnings | Ian Romanick | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | mesa: Refactor validation of shader targets | Ian Romanick | 2010-10-13 | 1 | -10/+33 |
| | | | | | | | | | Actually validate that the implementation supports the particular shader target as well. Previously if a driver only supported vertex shaders, for example, glCreateShaderObjectARB would gladly create a fragment shader. NOTE: this is a candidate for the 7.9 branch. | ||||
* | mesa: Silence unused variable warning | Ian Romanick | 2010-10-13 | 1 | -0/+1 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 137 | -1219/+1219 |
| | |||||
* | Drop GLframebuffer typedef and just use struct gl_framebuffer | Kristian Høgsberg | 2010-10-13 | 6 | -19/+18 |
| | |||||
* | Rename GLvisual and __GLcontextModes to struct gl_config | Kristian Høgsberg | 2010-10-13 | 6 | -46/+33 |
| | |||||
* | gl: Remove unused GLcontextModes fields | Kristian Høgsberg | 2010-10-13 | 3 | -38/+0 |
| | |||||
* | Get rid of GL/internal/glcore.h | Kristian Høgsberg | 2010-10-13 | 5 | -8/+131 |
| | | | | | | | __GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly. | ||||
* | mesa: reformatting, comments, code movement | Brian Paul | 2010-10-12 | 1 | -78/+99 |
| | |||||
* | mesa: remove assertion w/ undeclared variable texelBytes | Brian Paul | 2010-10-12 | 1 | -1/+0 |
| | |||||
* | glsl: add support for shader stencil export | Dave Airlie | 2010-10-13 | 2 | -0/+2 |
| | | | | | This adds proper support for the GL_ARB_shader_stencil_export extension to the GLSL compiler. Thanks to Ian for pointing out where I need to add things. | ||||
* | mesa: improve texstore for 8/24 formats and add texstore for S8. | Dave Airlie | 2010-10-13 | 1 | -119/+144 |
| | | | | | | | | | | | | | this improves mesa texstore for 8/24 so it can create S24X8/X24S8 variants by keeping the depth bits static. it also adds a texstore for S8 so we can write out an S8 texture to use in the sampler for accel draw pixels to save memory bw. The logic seems sound here, I've worked it out a few times on paper, though it would be good to have some review. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: add support for FRAG_RESULT_STENCIL. | Dave Airlie | 2010-10-13 | 1 | -2/+3 |
| | | | | | | this is needed to add support for stencil shader export. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: Validate assembly shaders when GLSL shaders are used | Ian Romanick | 2010-10-12 | 1 | -12/+40 |
| | | | | | | | | | | If an GLSL shader is used that does not provide all stages and assembly shaders are provided for the missing stages, validate the assembly shaders. Fixes bugzilla #30787 and piglit tests glsl-invalid-asm0[12]. NOTE: this is a candidate for the 7.9 branch. | ||||
* | main: Enable GL_ARB_explicit_attrib_location for swrast | Ian Romanick | 2010-10-08 | 1 | -1/+2 |
| | |||||
* | gles2: Add GL_EXT_texture_format_BGRA8888 support | Kristian Høgsberg | 2010-10-07 | 3 | -1/+15 |
| | |||||
* | rgtc: Detect RGTC formats as color formats and as compressed formats | Ian Romanick | 2010-10-01 | 1 | -0/+9 |
| | |||||
* | mesa: Trivial correction to comment | Ian Romanick | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | mesa: Fix misplaced #endif | Ian Romanick | 2010-10-01 | 1 | -1/+1 |
| | | | | | If FEATURE_texture_s3tc is not defined, FXT1 formats would erroneously fall through to the MESA_FORMAT_RGBA_FLOAT32 case. | ||||
* | ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format | Ian Romanick | 2010-10-01 | 1 | -0/+2 |
| | |||||
* | mesa: Add ARB_texture_compression_rgtc as an alias for ↵ | Ian Romanick | 2010-10-01 | 4 | -8/+9 |
| | | | | | | EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT). | ||||
* | mesa: Enable GL_ARB_texture_rg in software paths | Ian Romanick | 2010-10-01 | 1 | -0/+1 |
| | |||||
* | ARB_texture_rg: Allow RED and RG textures as FBO color buffer attachments | Ian Romanick | 2010-10-01 | 1 | -2/+8 |
| | |||||
* | ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats | Ian Romanick | 2010-10-01 | 8 | -30/+515 |
| | |||||
* | ARB_texture_rg: Handle RED and RG the same as RGB for tex env | Ian Romanick | 2010-10-01 | 1 | -0/+6 |
| | |||||
* | ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODE | Ian Romanick | 2010-10-01 | 1 | -1/+2 |
| |