Does anyone know how can the display driver known that the frame buffer has
been updated by an application?
Many Thanks
Oscar

Re: Display Driver Question by voidcoder

voidcoder
Tue Feb 06 03:10:56 CST 2007


Don't know any standard way, but you can hook the most of
GPE & DDRAW primitives such as Blt, Line etc and catch
the situation when primary surface is updated. Why do
you need it?


Martinos wrote:
> Does anyone know how can the display driver known that the frame buffer has
> been updated by an application?
> Many Thanks
> Oscar

Re: Display Driver Question by Valter

Valter
Tue Feb 06 09:16:14 CST 2007

=?Utf-8?B?TWFydGlub3M=?= <martinos72@libero.it> wrote in
news:CCE2EAA2-F52F-4D08-B2FE-5A3C9552452E@microsoft.com:

> Does anyone know how can the display driver known that the frame
> buffer has been updated by an application?

If you need to know that the frame buffer has been changed by some GDI
calls from the application you can add some code to the drawing calls
in your display driver. How to do that depends on the driver (it's not
so difficult if it's a GPE-based driver).
If the application has a pointer to the frame buffer and can write to
the memory, detecting change wouldn't be so easy and should require
some kind of comparison and storage of a copy of the buffer contents...

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)