| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
|
| |
|
|
|
|
|
|
| |
The clamping for these values depends on whether we're drawing AA or non-AA
points, lines. Defer clamping until drawing time. Drivers could compute and
keep clamped AA and clamped non-AA values if desired.
|
|
|
|
|
| |
Instead of separate fog/specular/texcoord/varying code, just treat all of
them as generic attributes. Simplifies the point/line/triangle functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
alias with the corresponding ARB functions.
GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias
with conventional vertex attributes, as GL_NV_vertex_program does.
So, the ARB and NV version of VertexAttrib need to be distinct.
|
|
|
|
|
| |
programs are enabled and if they need secondary color input register.
Patch by Karl Rasche, with tweaks by Brian.
|
|
|
|
|
| |
New macros in context.h for testing state: NEED_SECONDARY_COLOR
and NEED_TWO_SIDED_LIGHTING.
|
|
|
|
| |
explicit casts and/or tweaking constant and variable definitions.
|
|
|
|
|
|
| |
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
|
| |
|
|
|
|
|
| |
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
data are broken out into a new struct span_arrays which is allocated
per-context (to avoid huge stack allocations - a problem on Windows).
This lets us use span.redStep instead of span->redStep (for example) to
hopefully get slightly better performance in the triangle functions.
|
|
|
|
|
|
|
|
|
| |
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
field is obsolete, but still present for now. This effectively
removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
|
|
|
|
|
| |
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger)
This should solve the performance problem Karl found on Windows.
|
| |
|
|
|
|
| |
type, width, interp mask and array mask.
|
| |
|
|
|
|
|
| |
Big clean-up of line drawing code.
Removed many obsolete span processing functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove 'swrast->_MultiTexEnabled' derived value.
|
| |
|
|
|
|
|
|
| |
Replaced SEPERATE with SEPARATE.
Renumbered _NEW_ flags.
Removed _NEW_COLORTABLE.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
texturing is not enabled, and without requiring the two colors be
added externally.
As a part of this, collapsed the decomposition of quads into triangles
inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch].
Removed checks on texture state from t_vb_light.c, which was previously
required by swrast.
Moved the t_dd_ templates to a new directory.
|
|
|
|
|
| |
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
|
| |
|
|
|
|
|
|
|
|
| |
Mesa/src/descrip.mms Mesa/src/swrast/s_lines.c
VMS compile support
Added some Type casts to avoid warnings
----------------------------------------------------------------------
|
|
|
|
|
|
|
| |
Completely removed the dirty texture object list. Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
math: Provides basic matrix and vector functionality that
might be useful to multiple software t&l
implementations, and is used by core mesa to
manage the Model, Project, etc matrices.
tnl: The real transform & lighting code from core mesa,
including everything from glVertex3f through vertex
buffer handling, transformation, clipping, lighting
and handoff to a driver for rasterization.
The interfaces of these can be further tightened up, but the basic
splitting up of state and code move is done.
|
|
|
|
|
|
|
|
|
|
|
|
| |
into a new directory. Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.
Moved several derived values used only by swrast into that directory.
Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.
Optimized flat-shading case in swrast_setup.
|
| |
|
| |
|