aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove unnecessary headers.Vinson Lee2010-07-301-1/+0
|
* gallium: Use unified pipe_context::draw_vbo.Chia-I Wu2010-07-291-100/+69
| | | | Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
* st/mesa: get rid of unneeded ureg_writemask()Brian Paul2010-07-231-3/+2
|
* st/mesa: fix bug in emit_adjusted_wpos()Brian Paul2010-07-231-2/+5
| | | | | | | | | If we bias x,y we still need to pass through z,w in case the shader reads gl_FragCoord.z or .w. Fixes fd.o bug 29183 (piglit glsl-bug-22603). NOTE: This is a candidate for the 7.8 branch.
* st/mesa: implement depth clampMarek Olšák2010-07-212-0/+6
|
* st/mesa: implement and advertise GL_ARB_draw_elements_base_vertexMarek Olšák2010-07-202-3/+5
| | | | Signed-off-by: Brian Paul <[email protected]>
* st/mesa: implement depth texture modesMarek Olšák2010-07-201-11/+85
|
* st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 formatMarek Olšák2010-07-191-7/+19
| | | | | | Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch
* st/mesa: fix quad strip trimming bugBrian Paul2010-07-151-27/+57
| | | | | | | | | | | | | | | | The translate_prim() function tries to convert quad strips into tri strips. This is normally OK but we have to check for an odd number of vertices so that we don't accidentally draw an extra triangle. The mesa-demos/src/samples/prim.c demo exercises that. With this fix the stray yellow triangle is no longer drawn. Use the u_trim_pipe_prim() function to make sure that prims have the right number of vertices and avoid calling gallium drawing functions when the prim has a degenerate number of vertices. Plus add comments, clean-up formatting, etc. NOTE: This is a candidate for the 7.8 branch.
* mesa: add comments and change Index2D to just Index2Zack Rusin2010-07-131-3/+3
|
* mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin2010-07-102-9/+13
| | | | first working version of arb_geometry_shader4
* mesa: add basic support for 2D register arrays to mesaZack Rusin2010-07-091-0/+8
| | | | | just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions
* st/mesa: additional assertions in st_translate_mesa_program()Brian Paul2010-07-081-0/+5
|
* gs: inject const int gl_VerticesIn at link timeZack Rusin2010-07-081-9/+2
|
* st/mesa: fix sampler max_lod computationBrian Paul2010-07-071-1/+2
| | | | | This change makes gallium behave like other GL implementations and fixes a conformance failure.
* st/mesa: fix commentBrian Paul2010-07-011-1/+1
|
* mesa: make the arguments in the asm statemants optionalZack Rusin2010-06-291-1/+0
| | | | geometry shaders emit/end functions don't take any arguments
* st/mesa: Add support for multiple APIs.Chia-I Wu2010-06-295-36/+82
| | | | | Add st_gl_api_create_es1 and st_gl_api_create_es2 to create OpeGL ES 1.1 and OpenGL ES 2.0 contexts respectively.
* st_api: Remove st_context::is_visual_supported.Chia-I Wu2010-06-291-8/+0
| | | | | | | | The callback is used by st/vega to check if a visual specifies the depth/stencil format. It forces st/vega to be loaded by st/egl to perform the check. As noted in EGL spec, the depth/stencil format of a visual should not affect OpenVG. It should be better to ignore the field and always allocate the depth/stencil texture.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-2810-5/+435
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* st/mesa: Remove unnecessary headers.Vinson Lee2010-06-261-2/+0
|
* Merge branch 'shader-file-reorg'Brian Paul2010-06-2316-35/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
| * mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-1015-28/+28
| |
| * mesa: refactor shader api / object codeBrian Paul2010-06-102-7/+5
| | | | | | | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* | st/mesa: remove bogus assertions st_CompressedTexSubImage2DRoland Scheidegger2010-06-221-2/+0
|/ | | | | | width/height may not be a multiple of blocksize (small mip levels / npot textures). This should be handled just fine. Fixes #28530.
* st/mesa: attempt to fix TFP by using sampler views (v1)Dave Airlie2010-06-085-10/+63
| | | | | | | | | Okay I think this is good enough for now, I can't see any other reason for mesa to want to use a sampler view so lets just leave it at all the A->X conversions for now. I've been running gnome-shell under r300g with this for day or so and it seems fine. Signed-off-by: Dave Airlie <[email protected]>
* st/mesa: advertise GL_ARB_fragment_program_shadowMarek Olšák2010-06-061-0/+1
| | | | | There is nothing driver-specific about this one. I've also tested it just to be sure.
* st/mesa: trivially enable GL_ATI_texture_env_combine3Marek Olšák2010-06-051-0/+2
| | | | | | | | This extension is implemented in the texenv program. Gallium drivers pass patched glean/texCombine. (I am going to send the patch soon) Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.
* st/mesa: fix bug in depthstencil optimizing clear logicRoland Scheidegger2010-06-051-1/+2
|
* mesa/st: add support for EXT_texture_swizzle.Dave Airlie2010-06-052-2/+59
| | | | | | | | | | | This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <[email protected]>
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-032-14/+32
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * st/mesa: use new ability to clear only depth or stencilRoland Scheidegger2010-05-292-14/+32
| |
* | gallium: silence all debug_named_value related warningsJoakim Sindholt2010-06-031-9/+9
| |
* | st/mesa: fix indirect addressing of input/output regsBrian Paul2010-06-021-4/+9
| | | | | | | | | | | | This fixes an issue that was missed with commit 9f544394c1d059ce09c8bb2b5e11f5e871c7915f. Fixes piglit glsl-texcoord-array.shader_test
* | st/mesa: advertise ARB_half_float_vertex when availableMarek Olšák2010-05-281-0/+7
| | | | | | | | Both softpipe and llvmpipe pass the piglit half float test.
* | st/mesa: Remove unnecessary headers.Vinson Lee2010-05-263-6/+0
|/
* st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz2010-05-211-3/+1
|
* st/mesa: remove unused varBrian Paul2010-05-211-1/+0
|
* gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz2010-05-215-3/+113
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-2121-193/+312
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * st/mesa: fix wrong argument orderRoland Scheidegger2010-05-181-2/+3
| |
| * mesa/st: adapt to interface changesRoland Scheidegger2010-05-1721-194/+314
| | | | | | | | | | adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-211-45/+29
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-45/+29
| | | | | | | | | | | | The linux-debug target builds...
* | | gallium: EXT_timer_query support.Mathias Fröhlich2010-05-172-0/+6
| | | | | | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | | st/mesa: call st_flush_bitmap_cache() from st_readpixels()Brian Paul2010-05-171-0/+3
|/ / | | | | | | | | | | Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613. Reviewed-by: José Fonseca <[email protected]>
* | st/mesa: Remove unnecessary header.Vinson Lee2010-05-131-1/+0
| |
* | mesa/st: Expose pipe driver's shader limits.José Fonseca2010-05-121-89/+19
| |
* | st/mesa: Do not use draw module in OpenGL ES build.Chia-I Wu2010-05-121-0/+2
| | | | | | | | | | | | | | | | This removes references to symbols in draw module for OpenGL ES build. As OpenGL ES does not support feedback/selection mode, draw module is used in pathes that will never be reached. However, if the symbols are referenced, it will bloat the final shared libraries unnecessarily. This is serious when LLVM is enabled.
* | st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.Chia-I Wu2010-05-123-13/+26
| | | | | | | | | | This change allows st_cb_drawtex.h to be used without knowing if FEATURE_OES_draw_texture is enabled.