| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
radeon_context now contains a gl_context, rather than a pointer to one.
This will allow some minor core Mesa clean-up.
|
|
|
|
|
|
|
|
| |
Preparation for the mandatory support of ARB_sampler_objects. I have tested
this patch with rv280 only.
Signed-off-by: Pauli Nieminen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
|
| |
|
|
|
|
|
| |
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Yuanhan Liu <[email protected]>
|
|
|
|
|
|
| |
now that we strip borders off earlier.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
for 3d texture fallback, disable the texobj state.
Signed-off-by : Dave Airlie <[email protected]>
|
| |
|
|
|
|
|
|
| |
Only swrast and the drivers that fall back to swrast need these fields now.
This removes the last of the fields related to software rendering from
gl_texture_image.
|
|
|
|
|
|
|
|
|
|
|
| |
Nothing in Mesa supports color-index textures, and most of the other
infrastructure that could allow such support has already been removed.
This puts the final nail in the coffin.
Also clean out some GL_COLOR_INDEX comments in formats.c.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
|
|
|
|
| |
These have been unused since 2009.
|
|
|
|
| |
r100 doesn't support 3D GL_EXT_texture3D.
|
| |
|
|
|
|
|
|
| |
(really not sure why I'm doing this).
This is a candidate for 7.9 and 7.10 branches.
|
|
|
|
|
|
|
|
|
|
|
| |
This should prevent the field going unset in the future. See bug
http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background.
Also remove unneeded calls to clear_teximage_fields().
Finally, call _mesa_set_fetch_functions() from the
_mesa_init_teximage_fields() function so callers have one less
thing to worry about.
|
|
|
|
|
|
| |
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch
|
| |
|
|
|
|
|
|
| |
This used to take GLX tokens, but the DRI interface can't depend on GLX
defines. We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
|
|
|
|
| |
433f0a82f5a4696e6b0c4061f645485ec8079bb4
|
|
|
|
|
|
|
|
| |
r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.
Signed-off-by: Dave Airlie <[email protected]>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's
_mesa_[Copy]TexImage functions instead of in the driver functions.
One less thing for drivers to do.
|
|
|
|
| |
And remove other unneeded #includes while we're at it.
|
|
|
|
| |
XXX need to still verify that the table entries are in correct order.
|
|
|
|
| |
Use _mesa_is_format_compressed() instead.
|
|
|
|
|
|
| |
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
|
| |
|
| |
|
|
|
|
| |
This is more logical, and fixes a TFP issue.
|
|
|
|
|
|
| |
Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
|
|
|
|
| |
make sure to turn off when no texture is used in hw
|
|
|
|
| |
half stealing the code without taking the intel regions
|
|
|
|
|
|
|
|
| |
In r*00SetTexBuffer2(), if the passed in text glx_texture_format
is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only
texture format, even if the DRI buffer has four channels.
https://bugs.freedesktop.org/show_bug.cgi?id=21609
|
|
|
|
|
| |
This might trip up some serious FBO users, will have to see, but
it avoids the slow paths for all the demos I have.
|
| |
|
| |
|
|
|
|
| |
also fixup old interface, gets rid of white boxes in compiz
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/radeon_ioctl.c
src/mesa/drivers/dri/radeon/radeon_screen.c
|
| |
| |
| |
| | |
New gl_texgen struct allows quite a bit of code reduction.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This gets DRI2 compiz going
|
| |
| |
| |
| | |
this is just more code cleanup for old dead code
|
| |
| |
| |
| |
| | |
this is whole texture dirty bit is probably not needed with the current
codebase, need to revisit
|
| | |
|
| | |
|
| | |
|
| | |
|