[Bug 28341] Flickering screen in Neverball on drm-radeon-testing

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

 



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

--- Comment #18 from Mario Kleiner <mario.kleiner@xxxxxxxxxxxxxxxx> 2010-07-22 13:23:07 PDT ---
Jerome,

as far as i can see, your flush, invalidate patch is in the right direction,
but the dri2InvalidateDrawable() call just increments drawable->dri2.stamp and
the current radeon dri driver in current mesa isn't checking the
drawable->dri2.stamp for changes.

The intel driver has checks like...

if (drawable->lastStamp != drawable->dri2.stamp)
     intel_update_renderbuffers(driContext, drawable);

... in various places. Similar checks and calls to
radeon_update_renderbuffers() would probably do the trick, because that would
call DRI2GetBuffersWithFormat() etc. which will throttle properly until a swap
is completed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux