summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Convert some uses of get option to staticJakob Bornecrantz2010-04-233-6/+15
|
* gallium: Add static get option helpersJakob Bornecrantz2010-04-231-0/+33
|
* gallium: Add option to not print optionsJakob Bornecrantz2010-04-231-10/+32
|
* gallium: s/free/FREE/ and same for friends.José Fonseca2010-04-2311-30/+30
| | | | Based on Stephen Johnson's feedback.
* st/mesa: re-do binding flags in st_ChooseTextureFormat(), againBrian Paul2010-04-231-12/+17
| | | | | | | | | | Try to specify render target bindings flags first. If that fails, try again with just sampler view binding. Note that we try to create the texture resource with render target binding flags later when we allocate the texture. Then, in FBO validation, we check if we can actually render to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT. Changes suggested by Jose.
* st/mesa: replace 'usage' with 'bindings'Brian Paul2010-04-231-12/+20
|
* st/mesa: replace 'usage' with 'bindings' to be consistentBrian Paul2010-04-231-10/+6
| | | | Plus, update comments and formatting.
* Merge branch '7.8'Ian Romanick2010-04-231-0/+2
|\
| * Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig ↵7.8-branchpointAaron Plattner2010-04-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tags. __glXInitializeVisualConfigFromTags doesn't skip the payload of unrecognized tags. Instead, it treats the value as if it were the next tag, which can happen if the server's GLX extension is not Mesa's. For example, this falls down when NVIDIA sends a GLX_FLOAT_COMPONENTS_NV = 0 pair, causing __glXInitializeVisualConfigFromTags to bail out early. Signed-off-by: Aaron Plattner <[email protected]> Signed-off-by: Ian Romanick <[email protected]>
* | draw: use FREE() instead of free()Stephen Johnson2010-04-231-1/+1
| |
* | st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed texturesBrian Paul2010-04-231-5/+7
| |
* | st/mesa: get rid of default_deep_rgba_format()Brian Paul2010-04-231-23/+1
| | | | | | | | | | This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago.
* | mesa: make is_compressed_format() non-staticBrian Paul2010-04-233-38/+40
| |
* | mesa: faster, simpler is_compressed_format()Brian Paul2010-04-231-18/+24
| |
* | llvmpipe: rename texture refs to resource refsBrian Paul2010-04-233-26/+34
| |
* | llvmpipe: update for half float formatsAlan Hourihane2010-04-231-1/+1
| |
* | st/xlib: Try to propagate failure to create framebuffer.José Fonseca2010-04-231-3/+10
| | | | | | | | Doesn't help much, since it is ignored by st_framebuffer_validate.
* | softpipe: YUV textures should be supported.José Fonseca2010-04-231-4/+0
| |
* | mesa/st: Remove dead members.José Fonseca2010-04-231-1/+0
| |
* | sw/xlib: Fallback to XPutImage when shmget fails.José Fonseca2010-04-231-6/+5
| | | | | | | | | | | | | | After continuously running regression tests on Ubuntu for 2 days, shmget mysteriously starts to fail. Even when the X server is reset. This allow rendering to proceed, albeit using a slower presentation path.
* | llvmpipe: increase max 2D texture / surface size to 4K x 4KBrian Paul2010-04-231-1/+1
| |
* | llvmpipe: rename MAXWIDTH, MAXHEIGHTBrian Paul2010-04-233-6/+6
| |
* | llvmpipe: rename lp_tile_size.h to lp_limits.hBrian Paul2010-04-235-7/+10
| | | | | | | | Collect the various driver limits in one place since.
* | llvmpipe: move LP_MAX_TEXTURE_x_LEVELS, etc to lp_tile_size.hBrian Paul2010-04-233-8/+19
| |
* | Merge remote branch 'origin/7.8'Jerome Glisse2010-04-231-1/+4
|\|
| * r600: don't enable depth test if there is no depth bufferJerome Glisse2010-04-231-1/+4
| | | | | | | | | | | | | | | | If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <[email protected]>
* | Merge branch '7.8'Michel Dänzer2010-04-232-0/+4
|\|
| * glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.Michel Dänzer2010-04-231-0/+2
| |
| * radeon: 9800 SE has only one quadpipeTormod Volden2010-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <[email protected]>
* | llvmpipe: Remove unused variable.Vinson Lee2010-04-231-2/+0
| |
* | i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt2010-04-221-1/+1
| | | | | | | | Fixes assertion failure in fbo-generatemipmap-npot.
* | i965: Fix scissoring when width or height is 0.Eric Anholt2010-04-221-1/+14
| | | | | | | | | | | | | | | | We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
* | gallivm: implement indirect addressing over temporariesZack Rusin2010-04-224-40/+74
| | | | | | | | | | | | a bit more involved than indirect addressing over consts, but still fairly reasonable. we allocate an array instead of individual alloca's, and we do it only if the shader does indirect addressing.
* | gallivm: implement indirect addressing over constantsZack Rusin2010-04-221-14/+36
| | | | | | | | | | | | implement indirect addressing (ARL and ARR instructions) when used with CONST's. indirect addressing over other vars (temps, inputs, outputs) is not supported yet.
* | gallium: use better param nameBrian Paul2010-04-221-2/+2
| |
* | gallivm: remove Z/stencil special case code in lp_build_sample_offset()Brian Paul2010-04-221-46/+8
| | | | | | | | Fixes progs/tests/zreaddraw.c and progs/demos/shadowtex.c
* | st/mesa: assert that binding flags are properly set for drawing surfacesBrian Paul2010-04-221-0/+10
| |
* | st/mesa: fix binding flags in st_ChooseTextureFormat()Brian Paul2010-04-221-1/+14
| | | | | | | | See comment for more info.
* | DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes2010-04-222-2/+50
| | | | | | | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
* | DRI2: add config query extensionJesse Barnes2010-04-228-1/+64
| | | | | | | | | | Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
* | llvmpipe: Undo zs tiling changes.José Fonseca2010-04-221-0/+4
| | | | | | | | | | | | tile_w/tile_h have different meaning there. This partialy reverts commit ccdc6b5913885866e100780bfd661672c9a5d23c.
* | gallium/docs: Unswap PIPE_BIND_SHARED's comment.José Fonseca2010-04-221-3/+4
| |
* | gallium/docs: many updates to screen.rstBrian Paul2010-04-221-61/+93
| | | | | | | | | | | | | | | | | | | | Put PIPE_BIND_ and PIPE_TEXTURE_GEOM_ prefixes on token names so that they can be found with grep. This needs to be done in more places. Corrected/improved a lot of information and grammer. I don't know how to properly format everything - someone else can take care of that.
* | llvmpipe: Portability fixes.José Fonseca2010-04-222-4/+4
| |
* | llvmpipe: Fix rendering to non 32bpp formats.José Fonseca2010-04-223-20/+22
| | | | | | | | | | Tiled layout always used 32bpp, therefore linear/tiled strides are not related.
* | gallivm: update commentsZack Rusin2010-04-221-3/+12
| |
* | gallivm: fix nested cont statementsZack Rusin2010-04-221-1/+1
| |
* | gallivm: fix nested break statemantsZack Rusin2010-04-221-2/+3
| |
* | gallivm: make sure we return the correct type when approximating log'sZack Rusin2010-04-221-1/+3
| |
* | llvmpipe: Use resource_is_texture() consistently.José Fonseca2010-04-222-25/+16
| | | | | | | | | | | | | | | | | | Otherwise slightly difference order causes assertion failures. Also remove mentions of PIPE_BIND_SCANOUT/PIPE_BIND_SHARED. They are not propoer bind flags and will likely be deprecated. If surfaces should be passed to the winsys then they should have the DISPLAY_TARGET flag set, which is a proper bind flag.