| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Needed to handle swap interval in the direct rendered case.
|
|
|
|
|
|
| |
Length should be a CARD32 and match the endianness annotation.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
|
|
|
|
|
|
|
|
| |
Based on SGI_video_sync, SGI_swap_control and OML_sync_control, add swap
interval and synchronization support to DRI2. Useful for throttling rendering
and basic performance metrics.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
|
|
|
|
|
| |
The protocol now require a DRI2GetBuffersWithFormat request to follow the
swapbuffer request so.
|
|
|
|
|
|
| |
Add a SwapBuffers request for requesting a front<->back swap. Returns a
whole new set of buffers to the client to allow for triple buffering
etc.
|
|
|
|
|
|
|
| |
This function replaces DRI2GetBuffers.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Still to resolve is the swap buffer request. It should probably be
broken into two requests, one to post the swap request and one to wait
for it to be completed. Also, need to find a good solution to
CopySubBuffer that doesn't require a roundtrip per rectangle.
Don't need to solve all this for 2.0, though, can add requests later on.
|
|
|
|
|
|
| |
Also, remove the screen number where it's redundant and rename
drmDrawable in the create drawable request to just 'handle' now that
we don't rely on drm drawables.
|
| |
|
|
|