From: Keith W. <ke...@va...> - 2001-02-06 02:12:05
|
Gareth Hughes wrote: > > Gareth Hughes wrote: > > > > > > The Driver.TexImage* callbacks are now no longer allowed to fail. > > > > > > Because it'll be up to core Mesa to unpack and store the texture image > > > under all circumstances? > > > > > > I'm a bit worried about expecting core Mesa to do all this. Consider > > > a card that uses some sort of tiled texture memory layout. I think it > > > should be up to the driver to handle image conversion for something > > > like this and not burdon core Mesa with strange conversion routines. > > I should add the following: > > Cards that do tiled textures will generally tile them for you on the > texture upload blit. This is perhaps the only really efficient way to > do tiled textures, as tiling them manually would be a comparatively > expensive operation. This is true in all the cases I've seen, at least, > and my experience may be unfairly biased. My experience (i810) is the same. The i810 handles all tiling transparently to the driver, just imposes a few rules about surfaces not crossing boundaries between tiled/untiled memory.h Keith |