| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Only a few state vars require state validation before querying them.
This potentially speeds up state queries.
Encode that info into the state tuple table.
Also, use the new tuple field to indicate when FLUSH_CURRENT() must
be called to validate other state vars.
Based on a patch submitted by Robert Bragg on Feb 12, 2010.
|
| |
|
| |
|
|
|
|
|
|
|
| |
When building more then one dri driver we would get warnings because
we where defining the same build target multiple times.
Also move all the dri scons targets related code into its own file.
|
| |
|
|
|
|
| |
I think my maths is right?
|
|
|
|
|
|
|
|
| |
This reverts commit cba6430524198a1bdcdeada03cbe946a454f3935.
Breaks celestia with a hardlock. :T
We really need to sit down and study texture stuffing further.
|
|
|
|
| |
Fixes for instance noise with material shaders in FlightGear.
|
| |
|
| |
|
|
|
|
| |
Needed for i915g, also fixed swizzle in draw_vs_aos_io.
|
| |
|
|
|
|
| |
Since the winsys isn't shared with i965 and never will be
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
27 files changed, 15 insertions(+), 15 deletions(-)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
|
|
|
|
|
|
|
|
|
|
| |
In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
|
|\ |
|
| |
| |
| |
| |
| |
| | |
If a GL function is called w/out a current rendering context, this stub
gets called. It should return 0 so that non-void-valued functions return
0/NULL instead of a random number.
|
| | |
|
| |
| |
| |
| | |
Spotted by Pauli Nieminen
|
| |
| |
| |
| |
| |
| |
| |
| | |
R300_PVS_MAX_CONST_ADDR field holds highest const addr, not
const count.
Fixes missing models and others rendering errors for vertex
program using 256 params.
|
| |
| |
| |
| | |
UMS will probably require some kernel work
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It may happen that the vertex attribute we were going to stuff
the wpos/fog attrs in was already written by vertex program.
In such cases we need to remove instruction accessing these
attributes, so they don't overwrite the wpos/fog related
instructions.
This fixes non-textured models in many wine games.
|
| |
| |
| |
| | |
removed FP during compilation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We're still abusing the flags by putting them where our driver stores
ctx->NewState changes. Making them into more restricted state change
flags would be a project for later.
Fixes a failure where calling intel_draw_buffer() too often would trip
up Mesa assertions about when Mesa state could get changed, when it hadn't.
Bug #27034.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit a9063cad0f0190ff88cd20fbad5aa87bf1a943f6.
Not too surprisingly, this change caused some regressions.
Revert it for the time being.
See fd.o bug 27320.
|
| |
| |
| |
| |
| |
| | |
We shouldn't try to clear a non-existant z/stencil buffer, so there's
probably a bug elsewhere. Disable the assertion for now to allow things
to at least run.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
They will be used by DRISW. Also, add destroy functions.
|
| | |
|
| |
| |
| |
| |
| | |
This is a wrapper around dri_st_framebuffer_validate for a single attachment.
Also, call validate through hook to make it more generic.
|
| |
| |
| |
| | |
dri_st_framebuffer functions just forward to dri1/dri2 functions.
|
| |
| |
| |
| |
| |
| | |
* ptex is get by flush_frontbuffer, similar to swap_buffers
* comment for allocate_textures
* texture_mask is managed at the st_fb level
|
| | |
|
| |
| |
| |
| |
| | |
- put extensions above init_screen
- split out destroy_option_cache
|
| | |
|
| | |
|
| | |
|
|\ \ |
|