[Mesa-dev] [Bug 37840] New: sbc_hi, sbc_lo does not exist in xDRI2BufferSwapComplete

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 1 18:29:58 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37840

           Summary: sbc_hi, sbc_lo does not exist in
                    xDRI2BufferSwapComplete
           Product: Mesa
           Version: 7.10
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: GLX
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: rogelio.serrano at gmail.com


typedef struct {
    CARD8 type;
    CARD8 pad;
    CARD16 sequenceNumber B16;
    CARD16 event_type B16;
    CARD16 pad2;
    CARD32 drawable B32;
    CARD32 ust_hi B32;
    CARD32 ust_lo B32;
    CARD32 msc_hi B32;
    CARD32 msc_lo B32;
    CARD32 sbc B32;
} xDRI2BufferSwapComplete;


static Bool DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
{
      xDRI2BufferSwapComplete *awire = (xDRI2BufferSwapComplete *)wire;
<...>
      aevent->ust = ((CARD64)awire->ust_hi << 32) | awire->ust_lo;
      aevent->msc = ((CARD64)awire->msc_hi << 32) | awire->msc_lo;
      aevent->sbc = ((CARD64)awire->sbc_hi << 32) | awire->sbc_lo;
<...>     
}

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list