summaryrefslogtreecommitdiff
path: root/dri2proto.h
Commit message (Collapse)AuthorAgeFilesLines
* dri2proto: Add DRI2GetParam requestChad Versace2012-05-211-2/+26
| | | | | | | | | | | | | | | | | | | | | | Bump protocol version to 1.4. Bump package version to 2.7. This new protocol request effectively allows clients to perform feature detection on the DDX. If I had DRI2GetParam in June 2011, when I was implementing support in the Intel DDX and Mesa for new hardware that required a new DRI2 attachment format, then I could have avoided a week of pain caused by the necessity to write a horrid feature detection hack [1] in Mesa. In the future, when the work begins to add MSAA support to the Intel DDX, having a clean way to do feature detection will allow us to avoid revisiting and expanding that hack. [1] mesa, commit aea2236a, function intel_verify_dri2_has_hi Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <idr@freedesktop.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
* dri2proto: add a new DRI2BufferSwapComplete struct that matches the specJesse Barnes2011-05-191-0/+16
| | | | | | | | | Just add a new struct to remain compatible with existing code. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
* Revert "dri2proto: make DRI2 swap event match GLX spec"Jesse Barnes2011-05-051-2/+2
| | | | | | | This reverts commit 0ca3778de195a82087d0f07415a1cf8fc94f5b0a. This broke compatibility by renaming existing struct fields. So revert in favor of a new struct.
* dri2proto: make DRI2 swap event match GLX specdri2proto-2.4Jesse Barnes2011-05-031-2/+2
| | | | | | | We only spec a 32 bit sbc count, so drop the high bits. Also make the padding explicit. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
* Define an event to notify clients about the validity of their buffers.dri2proto-2.3Francisco Jerez2010-02-151-2/+17
| | | | | | Bumps the protocol and package versions. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
* Add DRI2 event support for DRI2BufferSwapCompleteJesse Barnes2009-11-121-2/+22
|
* Pad out DRI2 swap buffers replyJesse Barnes2009-11-111-1/+5
|
* Add DRI2SwapInterval protocolJesse Barnes2009-11-101-0/+10
| | | | Needed to handle swap interval in the direct rendered case.
* Fix DRI2SwapBuffers reply lengthJesse Barnes2009-10-021-1/+1
| | | | | | Length should be a CARD32 and match the endianness annotation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
* Add swap interval and synchronization supportJesse Barnes2009-10-011-1/+66
| | | | | | | | 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>
* Make swapbuffers an async requestKristian Høgsberg2009-06-031-14/+0
| | | | | The protocol now require a DRI2GetBuffersWithFormat request to follow the swapbuffer request so.
* Add SwapBuffers requestJesse Barnes2009-05-011-1/+24
| | | | | | 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.
* Add protocol for DRI2GetBuffersWithFormatdri2proto-2.1Ian Romanick2009-04-241-2/+3
| | | | | | | This function replaces DRI2GetBuffers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
* Bump to 1.99.3 and back out the value bitmask from the CopyRegion request.dri2proto-1.99.3Kristian Høgsberg2008-12-011-3/+2
|
* Add protocol documentation, update to DRI2CopyRegion request.Kristian Høgsberg2008-10-141-30/+32
|
* Update to 1.99.1 - drop sarea and perform swap buffer in X server.dri2proto-1.99.1Kristian Høgsberg2008-08-281-21/+42
| | | | | | | | | 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.
* Add reemitDrawableInfo protocol.dri2proto-1.0.0Kristian Høgsberg2008-03-261-16/+37
| | | | | | 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.
* Fix typo in xDRI2QueryVersionReq req type field.Kristian Høgsberg2008-03-121-1/+1
|
* Initial commit.Kristian Høgsberg2008-03-121-0/+150