History log of /external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
320b5abda5026f23f327c6f60c1b6287cc507e78 03-Jan-2013 smoki <smoki00790@gmail.com> radeon/r200: Fix tcl culling

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=57842
(cherry picked from commit 5bf357db89836d0f4e4b8a4cb559755d4734b81b)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
4cb3579e52fed48d623698610e31d05ac8c8946f 26-Jun-2012 Brian Paul <brianp@vmware.com> mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask

Since it's a derived field.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
47941bfaea6e8a60e2c31f7a2c8c233f2a10ecb1 20-Apr-2012 Brian Paul <brianp@vmware.com> radeon: use _mesa_is_winsys/user_fbo() helpers

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
c90ae6b501a4a72d33869e1be241e87264747735 12-Mar-2012 Brian Paul <brianp@vmware.com> radeon/r200: remove ClearColor driver functions

The state.color.clear value was never used anywhere.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
e0ed951e1361e54ffd8e9c56fbcc2027c0c4bd24 12-Mar-2012 Brian Paul <brianp@vmware.com> radeon/r200: remove ClearDepth() and ClearStencil() driver hooks

The computed stencil.clear and depth.clear values aren't used anywhere.
Those fields have been removed too.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
c080202db5363a18a759a9a7c82b40ac558c8abe 16-Jan-2012 Brian Paul <brianp@vmware.com> radeon: derive radeon_renderbuffer from swrast_renderbuffer
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d24b81e0e0f4109f3256dc45b0adc5ffd59fb749 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove cliprect information from __DRIdrawable
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
56d30bb00d40cd391d7a469604792a27ddcc459c 29-Oct-2011 Dave Airlie <airlied@redhat.com> radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel

This drops all the old drmSupports* checks since KMS does them all, and it
also drop R300_CLASS and R600_CLASS.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
4a2f00889ba481c117057da5fac7585327458cc3 14-Oct-2011 Eric Anholt <eric@anholt.net> r200: Drop the non-kernel-memory-manager and DRI1 code.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
8530d72c4e6ca8b8c741554ac446dd2ba8150e2e 18-Sep-2011 Brian Paul <brianp@vmware.com> r200: use _mesa_unclamped_float_rgba_to_ubyte()
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
81a86aea4f0990a1b8795f9e00e7a6c4ba368281 14-Sep-2011 Dave Airlie <airlied@redhat.com> mesa/colormac: introduce inline helper for 4 unclamped float to ubyte.

This introduces an UNCLAMPED_FLOAT_TO_UBYTE x 4 inline function, as
suggested by Brian. It uses it in a few places I noticed from previous
color changes, and also some core mesa places. I haven't updated other places
yet.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
093dc9e548537e6c77e33064a584f849ad90dfa5 12-Sep-2011 Dave Airlie <airlied@redhat.com> mesa: introduce a clear color union to be used for int/unsigned buffers

This introduces a new gl_color_union union and moves the current
ClearColorUnclamped to use it, it removes current ClearColor completely and
renames CCU to CC, then all drivers are modified to expected unclamped floats instead.

also fixes st to use translated color in one place it wasn't.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
74713e2d293f9e796a4053a5a99ee5cb7df5c740 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d9a19d8649e49acfac98c240bff88931be7743d7 12-Mar-2010 Alex Deucher <alexdeucher@gmail.com> r100/r200/r300/r600: enable accel for Copy/DrawPixels without kms

meta ops should work ok without kms.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d1ca1599f0319f5c99852ce24420aa592e806db0 12-Mar-2010 Alex Deucher <alexdeucher@gmail.com> r100/r200/r300/r300: only enable accelerated pixel ops with kms

fixes fdo bug 27043
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
e167403e5809c447870644bd9ea09fad369706cf 10-Mar-2010 Alex Deucher <alexdeucher@gmail.com> radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
bb8c3b1bcc81fd5addc5e214f3efcfdca50c6806 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove ClearIndex and IndexMask from device-driver interface

