Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dri/drivers: update driNewRenderbuffer() to take a gl_format | Brian Paul | 2009-10-22 | 20 | -145/+136 |
| | | | | | | | | Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix. | ||||
* | radeon: simplify radeon_create_renderbuffer() | Brian Paul | 2009-10-22 | 3 | -29/+27 |
| | |||||
* | r600: fix depth span macros for format changes | Alex Deucher | 2009-10-22 | 1 | -4/+4 |
| | |||||
* | radeon: fix some renderbuffer format bugs | Brian Paul | 2009-10-22 | 2 | -7/+7 |
| | |||||
* | i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 | Brian Paul | 2009-10-21 | 1 | -2/+2 |
| | | | | And change parameter type. | ||||
* | radeon: get rid of z24s8 <-> s8z24 conversions in span code | Brian Paul | 2009-10-21 | 1 | -26/+8 |
| | | | | | Can just use s8z24 everywhere. Note: the WRITE_DEPTH macro for R600 may need to be fixed. | ||||
* | radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 | Brian Paul | 2009-10-21 | 3 | -6/+6 |
| | | | | | Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore. | ||||
* | intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions | Brian Paul | 2009-10-21 | 4 | -31/+19 |
| | |||||
* | i965: change parameter type to gl_format | Brian Paul | 2009-10-21 | 1 | -1/+2 |
| | |||||
* | dri/common: updated #includes | Brian Paul | 2009-10-15 | 1 | -6/+2 |
| | |||||
* | dri/common: use _mesa_little_endian() and update comments | Brian Paul | 2009-10-15 | 1 | -7/+5 |
| | |||||
* | dri/common: fix broken _dri_texformat_* initializations | Brian Paul | 2009-10-15 | 1 | -4/+4 |
| | |||||
* | radeon: initialize renderbuffer Format field in radeon_create_renderbuffer() | Brian Paul | 2009-10-14 | 1 | -2/+9 |
| | | | | Plus, use MESA_FORMAT_S8_Z24 everywhere. | ||||
* | mesa: remove a bunch of gl_renderbuffer fields | Brian Paul | 2009-10-08 | 19 | -282/+121 |
| | | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries. | ||||
* | drivers: don't include texformat.h | Brian Paul | 2009-10-05 | 46 | -93/+36 |
| | | | | And remove other unneeded #includes while we're at it. | ||||
* | mesa: lift _mesa_set_fetch_functions() calls out of drivers | Brian Paul | 2009-10-05 | 3 | -10/+0 |
| | | | | Call it from in the main Mesa glTexImage functions. | ||||
* | mesa: removed gl_texture_image::CompressedSize field | Brian Paul | 2009-10-01 | 4 | -29/+31 |
| | | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size. | ||||
* | mesa: move mesa_set_fetch_functions() | Brian Paul | 2009-10-01 | 3 | -0/+3 |
| | |||||
* | radeon: fix tx_table[] entry | Brian Paul | 2009-10-01 | 1 | -1/+1 |
| | | | | XXX need to still verify that the table entries are in correct order. | ||||
* | savage: s/Xfree/_mesa_free/ | Brian Paul | 2009-10-01 | 1 | -1/+1 |
| | |||||
* | mesa: remove gl_texture_image::IsCompressed field | Brian Paul | 2009-10-01 | 11 | -39/+36 |
| | | | | Use _mesa_is_format_compressed() instead. | ||||
* | mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead | Brian Paul | 2009-09-30 | 1 | -2/+2 |
| | | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY. | ||||
* | mesa: replace gl_texture_format with gl_format | Brian Paul | 2009-09-30 | 45 | -467/+512 |
| | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next. | ||||
* | glide: use _mesa_texstore() | Brian Paul | 2009-09-28 | 1 | -48/+35 |
| | |||||
* | drivers: use _mesa_texstore | Brian Paul | 2009-09-28 | 2 | -29/+29 |
| | |||||
* | drivers: use new _mesa_texstore() function | Brian Paul | 2009-09-28 | 5 | -106/+87 |
| | |||||
* | drivers: use more mesa format functions | Brian Paul | 2009-09-27 | 6 | -22/+32 |
| | |||||
* | mesa/drivers: use _mesa_get_format_bytes() | Brian Paul | 2009-09-27 | 14 | -49/+72 |
| | |||||
* | mesa/drivers: use _mesa_get_format_bytes() | Brian Paul | 2009-09-27 | 7 | -16/+15 |
| | |||||
* | via: use mesa texture format helper functions | Brian Paul | 2009-09-27 | 1 | -10/+5 |
| | |||||
* | glide: use _mesa_get_format_bytes() | Brian Paul | 2009-09-27 | 2 | -3/+5 |
| | |||||
* | mesa: use _mesa_get_format_base_format() | Brian Paul | 2009-09-27 | 1 | -1/+2 |
| | |||||
* | mesa: use _mesa_get_texstore_func() | Brian Paul | 2009-09-27 | 5 | -57/+87 |
| | |||||
* | glide: use _mesa_get_texstore_func() | Brian Paul | 2009-09-27 | 1 | -35/+51 |
| | |||||
* | Merge branch 'asm-shader-rework-2' | Ian Romanick | 2009-09-25 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: src/mesa/shader/program_parse.tab.c | ||||
| * | Merge branch 'master' into asm-shader-rework-2 | Ian Romanick | 2009-09-10 | 80 | -1771/+2506 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.tab.h | ||||
| * | | Enable GL_NV_fragment_program_option for software rendering | Ian Romanick | 2009-09-03 | 1 | -0/+1 |
| | | | | | | | | | | | | At this point the extension is not fully implemented. | ||||
* | | | radeon: Fix newlines. | Michal Krol | 2009-09-25 | 1 | -14/+14 |
| | | | |||||
* | | | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-25 | 5 | -20/+10 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_clear.c | ||||
| * | | | intel: Flush the batch when we're about to subdata into a VBO.mesa_7_6_rc1 | Eric Anholt | 2009-09-24 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the clears in openarena with the new metaops clear code, and the new piglit vbo-subdata-sync test. Bug #23857. | ||||
| * | | | i965: Clean up some mess with the batch cache. | Eric Anholt | 2009-09-24 | 3 | -18/+5 |
| | | | | | | | | | | | | | | | | | | | | Its flagging of extra state that's already flagged by the vtbl new_batch when appropriate was confusing my tracking down of the OA clear bug. | ||||
* | | | | mesa: _mesa_meta_GenerateMipmap() now working | Brian Paul | 2009-09-24 | 1 | -33/+172 |
| | | | | | | | | | | | | | | | | | | | | Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP. But GL_TEXTURE_3D and texture borders not supported yet. | ||||
* | | | | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-24 | 4 | -2/+25 |
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_array.c | ||||
| * | | | i965: Emit zero initialization for NV VP temporaries as required. | Eric Anholt | 2009-09-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp. | ||||
| * | | | i965: Remove assert about NV_vp now that it somewhat works. | Eric Anholt | 2009-09-24 | 1 | -2/+0 |
| | | | | |||||
| * | | | i965: Load NV program matrices when required. | Eric Anholt | 2009-09-24 | 1 | -0/+3 |
| | | | | |||||
| * | | | intel: use default array/element buffers in intel_generate_mipmap() | Brian Paul | 2009-09-24 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there happened to be a bound VBO when intel_generate_mipmap() was called we blew up because of a bad vertex array pointer. Fixes regnumonline, bug 23859. | ||||
* | | | | Merge branch 'mesa_7_6_branch' | Pauli Nieminen | 2009-09-24 | 2 | -6/+7 |
|\| | | | |||||
| * | | | radeon: Fix scissors for r600 KMS. | Pauli Nieminen | 2009-09-24 | 2 | -6/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive. | ||||
* | | | | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-24 | 1 | -2/+16 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c |