Brian Paul
71be653edc
updated with bug fix from 3.4 branch
преди 26 години
Brian Paul
5605385194
fixed mipmap setup bug
преди 26 години
Keith Whitwell
14425aeca1
fixed very obvious fog bug
преди 26 години
Brian Paul
7298e71360
adjust x/y/zoffset parameters to fill_texture_image() by texture border width
преди 26 години
Brian Paul
2d595d7020
test ctx->RenderMode in chooser functions
преди 26 години
Brian Paul
8d915cb6fb
test ctx->RenderMode in chooser functions, removed dead code
преди 26 години
Brian Paul
4f3e7cd3cf
added a setup function for selection/feedback
преди 26 години
Brian Paul
8fa6b363db
added buffer test to xmesa_choose_point(), fixes X protocol error
преди 26 години
Jouk Jansen
790ea3dc7f
Committing in .
Modified Files:
Mesa/src/descrip.mms Mesa/src/mms_depend
Updating VMS compile support
----------------------------------------------------------------------
преди 26 години
Brian Paul
861ca519ab
removed obsolete VB vars
преди 26 години
Brian Paul
b2ad0754b0
added swrast/s_aaline.c
преди 26 години
Brian Paul
0070d398d1
hooked in new AA line code, minor clean-up
преди 26 години
Brian Paul
7798374e47
New implementation of antialiased lines. Mesa should now pass the remaining
GL conformance tests for AA lines (but not tried yet).
TODO: improve code sharing with the AA triangle code.
преди 26 години
Keith Whitwell
14940c4ffe
- Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
expected to be able to find a triangle/quad function for every state,
even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
underscore '_'.
преди 26 години
Keith Whitwell
1e885f6e6c
Reworked to use the new software rasterizer. Optimized line/tri functions
are hooked into the software rasterizer.
преди 26 години
Keith Whitwell
ec0585883a
Use the new software rasterizer. Reworked optimized line,tri,point
functions to fit into the framework provided for extending the
software rasterizer.
преди 26 години
Keith Whitwell
cd03ed4f54
Reorganized software rasterizer as a module which manages its own state,
with tighter interfaces with the rest of the world.
Proper documentation to come.
преди 26 години
Keith Whitwell
7c20642b10
A new module to provide RasterSetup and advanced triangle/line/point
functionality layered on top of the software rasterizer.
An example entrypoint:
void _swsetup_Triangle( GLcontext, GLuint, GLuint, GLuint, GLuint )
will coerce the software rasterizer to draw flat, twoside-lit,
unfilled and offset triangles (including decomposition to points or lines).
преди 26 години
Keith Whitwell
c6f348cbc9
Lots of changes:
- use the new interface to the software rasterizer.
- manage all fallbacks internally, hooking in swrast or
swrast_setup if necessary.
- removed lots of marginal code no longer appropriate in a
maturing driver.
- reworked the vertex-setup and triangle routines, including
drawing unfilled triangles from within the driver.
преди 26 години
Brian Paul
a190221f70
update to GL_MESA_trace extension enums
преди 26 години
Brian Paul
8e4fa8c3e6
MESA_trace extension (Loki)
преди 26 години
Brian Paul
44bd53f259
added GL_MESA_packed_depth_stencil extension
преди 26 години
Brian Paul
fcb23bbd6e
GL_MESA_packed_depth_stencil extension spec
преди 26 години
Brian Paul
75d7425061
added some missing backslashes
преди 26 години
Gareth Hughes
5f5632c424
Change transformation from ortho to perspective so we get the MGA elt
path by default.
преди 26 години
Brian Paul
861eb8eb16
update for separate libOSMesa.so lib
преди 26 години
Brian Paul
563d26b247
print number of texture units
преди 26 години
Jouk Jansen
b35ec1ca05
Committing in .
Modified Files:
Mesa/src/descrip.mms
Updated Makefiles for VMS
----------------------------------------------------------------------
преди 26 години
Gareth Hughes
9f568e512f
Added trivial CVA test for testing HW driver fastpaths, good for testing
indexed vertex buffer implementations for instance.
Cleaned up Makefile to make building and adding more tests easier.
преди 26 години
Brian Paul
acdb6db846
Always call Driver.SetReadBuffer() in copy pixels functions, just to be safe
преди 26 години
Brian Paul
fda3b1a4b1
added comment explaining why the demo is flawed
преди 26 години
Keith Whitwell
724abeb058
Moved the software rasterizer to a new directory.
преди 26 години
Keith Whitwell
e3a051e053
Moved software rasterizer functionality to new directory.
преди 26 години
Keith Whitwell
6e0f0f51e0
Remove dead code in FX driver.
преди 26 години
Brian Paul
039bf534aa
removed debug printf
преди 26 години
Brian Paul
efeddebe81
big overhaul of the demo, works better now
преди 26 години
Keith Whitwell
365dc68c39
Rearrange VERT_* flags to support 4 texture units.
преди 26 години
Brian Paul
9499e017b7
Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
преди 26 години
Keith Whitwell
caef4a35d6
Removed references to gcc's __FUNCTION__ macro.
Removed dead file fog_tmp.h
преди 26 години
Brian Paul
6ad2c5b59a
set *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans weren't set
преди 26 години
Keith Whitwell
69676ac379
test cvs commit logging
преди 26 години
Keith Whitwell
a96308c37d
Replace the flags Mesa was using for ctx->NewState with a new set
based on the GL attribute groups.
Introduced constants describing the circumstances under which some
key derived values can change:
_SWRAST_NEW_RASTERMASK -- ctx->RasterMask
_SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle
function
_DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps
These are helpful in deciding whether you need to recalculate state if your
recalculation involves reference to a derived value.
преди 26 години
Jouk Jansen
a457549967
Committing in .
Modified Files:
Mesa/src/X/xm_api.c
included macros.h
----------------------------------------------------------------------
преди 26 години
Brian Paul
193005393d
renamed Current.ByteColor Current.Color
преди 26 години
Brian Paul
ebb248aa5c
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
преди 26 години
Brian Paul
699bc7b73d
More GLchan color channel changes.
Some header file re-org:
Move matrix, vertex buffer structs to types.h to fix #include mess.
Remove typedef, extern declarations from config.h
преди 26 години
Brian Paul
c893a015d8
New colormac.h file for color-related macros.
Lot's of clean-up in macros.h and mmath.h
преди 26 години
Brian Paul
ba643a2094
Basic work to support deep color channels:
Replace GLubyte with GLchan
Replace 255 with CHAN_MAX
преди 26 години
Keith Whitwell
a897b335be
Do per-pixel fog when GL_FOG_HINT is GL_NICEST.
Fix scaling bug in per-pixel fog calculations.
преди 26 години
Jon Taylor
1aa958bc9c
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
преди 26 години