These are used to inform the driver of the clear value for color-index
buffers and to control write-masking of bits in color-index buffers.
No driver use or need (not even Nouveau) these interfaces.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
05b04084892cc54e52010837de8fd85cd64d3b7a 05-Feb-2010 Pauli Nieminen <suokkos@gmail.com> r200: Add trace logging to r200PointSize.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
77768cdd73acc512a6d3171731a9c1b20c996f3f 04-Feb-2010 Pauli Nieminen <suokkos@gmail.com> r200: Add logging for glPolygonStripple.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
391892b0d8d46c4f0e43799fac61dd8246e4e023 31-Jan-2010 Vinson Lee <vlee@vmware.com> r200: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.

The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.

The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
2b5618fc5bdcbee3434f8b5aa3a31eb06fb479c0 03-Dec-2009 Alex Deucher <alexdeucher@gmail.com> r200: fix polygon stipple

fixes fdo bug 25354

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
3856c3cc46813ad96ae6f02dec19460193d986ac 04-Oct-2009 Frederic Crozat <fcrozat@mandriva.com> r200: remove subpixel offset from viewport

Fixes bug fdo 20340 for r200.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
7d361537661b93a501c9533271458a41b965ea79 01-Sep-2009 Dave Airlie <airlied@redhat.com> radeon: fix r100/r200 polygon stipple under kms

There really need to use state emits under kms, otherwise
we end up with some dwords in the command buffer before we've
ever emitted any useful state.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
239105c6c87da0b0c5c15ae54b19fe39492b0f29 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Convert r200 to use new style debug code.

Only very few places where realy converted so there isa lot of to do.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
4322181e6a07ecb8891c2d1ada74fd48c996a8fc 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100/r200: Bring back old PolygonStripple for DRI1.

DRI1 didn't have support for command buffer emit for stripple.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
bfbad4fbb7420d3b5e8761c08d197574bfcd44b2 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100/r200: Share PolygonStripple code.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
e541845959761e9f47d14ade6b58a32db04ef7e4 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Fix piglit paths test.

Polygon stipple has to go to command buffer because special ioctl is disabled.
Piglit doesn't like HyperZ warning so disable it for kms.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d0cb1036aa98d35ae5233d326fbb0ba592a26e26 28-Aug-2009 Dave Airlie <airlied@redhat.com> radeon: fix scissors harder.

this makes gnome-shell work on r300 for me
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
dbf59de6d2f8be526e97af6c768622e6ca3cf6b1 26-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Add scissor to state atom list.

Scissors are jsut one of states that we have to emit so it should be in state list
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
bbf2b5c4ffcb6755d34a5b698445aecf604e45fb 14-Aug-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Optimize memory handling for dma operations.

We keep dma buffer objects in list untill they have been unused for many
draw operations. Current limit of having 100 flushes is just guess for
good performance/memory trade off.

Moving WARN_ONCE macro to common context because it is used in multiple drivers.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
60e60bb3026a269fefe1cfd3312fdf3a7e4c595f 14-Jul-2009 Michel Dänzer <daenzer@vmware.com> radeon: Invert front face winding when rendering to FBO.

Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'.

Tested with r300, radeon and r200 compile tested only.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
504d01b275169f019d375b4a8b5e935b9fd108d3 13-Jul-2009 Dave Airlie <airlied@linux.ie> radeon/r200: fix color masking under dri2

Need to retrieve the bits from the rrb not from screen struct
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
c27f21f92d2cf9d23a9edb15d144eceb9ff383bc 06-Jul-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: port to new space checking code in libdrm

This moves a big chunk of the space checking code into libdrm so
it can be shared by the DDX.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
7dd184dc4da37233471875df6f40cce0560cb7bc 24-May-2009 Nicolai Hähnle <nhaehnle@gmail.com> radeon: Remove drawable & readable from radeon_dri_mirror

The duplication of state data caused a crash due to double-free on destruction
of context, because a variable wasn't correctly null'ed out.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
c514c1f99493147bbba7a1dbe157c0492f4cf2eb 12-May-2009 Jerome Glisse <glisse@freedesktop.org> radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXEL

