← Back to team overview

cairo-dock-team team mailing list archive

Re: [Bug 712052] Re: Wrong element set to None of array doubleBufferAttributes?

 

Am 03.02.2011 03:54, schrieb Fabounet:
> the "None" is here to end the list of attributes.
> therefore the 2nd time we skip stencil buffer and multisample.
> Intel drivers are sometimes really nice, and sometimes so buggy, but they are improving anyway, so don't hesitate to report your problems to the devs, it can help them !
> 
> ** Changed in: cairo-dock-core
>        Status: New => Invalid
> 

Ok, I thought None means the attribute's value does not matter. I should
have read the docs before :-S. But than is ask myself why the visual
below does not match the criteria if anything after GLX_ALPHA_SIZE is
ignored. There are even more visuals that match the criteria (8 altogether).

Visual ID: 6e  depth=24  class=TrueColor, type=window,pixmap,pbuffer
    bufferSize=32 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8 float=N sRGB=N
    auxBuffers=0 depthSize=24 stencilSize=8
    accum: redSize=0 greenSize=0 blueSize=0 alphaSize=0
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.

GLX_DRAWABLE_TYPE == GLX_WINDOW_BIT is true
GLX_RENDER_TYPE   == GLX_RGBA_BIT is true
GLX_DOUBLEBUFFER  == True is true
GLX_RED_SIZE      >  1 is true
GLX_GREEN_SIZE    >  1 is true
GLX_BLUE_SIZE     >  1 is true
GLX_ALPHA_SIZE    >  1 is true

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/712052

Title:
  Wrong element set to None of array doubleBufferAttributes?

Status in Cairo-Dock : Core:
  Invalid

Bug description:
  cairo-dock states that I can't use OpenGL. Curios, since glxinfo says
  I have (Intel Ironlake). After some investigation I found a peace of
  code in cairo-dock-opengl.c (line 173) where
  doubleBufferAttributes[16] is set to None (old value is
  GLX_STENCIL_SIZE). After taking a look at this array, i think it must
  be index 17, since all even indexes are attributes and all odd are the
  expected values, aren't they? However, that would not solve my
  problems since GL_MULTISAMPLESAMPLES is expected to be 2 and glxinfo
  says that may graphics card don't support MS at all (if column MS
  num/ms ns of glxinfo's output is the correct one).





Follow ups

References