summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2010-08-04st/mesa: Add missing headers to st_cb_fbo.h.Vinson Lee
2010-08-04st/mesa: Clean up header file inclusion in st_cb_eglimage.h.Vinson Lee
Replace dd.h and mtypes.h with a forward declaration. Include compiler.h for INLINE symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_drawtex.h.Vinson Lee
Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_drawpixels.h.Vinson Lee
Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
2010-08-04st/mesa: Add forward declaration in st_cb_condrender.h.Vinson Lee
2010-08-04st/mesa: Add forward declarations in st_cb_clear.h.Vinson Lee
2010-08-04st/mesa: Include missing headers in st_cb_bufferobjects.h.Vinson Lee
Include compiler.h for INLINE symbol. Include mtypes.h for gl_buffer_object symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_blit.h.Vinson Lee
Replaced mtypes.h and st_context.h with forward declarations. Added compiler.h for INLINE symbol.
2010-08-04st/mesa: Clean up header file inclusion in st_cb_bitmap.h.Vinson Lee
Removed mtypes.h. Include compiler.h for INLINE symbol. Added forward declarations.
2010-08-03st/mesa: Clean up header file inclusion in st_cache.h.Vinson Lee
2010-08-03st/mesa: Add forward declarations in st_atom_shader.h.Vinson Lee
2010-08-03st/mesa: Add forward declarations in st_atom_constbuf.h.Vinson Lee
2010-08-03st/mesa: Include glheader.h in st_atom.h.Vinson Lee
Include glheader.h for GLenum symbol.
2010-07-31mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
2010-07-30st/mesa: better handling of indirect addressing of temp/const register filesBrian Paul
With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305.
2010-07-30mesa: Remove unnecessary headers.Vinson Lee
2010-07-29gallium: Use unified pipe_context::draw_vbo.Chia-I Wu
Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
2010-07-23st/mesa: get rid of unneeded ureg_writemask()Brian Paul
2010-07-23st/mesa: fix bug in emit_adjusted_wpos()Brian Paul
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.
2010-07-21st/mesa: implement depth clampMarek Olšák
2010-07-20st/mesa: implement and advertise GL_ARB_draw_elements_base_vertexMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-07-20st/mesa: implement depth texture modesMarek Olšák
2010-07-19st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 formatMarek Olšák
Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch
2010-07-15st/mesa: fix quad strip trimming bugBrian Paul
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.
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-09mesa: add basic support for 2D register arrays to mesaZack Rusin
just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions
2010-07-08st/mesa: additional assertions in st_translate_mesa_program()Brian Paul
2010-07-08gs: inject const int gl_VerticesIn at link timeZack Rusin
2010-07-07st/mesa: fix sampler max_lod computationBrian Paul
This change makes gallium behave like other GL implementations and fixes a conformance failure.
2010-07-01st/mesa: fix commentBrian Paul
2010-06-29mesa: make the arguments in the asm statemants optionalZack Rusin
geometry shaders emit/end functions don't take any arguments
2010-06-29st/mesa: Add support for multiple APIs.Chia-I Wu
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.
2010-06-29st_api: Remove st_context::is_visual_supported.Chia-I Wu
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.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-26st/mesa: Remove unnecessary headers.Vinson Lee
2010-06-23Merge branch 'shader-file-reorg'Brian Paul
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
2010-06-22st/mesa: remove bogus assertions st_CompressedTexSubImage2DRoland Scheidegger
width/height may not be a multiple of blocksize (small mip levels / npot textures). This should be handled just fine. Fixes #28530.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: refactor shader api / object codeBrian Paul
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
2010-06-08st/mesa: attempt to fix TFP by using sampler views (v1)Dave Airlie
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 <airlied@redhat.com>
2010-06-06st/mesa: advertise GL_ARB_fragment_program_shadowMarek Olšák
There is nothing driver-specific about this one. I've also tested it just to be sure.
2010-06-05st/mesa: trivially enable GL_ATI_texture_env_combine3Marek Olšák
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.
2010-06-05st/mesa: fix bug in depthstencil optimizing clear logicRoland Scheidegger
2010-06-05mesa/st: add support for EXT_texture_swizzle.Dave Airlie
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 <airlied@redhat.com>
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
2010-06-03gallium: silence all debug_named_value related warningsJoakim Sindholt
2010-06-02st/mesa: fix indirect addressing of input/output regsBrian Paul
This fixes an issue that was missed with commit 9f544394c1d059ce09c8bb2b5e11f5e871c7915f. Fixes piglit glsl-texcoord-array.shader_test
2010-05-29st/mesa: use new ability to clear only depth or stencilRoland Scheidegger
2010-05-28st/mesa: advertise ARB_half_float_vertex when availableMarek Olšák
Both softpipe and llvmpipe pass the piglit half float test.