summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_state.c
AgeCommit message (Collapse)Author
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-03-24r100/r200/r300/r600: enable accel for Copy/DrawPixels without kmsAlex Deucher
meta ops should work ok without kms.
2010-03-12r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher
fixes fdo bug 27043
2010-03-10radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher
2010-03-03mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick
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>
2010-02-05r200: Add trace logging to r200PointSize.Pauli Nieminen
2010-02-04r200: Add logging for glPolygonStripple.Pauli Nieminen
2010-01-30r200: Remove unnecessary headers.Vinson Lee
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg
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.
2009-12-29mesa: implement per-buffer color maskingBrian Paul
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().
2009-12-03r200: fix polygon stippleAlex Deucher
fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-04r200: remove subpixel offset from viewportFrederic Crozat
Fixes bug fdo 20340 for r200.
2009-09-01radeon: fix r100/r200 polygon stipple under kmsDave Airlie
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>
2009-08-31r200: Convert r200 to use new style debug code.Pauli Nieminen
Only very few places where realy converted so there isa lot of to do.
2009-08-28r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen
DRI1 didn't have support for command buffer emit for stripple.
2009-08-28r100/r200: Share PolygonStripple code.Pauli Nieminen
2009-08-28r200: Fix piglit paths test.Pauli Nieminen
Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms.
2009-08-28radeon: fix scissors harder.Dave Airlie
this makes gnome-shell work on r300 for me
2009-08-26r200: Add scissor to state atom list.Pauli Nieminen
Scissors are jsut one of states that we have to emit so it should be in state list
2009-08-18radeon: Optimize memory handling for dma operations.Pauli Nieminen
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>
2009-07-14radeon: Invert front face winding when rendering to FBO.Michel Dänzer
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
2009-07-14radeon/r200: fix color masking under dri2Dave Airlie
Need to retrieve the bits from the rrb not from screen struct
2009-07-06radeon/r200/r300: port to new space checking code in libdrmDave Airlie
This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
2009-05-24radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle
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>
2009-05-12radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXELJerome Glisse
This was broken with last merge see 62043b27575c378c027251316421e4699f461108 for explanations
2009-05-10Merge commit 'origin/master' into radeon-rewriteJerome Glisse
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
2009-05-01mesa: in glReadBufer() set _NEW_BUFFERS, not _NEW_PIXELBrian Paul
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.
2009-04-22r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flagBrian Paul
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.
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
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
2009-04-07radeon/r200/r300: fix missing dma buffer validationDave Airlie
this make gnome shell run
2009-04-03mesa: rename some gl_light fields to be clearerBrian Paul
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
2009-04-02radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie
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
2009-03-23raedon/r200/r300: mega-FBO commits.Dave Airlie
Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
2009-03-21radeon/r200: add fbo state changesDave Airlie
2009-03-09r300: move firevertices out into the main place its needed.Dave Airlie
This fixes a hang on context destruction on rs690
2009-03-03radeon: refactor framebuffer code like intelDave Airlie
this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
2009-02-13r200: use correct finish interfaceDave Airlie
2009-02-12radeon/r200/r300: make build with out libdrm_radeon installed for nowDave Airlie
2009-02-12r100/r200: fix front rendering issue.Dave Airlie
2009-02-12radeon/r200/r300: another big merge upheavel.Dave Airlie
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
2009-01-31r200/r300: add aperture space checksDave Airlie
2009-01-20r200: clear is working at least - not much elseDave Airlie
2009-01-14r300: start moving new r300 cmdbuf into common codeDave Airlie
2009-01-14radeon/r200/r300: attempt to move lock to common codeDave Airlie
2009-01-14radeon/r200/r300: initial attempt to convert to common context codeDave Airlie
2009-01-14radeon/r200: move more stuff closer together in contextDave Airlie
2009-01-13radeon/r200: start splitting out commonalities into separate headersDave Airlie
2008-09-21mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template