summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2009-03-02mesa: use Stencil._Enabled field instead of Stencil.EnabledBrian Paul
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-27r300: remove depth offset exits in favour of rrb depth changesDave Airlie
2009-02-26r300: don't call page flip on DRI2Dave Airlie
2009-02-21mesa: use an array for current texture objectsBrian Paul
Use loops to consolidate lots of texture object code.
2009-02-13Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: configure.ac src/mesa/drivers/dri/r200/r200_context.c src/mesa/drivers/dri/r300/r300_render.c
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-02-11r300: fix front buffer rendering properly fixes tests in gleanDave Airlie
2009-02-04r300: Fix EXP2 fogMaciej Cencora
2009-01-31r200/r300: add aperture space checksDave Airlie
2009-01-23Track two sets of back-face stencil stateIan Romanick
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
2009-01-22r200/r300: port r200 texture handling to common codeDave Airlie
we now get texrect + trivial textures working
2009-01-21radeon/r200/r300: start to move to common miptree/texobjDave Airlie
2009-01-21r200: make tri render on my r200.Dave Airlie
2009-01-14r300: work-around FRAG_BIT_FOGC warning/errorBrian Paul
See bug 17929. Fog doesn't actually work, but the often complained about warning is silenced.
2009-01-14radeon/r200/r300: attempt to move lock to common codeDave Airlie
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-08-19r5xx: Final fog option fix.Corbin Simpson
Is there some kind of git hook we could use to keep me from committing after like 10PM or so?
2008-08-19r5xx: Don't squish GL context when using FogOptionCorbin Simpson
2008-08-18r5xx: Enable fog options.Corbin Simpson
This uses fog HW instead of fragment programs. If it breaks you, let me know!
2008-07-27r300: Fix point minmax sizeNicolai Haehnle
There are 6 subpixel units per pixel, not 16.
2008-07-27r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle
2008-07-12r300_fragprog: Use nqssa+dce and program_pair for emitNicolai Haehnle
Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
2008-07-11R300: update vap_cntl values for NUM_FPUSAlex Deucher
based on info from hw team
2008-07-06r300: Allow adding parameters during fragprog transform, share LIT codeNicolai Haehnle
2008-07-05r500: Fix blend color.Nicolai Haehnle
2008-06-30r3xx/r5xx: Enable ARB_point_parameters.Corbin Simpson
This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later.
2008-06-30r300: Fix dumb mistake in LOD bias translationNicolai Haehnle
2008-06-30r300: Cleanup LodBias supportNicolai Haehnle
. There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
2008-06-29r300: Change LOD bias emission to more closely follow per-tex rules.Corbin Simpson
Okay, this time it's for real, and for good. This should be a perma-fix.
2008-06-29r300: Fix wrap mode for 1D texturesNicolai Haehnle
2008-06-21replace __inline and __inline__ with INLINE macroBrian Paul
2008-06-16r300: Make LOD bias a persistent environment variable.Corbin Simpson
Per airlied's suggestion.
2008-06-14r5xx: FP refactor, take one.Corbin Simpson
Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
2008-06-14r300: Do not include r300_fragprog.h from r300_context.h and other cleanupsNicolai Haehnle
2008-06-14r300_fragprog: Refactoring and cleanupNicolai Haehnle
Refactor so that r300_pfs_compile_state "owns"/holds a pointer to r300_fragment_program instead of the other way round. This is more natural from an object orientation point of view. Move the compiled hardware state into r300_fragment_program_code, in anticipation of on-the-fly program recompilation based on external OpenGL state.
2008-06-13r300: Reenable t->filter_1 (though currently not used)Nicolai Haehnle
2008-06-07r300: Some cleanups in depth and stencil state handlingNicolai Haehnle
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
2008-06-06r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle
This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
2008-06-01r5xx: Enable depth write emission.Corbin Simpson
Thanks to nh for the r3xx version.
2008-06-01r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle
Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
2008-06-01[r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle
The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
2008-05-31r500: Use 8bit fog alpha compare value.Markus Amsler
This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
2008-05-28Merge branch 'r500-support'Dave Airlie
Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-28R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher
2008-05-28r500: cleanup warnings and include filesDave Airlie