From: James S. <jsi...@su...> - 2001-01-18 23:14:34
|
Thanks for the bitplanes info. I'm going to figure out some routines to do a rectfill, copyarea, and a imageblit. > > Yes but for the standard packed pixel non accelerated graphics cards we > > have cfbrectfill, cfbcopyarea, and cfbimageblit to use. If the driver > > doesn't provide these functions then we use these cfb* functions. I even > > stored each function in a seperate file just in case we run into cards > > that support one or two of the three accelerated functions. > > Wouldn't it be better to let the driver always fill in the pointers, even if it > needs the cfb* ops? The reason I was thinking this was just in case we end up with ioctls for these 3 accel functions. We wouldn't want userland to be able to call them if they could be done in userland using software emulation. |