Hello Mark, hello list! On Mon, 15 Jul 2002 Mark Vojkovich wrote: > Actually b) is not guaranteed either. In the case of PIO/MMIO > engines it's generally the case that the hardware has been programmed > and the primitives are in flight and will complete at some time in > the future. For DMA engines, however, primitives may be batched up > across requests and kicked off before the X-server goes back to > waiting on its file descriptors. All requests made through the > graphics engine are pipelined so there are no ordering problems.
ok, so far I understand this > The complications happen when mixing hardware and software rendering. > This is the business of XAA - the hardware acceleration layer. > It keeps track of whether or not there are potentially primitives > in the graphics pipeline and flushes the pipeline whenever it > needs to fall back to software. but about this part I'm in the dark -- how and where is this synchronization between accelerated drawing and software rendering performed? Can I hook into this synchronization from the upper layers (i.e. get notified when my request has really been executed and the result is visible to the user), or is this specific to every driver? Can software rendering primitives also be "batched" behing hardware requests in flight (so the server does not wait for the hardware)? Need not be very detailed, just a pointer, so if you can answer with something like "look at file x.c, y.c and z.h, and take note of the usage of struct foo" I would be perfectly happy. > The graphics driver itself can (and in some drivers does) override XAA > functionality at a high enough level that it needs to deal with the > synchronization itself in some cases. > > > Perhaps if you were to elaborate on what "interesting" thing > you are trying to do? At the moment I can't, it would be a bit unfair if I received too much help writing my thesis :-) But I promise I will let you know later this year Thanks for your answers so far, Helge _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
