As per my last message, I am trying to use the new Matrox G400 CRTC2
features of DirectFB.  I have a GTK application that I built for my
on-screen-display, and it used to work fine when I did all the
mucking about redirecting CRTCs and the sort with matroxset.  Now I
want to use it with the native CRTC2 support in DirectFB.  Is this
possible?

The homework I have done so far is to determine (by looking at dfbtv)
that when the DFB instance is created, it grabs display layer 2:

    dfb->GetDisplayLayer( dfb, 2, &crtc2 );

However DirectFB-GTK grabs layer 0:

  #define DLID_PRIMARY          0x00
  ...
  ret = DirectFB->GetDisplayLayer (DirectFB, DLID_PRIMARY, &DisplayLayer);

This is hardcoded in the GDK initialization for the DirectFB backend.

Am I correct so far?  (I hope I am because I am going to change
DLID_PRIMARY in the GetDisplayLayer() call to 2 in my DirectFB-GTK
tree and rebuild)

If I am, is this something that needs to (or even can) be addressed in
the DirectFB-GTK implementation?

b.

-- 
Brian J. Murrell

Attachment: msg00991/pgp00000.pgp
Description: PGP signature

Reply via email to