This was broken with last merge see 62043b27575c378c027251316421e4699f461108
for explanations
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
221b30d595ab2f97fd0518c761615dd28f3ef5ca 10-May-2009 Jerome Glisse <glisse@freedesktop.org> Merge commit 'origin/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texmem.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/radeon/radeon_state.c
62043b27575c378c027251316421e4699f461108 02-May-2009 Brian Paul <brianp@vmware.com> mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXEL

Since GL_READ_BUFFER is historically part of the gl_pixel_attrib group
it made sense to signal changes with _NEW_PIXEL. But now with FBOs it's
also part of the framebuffer state.

Now _NEW_PIXEL strictly indicates pixels transfer state changes.

This change avoids framebuffer state validation when any random bit of
pixel-transfer state is set.

DRI drivers updated too: don't check _NEW_COLOR when updating framebuffer
state. I think that was just copied from the Xlib driver because we care
about dither enable/disable state there.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
f48473e42511f8d37a239a07f791bc0a87209e5b 22-Apr-2009 Brian Paul <brianp@vmware.com> r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flag

Make sure we detect constant buffer changes indicated by the new flag.
Should be able to remove _NEW_PROGRAM (and _NEW_MODELVIEW, _NEW_LIGHT, etc)
from several places (someday.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d1a9b1f513109c975a5a7ed5a2d0c329b280afe4 09-Apr-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'origin/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texmem.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/radeon/radeon_tex.c
86556f8bdab2c59a33619ecfda011bce8f047acb 07-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: fix missing dma buffer validation

this make gnome shell run
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
7391ba1e9d81f15465059db25d1279eefdbeb1a9 03-Apr-2009 Brian Paul <brianp@vmware.com> mesa: rename some gl_light fields to be clearer

EyeDirection -> SpotDirection
_NormDirection -> _NormSpotDirection
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
05304d41f2d9ab7a66a8b976580c156b7b93a9d3 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: fix up the whole buffer space checking.

This fixes up the buffer validation scheme, so that we keep a list
of buffers to validate so cmdbuf flushes during a pipeline get
all the buffers revalidated on the next emit.

This also fixes radeonFlush to not flush unless we have something
useful to send to the GPU, like a DMA buffer or something not state
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
8c7e30fb950c83f5e9e29e60735e999ac608145a 23-Mar-2009 Dave Airlie <airlied@redhat.com> raedon/r200/r300: mega-FBO commits.

Re work depth issues.
Do a lot more FBO abstactions
fixup depth/stencil buffer interactions
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
6c48c93a5358ab04d6779afb14203bd1680a37a0 21-Mar-2009 Dave Airlie <airlied@redhat.com> radeon/r200: add fbo state changes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
778cf80d9e462ca26e660dca1910328f66f6427d 09-Mar-2009 Dave Airlie <airlied@redhat.com> r300: move firevertices out into the main place its needed.

This fixes a hang on context destruction on rs690
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
2b85fccae5ba33748846f74f90fe0f72c673a4b1 02-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: refactor framebuffer code like intel

this is a step towards fbos and should fix pageflipping, but
I think the first flip seems broken.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
393c699e219b6cccf0d235749ec7bfaade75f88c 12-Feb-2009 Dave Airlie <airlied@redhat.com> r200: use correct finish interface
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
dc8a707c672918b88dd4135930bef60ed148d8ce 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: make build with out libdrm_radeon installed for now
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
df4a1348b1f869338d4742b213dbde9d64de4c7a 12-Feb-2009 Dave Airlie <airlied@redhat.com> r100/r200: fix front rendering issue.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
1090d206de011a67d236d8c4ae32d2d42b2f6337 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: another big merge upheavel.

This merges lots of the hw state atom emission and firevertices code.

it also removes a lot of the extra radeon crap from r300

and merge scissor
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
e45213d89bf26c68c9f4c9074eaec9ab3311de7d 30-Jan-2009 Dave Airlie <airlied@redhat.com> r200/r300: add aperture space checks
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
ed3a1cce73fcd0d6f4b6e9b5f69a98ad179ddc4b 20-Jan-2009 Dave Airlie <airlied@redhat.com> r200: clear is working at least - not much else
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
61da612a4f8862e0aac4ff4fc87c133cb8a1c4a5 14-Jan-2009 Dave Airlie <airlied@redhat.com> r300: start moving new r300 cmdbuf into common code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d29e96bf33e91d071770b86d87ffc4ef4dfc2f70 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: attempt to move lock to common code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
4637235183b80963536f2364e4d50fcb894886dd 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: initial attempt to convert to common context code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
0217ed2cf9b0a538ca03d26b302a7cd57af7dd21 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: move more stuff closer together in context
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
692ca82116485a9c6191e5265c5b369d5b4f82f3 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: start splitting out commonalities into separate headers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
5a46e176715b0eae7b8a715e8aec42f5a27214fc 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: standardize on C99's uint*_t instead of u_int*_t
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
ecadb51bbcb972a79f3ed79e65a7986b9396e757 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
601a6b872c33bfe3cb4ea03a5a8ba5ebe92dedaf 07-Jan-2008 Brian <brian.paul@tungstengraphics.com> Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes

Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask.
The number of active color buffers is specified by _NumColorDrawBuffers.
This builds on the previous DrawBuffer changes and will help with drivers
implementing GL_ARB_draw_buffers.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 21-Jul-2007 Brian <brian.paul@tungstengraphics.com> Remove ctx->Point._Size and ctx->Line._Width.

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.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
0985e786cdd08bf900db889b69783be4bc467e5b 18-May-2007 Christoff Brill <egore@gmx.de> remove CVS/XFree86 keywords
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d0a3400f66b8c4ace7ebef6d0a944376d5203756 12-Mar-2007 Alan Swanson <swanson@ukfsn.org> r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
33ea9dccaf31c2dfb0961847eedfe75336d9c80f 12-Mar-2007 Alan Swanson <swanson@ukfsn.org> r200: Adapt cliprect fixes from r300.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
2a441c488f4bcf11fe032ea7ba448bbfb7449c66 03-Feb-2007 Roland Scheidegger <sroland@tungstengraphics.com> disable r200 materials-between-begin-end check if vertex progs are enabled
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
6a3fdc3a1ea6c306d9543791bf172dd1052d7382 16-Jan-2007 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2

Conflicts:

src/mesa/array_cache/sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_vs_tnl.c
src/mesa/drivers/dri/mach64/mach64_context.c
src/mesa/main/extensions.c
src/mesa/main/getstring.c
src/mesa/tnl/sources
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_save_playback.c
src/mesa/tnl/t_vtx_api.c
src/mesa/tnl/t_vtx_exec.c
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c
8f6a50a49cd3b7479d1cfcf195b53e6d9b0800dd 15-Nov-2006 Jerome Glisse <glisse@freedesktop.org> Remove use of GetBufferSize (depreciated).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
80c88304fc9d09531b2530b74973821e47b46753 31-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> remove vtxfmt code, switch over to vbo
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
fc606f7db9072d4f40081aea8f92f1d4489a5115 25-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix (per-vertex) fog when using ARB_vp by incorporating fog factor computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
a391384bad9e960989dc8c793386081afc55592c 15-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since
default/fallback functions are already plugged in by the call to
_mesa_init_driver_functions().
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
cb977ae5f4c9fab5753c04bfdd8736978ad4feee 14-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement ARB_point_parameters and ARB_point_sprite on r200. The code is nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
888b1a9166abfb1b2873cf7c1eb2daf45a26c84f 14-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> don't use derived value _ColorLogicOpEnabled as it's not current by the time we call the blend/logic op functions. Fixes glean logicOp test on r200.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
cb08dcbbf29dfa82128c8302f7aa69e90478a5ea 13-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
91650469aeb01f249bcd553d9d309b3016c2f93c 01-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
98c791b543c4ba86b8bb54488bd872b33b10b1aa 03-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement arb_vertex_program in hw for r200. Code contains still some hacks, generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
8a6182105772280e2727de4a00809c8fb7b13c87 27-May-2006 Roland Scheidegger <rscheidegger@gmx.ch> preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
71b2504e0390fa19f133647c8686d830f8f40eb6 08-May-2006 Keith Whitwell <keith@tungstengraphics.com> updates to dri drivers for recent stencil changes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
08e62a147618ac796f5e548bdaa3380342ec2a78 28-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
6754e17138994dc3c67299177a0906535cb4ddcd 01-Mar-2006 Aapo Tahkola <aet@rasterburn.org> No need to call *_FIREVERTICES twice.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
1c0f11046a6dff2568bf42f213983df583b765b9 09-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
9dd973ec3b2b53f4b95d2ba0a746a0e52533becf 06-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
44dace86eaf9eded8e6465adfadf6345658686dd 05-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
a400a1e4045e2478032bc5b8ae0b794964b24bae 14-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,
call driUpdateFramebufferSize() when window size/position changes.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
878c371e6cf6eb28afacc482d8aeaa0119f00d5b 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace ctx->Driver.StencilOp/Func/Mask() functions with
ctx->Driver.Stencil*Separate() functions.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
f20917de5bd2b1fc152e74304d3649a1f6042422 12-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add complete support for ATI_fragment_shader for the r200. Most of the new code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
7e3be5559e7236cb919fa3ab7bbc78ccd0bde2e6 09-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> Fix wrong fallback bit being set by the tcl fallback caused by ARB_vertex_program. Disable ARB_vertex_program by default - it is incredibly slow, and just plain doesn't work anyway (arbvptorus fails an assertion, arbvpmesh has bogus output)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
b0715811e8c100a2686ee2363e2f94c734565d60 03-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> remove dead code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
fcbfeb5d28aea87c60f2d02daa213d0c0c2516e8 01-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
Old code is surrounded by #if 000 / #endif, temporarily.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
0846e52d46b36c411f79908df010072e03bb6437 17-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> s/0/NULL/ (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
4754fc653f43903265dc878f27826ebcf26dfdcb 08-Feb-2005 Keith Whitwell <keith@tungstengraphics.com> SUBPIXEL fixes from Dieter
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
3dec3c7a74035bc85eab31a3c442e362d41ffe6d 08-Feb-2005 Michel Dänzer <michel@daenzer.net> Call _mesa_ResizeBuffersMESA() in r200Viewport(), fixes incorrect rendering
in bzflag 2.0. (Alexander E. Patrakov)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
a205137423e42010a025c70b05af98a6c0564f28 26-Jan-2005 Roland Scheidegger <rscheidegger@gmx.ch> (Stephane Marchesin, me) Add support for color (framebuffer) tiling to the radeon and r200 driver
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
38b317d508a2a3a4cc6d700ebca80c3b06c913e2 14-Dec-2004 Alan Hourihane <alanh@tungstengraphics.com> uint*t -> u_int*t changes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab 08-Dec-2004 Roland Scheidegger <rscheidegger@gmx.ch> (Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d294f79190a5b25ef0fbbbf3ac94b15c9402d009 03-Nov-2004 Roland Scheidegger <rscheidegger@gmx.ch> enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
b1ebd306bf4fdc4076d3d3daa410b08f477cb4c4 16-Oct-2004 Eric Anholt <anholt@FreeBSD.org> Add code to support projective texturing and fix mixed enabling of texture
coordinate generation. Original code by Roland Schiedegger, with changes by
myself. While here, ensure that the swtcl path does tnl_install_attrs enough
when fog/specular are being (en/dis)abled.

Notable effects:
- projtex test works with TCL and is closer with swtcl (Bugzilla #1461)
- 8/9 squares work in texgenmix instead of 3.
- texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the
hardware can actually support it).
- flickering in doom3 replaced by just plain darkness.
- blocktube fixed (Bugzilla #984)
- fixes stex3d
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
0866b67fdb8503b38715da310ddf78dd15c92f8f 07-Sep-2004 Dave Airlie <airliedfreedesktop.org> This patch enables GL_ARB_vertex_program and GL_NV_vertex_program
support in the r200 driver. Both extensions can be enabled via
options, GL_ARB_vertex_program is on by default, GL_NV_vertex_program
off. Option descriptions are in german, english and french.

From: Philipp Klaus Krause
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
aaaf38d37215aa1536ff34ec370ecfc04111af22 27-May-2004 Roland Scheidegger <rscheidegger@gmx.ch> change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
033728555cb2f39d8c77f228e1eccc45329bb40a 20-May-2004 Roland Scheidegger <rscheidegger@gmx.ch> Add support for GL_EXT_blend_[func|equation]_separate. Fix GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
b9cbd5272452dcaae1d1b2462ed3001d64dc55e8 14-May-2004 Roland Scheidegger <rscheidegger@gmx.ch> Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix errors when blending is disabled (set blend equation and function to default values).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
894844a8d956a0ee5f95836331dc318f49fdb845 21-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implemented support for software-based AUX color buffers.
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
6af3dca18a2315ea431b5ea868913093d2111491 18-Mar-2004 Ian Romanick <idr@us.ibm.com> Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 17-Mar-2004 Ian Romanick <idr@us.ibm.com> Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 11-Mar-2004 Jon Smirl <jonsmirl@gmail.com> Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
a1b9b1a4409729fa8b6714e5847544576fcee404 10-Feb-2004 Roland Scheidegger <rscheidegger@gmx.ch> Changed lighting to use SOURCE_MATERIAL instead of PREMULT (moves some light color calculations to the GPU). Two-side lighting fallback no longer needed and eliminated.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
c93105eb9e2499efb237fd89dba0cebd48f18375 27-Jan-2004 Ian Romanick <idr@us.ibm.com> Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
78bb0803cf722ad5273fc495791eb573bf8b4d21 24-Jan-2004 Michel Dänzer <michel@daenzer.net> Fix hardware ROP state handling (Roland Scheidegger)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
a2c97eb2ffad0471aae34ab185461774318a57d6 23-Jan-2004 Michel Dänzer <michel@daenzer.net> Call UpdateMaterial() unconditionally on GL_COLOR_MATERIAL state change
(Roland Scheidegger), and update lighting state unconditionally there.
Fixes lighting oddities in the xscreensaver endgame hack, bzflag and
possibly elsewhere.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
5d00e131d8a264498b8d050c3eded093ee5c42f2 23-Jan-2004 Michel Dänzer <michel@daenzer.net> Fix attenuation hardware state handling, inspired by the R200 DDK reference
driver (our r200 driver basically didn't do this at all, maybe got lost
along the way?)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
20a17e42d7fc9fe65aabe612fe1e513c3103d121 21-Jan-2004 Ian Romanick <idr@us.ibm.com> Remove dd_function_table::BlendFunc. All drivers now use
dd_function_table:BlendFuncSeparate. If a driver does not actually
support EXT_blend_func_separate, it can assume that the RGB and alpha
blend functions are the same.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
d3fd7ba8af15bead2f770d68a893449adeb11397 20-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Before calling _mesa_create_context(), initialize a dd_function_table struct
by calling _mesa_init_driver_functions() and then plugging in the driver-
specific functions.
In particular, make sure ctx->Driver.NewTextureObject points to the
appropriate driver function so that _all_ texture objects are augmented
with the driver-specific data.
Put in a bunch of assertions in the texture-related driver functions that
texObj->DriverData is valid. Remove old dead code in near future.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
77d240858e83cdaae799ef95188f59b7f2eda464 18-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> minor changes to silence warnings
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
7a57932a025cf786527d31f4951c8a6d0f25aeec 27-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> Don't allow lighting in model coordinates when fog is active,
from radeon_state.c, noticed by Dieter Nuetzel.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
8a340279f4366e097adce479241a2ede8e977128 09-Dec-2003 Keith Whitwell <keith@tungstengraphics.com> No need to call UpdateMaterial() from RunPipeline().
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
273e52f86fa41564f573c8e84d013f995e01a8f0 08-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> sync some more of the r200 driver from the DRI trunk
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
57c9814b9e87924696df4c741861c29d4236d1eb 24-Nov-2003 Keith Whitwell <keith@tungstengraphics.com> Import vtx-0-2-branch
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c
adbec39bbf671ad80f6c557801e274cac0d305fa 06-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> r200 driver, brought over by Jon Smirl
/external/mesa3d/src/mesa/drivers/dri/r200/r200_state.c