summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-16Add DRI2SwapBuffersWithDamageHEADmasterChris Wilson2-12/+57
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2015-06-16Declare DRI2ParamXHasBufferAgeChris Wilson3-4/+11
In order for X/DDX to reuse a driver specific field of the DRI2GetBuffers reply, we need to declare the change in semantics. To indicate that the flags field now continues the last swap buffers count instead, we introduce the has-buffer-age parameter. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2013-10-26config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-1/+2
Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-01-15autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15configure: Remove AM_MAINTAINER_MODEAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-07dri2proto: bump package to 2.8dri2proto-2.8Dave Airlie1-1/+1
this just so we can rely on 2.8 to build the server/mesa against. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-06dri2proto: add prime protocol support. (v2.1)Dave Airlie1-0/+5
So we reserve bits 16->19 for offload device ids, this means we can have 6 offload devices, which is plenty for now, and we can bump this further later without fear. v2: I suck at maths, that is all. Fixed up the maths to match reality. v2.1: fix typo Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-21dri2proto: Add DRI2GetParam requestChad Versace3-3/+76
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>
2012-05-02dri2proto: Fix documented opcodesChad Versace1-9/+9
Fix the documented opcodes in dri2proto.txt to be consistent with the actual opcode values in dri2proto.h and in xcb/proto:src/dri2.xml. (It looks like the opcodes were incorrect due to copy-paste errors). Reviewed-by: Kristian Høgsberg <krh@bitplanet.net Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2011-06-07Add attachment token DRI2BufferHizdri2proto-2.6Chad Versace3-2/+7
... and bump version to 2.6. CC: Eric Anholt <eric@anholt.net> CC: Ian Romanick <idr@freedesktop.org> CC: Kristian Høgsberg <krh@bitplanet.net Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad@chad-versace.us>
2011-05-19dri2proto: add a new DRI2BufferSwapComplete struct that matches the specJesse Barnes2-1/+17
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>
2011-05-05Revert "dri2proto: make DRI2 swap event match GLX spec"Jesse Barnes1-2/+2
This reverts commit 0ca3778de195a82087d0f07415a1cf8fc94f5b0a. This broke compatibility by renaming existing struct fields. So revert in favor of a new struct.
2011-05-03dri2proto: make DRI2 swap event match GLX specdri2proto-2.4Jesse Barnes2-3/+3
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>
2010-06-24Fix DRI2Connect line encoding to match existing codeMarcin Kościelnicki1-3/+4
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-03-28config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28config: remove the pkgconfig pc.in file from EXTRA_DISTGaetan Nadon1-1/+0
Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-28config: install and distribute dri2proto.txtGaetan Nadon1-1/+3
It will now be installed in $docdir in addition to being distributed in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-17Fix typo and obsolete reference in dri2proto.txtMike Stroyan1-2/+2
2010-02-17Add more info about dri2proto eventsMike Stroyan1-2/+34
2010-02-15Define an event to notify clients about the validity of their buffers.dri2proto-2.3Francisco Jerez3-10/+42
Bumps the protocol and package versions. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-08Merge branch 'dri2-swapbuffers'dri2proto-2.2Jesse Barnes3-11/+390
2009-11-22Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+2
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-17Add a DRI2DriverVDPAU driver type.Aaron Plattner4-3/+6
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Kristian Høgsberg <krh@bitplanet.net>
2009-11-16README: file created or updated #24206Gaetan Nadon1-0/+30
Contains a set of URLs to freedesktop.org.
2009-11-15Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-4/+0
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-11-15Makefile.am: INSTALL file is missing or incorrect #24206Gaetan Nadon1-2/+5
The standard GNU file on building/installing tarball is copied using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS Add INSTALL target
2009-11-15configure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-5/+5
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-11-15configure.ac: AM_MAINTAINER_MODE missing #24238Gaetan Nadon1-0/+1
This turns off maintainer mode build rules in tarballs. Works in conjunction with autogen.sh --enable-maintainer-mode
2009-11-15.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-7/+71
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-11-12Fix cut & paste error: Extension Requests -> Extension EventsJesse Barnes1-1/+1
2009-11-12Add DRI2 event support for DRI2BufferSwapCompleteJesse Barnes3-10/+73
2009-11-11Pad out DRI2 swap buffers replyJesse Barnes1-1/+5
2009-11-10Add DRI2SwapInterval protocolJesse Barnes2-0/+33
Needed to handle swap interval in the direct rendered case.
2009-10-29Bump package version to 2.2Jesse Barnes1-1/+1
2009-10-02Fix DRI2SwapBuffers reply lengthJesse Barnes1-1/+1
Length should be a CARD32 and match the endianness annotation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-10-01Add swap interval and synchronization supportJesse Barnes2-10/+239
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>
2009-06-08Update protocol description for swapbuffersJesse Barnes1-4/+4
2009-06-03Make swapbuffers an async requestKristian Høgsberg1-14/+0
The protocol now require a DRI2GetBuffersWithFormat request to follow the swapbuffer request so.
2009-05-01Add SwapBuffers requestJesse Barnes2-1/+65
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.
2009-04-24Add protocol for DRI2GetBuffersWithFormatdri2proto-2.1Ian Romanick4-5/+70
This function replaces DRI2GetBuffers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-20Bump to 2.0 and releasedri2proto-2.0Kristian Høgsberg1-1/+1
2009-01-28Distribute the protocol documentationJulien Cristau1-1/+1
2009-01-27Janitor: Correct make distcheck and dont distribute autogen.shPaulo Cesar Pereira de Andrade3-1/+30
2008-12-01Bump to 1.99.3 and back out the value bitmask from the CopyRegion request.dri2proto-1.99.3Kristian Høgsberg3-27/+11
2008-12-01Bump version to 1.99.2.Kristian Høgsberg1-1/+1
2008-10-14Add protocol documentation, update to DRI2CopyRegion request.Kristian Høgsberg3-37/+551
2008-08-28Update to 1.99.1 - drop sarea and perform swap buffer in X server.dri2proto-1.99.1Kristian Høgsberg4-23/+88
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.
2008-04-02Adjust pkg-config cflags to match other proto modules.dri2proto-1.1Kristian Høgsberg2-2/+2
2008-03-26Add reemitDrawableInfo protocol.dri2proto-1.0.0Kristian Høgsberg1-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.
2008-03-12Fix typo in xDRI2QueryVersionReq req type field.Kristian Høgsberg1-1/+1