Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Add inclusion guard.
Add forward declaration.
|
|
|
|
|
|
Include mtypes.h for GLcontext symbol.
|
|
|
|
Include mtypes.h for GLcontext symbol.
|
|
Add forward declarations.
Include p_compiler.h for uint symbol.
|
|
Replace mtypes.h with forward declaration.
Include compiler.h for INLINE symbol.
|
|
|
|
Replace dd.h and mtypes.h with a forward declaration.
Include compiler.h for INLINE symbol.
|
|
Replace mtypes.h with forward declarations.
Include compiler.h for INLINE symbol.
|
|
Replace mtypes.h with forward declarations.
Include compiler.h for INLINE symbol.
|
|
|
|
|
|
Include compiler.h for INLINE symbol.
Include mtypes.h for gl_buffer_object symbol.
|
|
Replaced mtypes.h and st_context.h with forward declarations.
Added compiler.h for INLINE symbol.
|
|
Removed mtypes.h.
Include compiler.h for INLINE symbol.
Added forward declarations.
|
|
|
|
|
|
|
|
Include glheader.h for GLenum symbol.
|
|
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.
|
|
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.
|
|
|
|
Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
|
|
|
|
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.
|
|
|
|
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
Fixes FDO bug #29116.
NOTE: this is a candidate for the 7.8 branch
|
|
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.
|
|
|
|
first working version of arb_geometry_shader4
|
|
just like in Gallium it's a basic functionality needed by a lot
of modern graphcis extensions
|
|
|
|
|
|
This change makes gallium behave like other GL implementations and fixes
a conformance failure.
|
|
|
|
geometry shaders emit/end functions don't take any arguments
|
|
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.
|
|
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.
|
|
laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
|
|
|
|
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
|