bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Concerning 3d, reply to archive message.


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Concerning 3d, reply to archive message.
Date: Sat, 6 Sep 2003 10:42:10 +0000
User-agent: Mutt/1.4.1i

On Sat, Sep 06, 2003 at 12:34:35AM +0200, Marco van Tol wrote
> Hello all,
> 
> In the archives I noted an email from Jim Segrave where he mentiones a
> colleague with a Matrox G550 graphics board, which has DRI support, but
> won't get recoqnized by gnubg as an accelerated graphics board.

Strange, looking at the code and the output from glxinfo I would guess
that I should be recognised.

The unix code for checking acceleration is:

int CheckAccelerated(GtkWidget* board)
{
        Display* display = glXGetCurrentDisplay();
        GLXContext context = glXGetCurrentContext();
        if (!display || !context)
        {
                g_print("Unable to get current display information.\n");
                return 1;
        }
        return glXIsDirect(display, context);
}


The output from your glxinfo is:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
^^^^^^^^^^^^^^^^^^^^^

server glx vendor string: NVIDIA Corporation 
server glx version string: 1.3
.....

The question is why glXIsDirect returns FALSE when glxinfo claims that
there is direct rendering?!

Jørn

Attachment: pgpThgBtTliI8.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]