gstreamer-omap:dri2proto.git
7 years agoAdd attachment token DRI2BufferHiz master dri2proto-2.6
Chad Versace [Wed, 11 May 2011 19:50:11 +0000 (12:50 -0700)]
Add attachment token DRI2BufferHiz

... 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>
7 years agodri2proto: add a new DRI2BufferSwapComplete struct that matches the spec
Jesse Barnes [Thu, 5 May 2011 20:11:22 +0000 (13:11 -0700)]
dri2proto: add a new DRI2BufferSwapComplete struct that matches the spec

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>
7 years agoRevert "dri2proto: make DRI2 swap event match GLX spec"
Jesse Barnes [Thu, 5 May 2011 16:22:39 +0000 (09:22 -0700)]
Revert "dri2proto: make DRI2 swap event match GLX spec"

This reverts commit 0ca3778de195a82087d0f07415a1cf8fc94f5b0a.

This broke compatibility by renaming existing struct fields.  So revert
in favor of a new struct.

7 years agodri2proto: make DRI2 swap event match GLX spec
Jesse Barnes [Tue, 3 May 2011 19:14:58 +0000 (12:14 -0700)]
dri2proto: make DRI2 swap event match GLX spec

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>
8 years agoFix DRI2Connect line encoding to match existing code
Marcin Kościelnicki [Thu, 13 May 2010 21:05:56 +0000 (21:05 +0000)]
Fix DRI2Connect line encoding to match existing code

Signed-off-by: Julien Cristau <jcristau@debian.org>
8 years agoconfig: update AC_PREREQ statement to 2.60
Gaetan Nadon [Sun, 28 Mar 2010 23:25:52 +0000 (19:25 -0400)]
config: update AC_PREREQ statement to 2.60

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>
8 years agoconfig: remove the pkgconfig pc.in file from EXTRA_DIST
Gaetan Nadon [Sun, 28 Mar 2010 23:00:30 +0000 (19:00 -0400)]
config: remove the pkgconfig pc.in file from EXTRA_DIST

Automake always includes it in the tarball.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8 years agoconfig: install and distribute dri2proto.txt
Gaetan Nadon [Sun, 28 Mar 2010 21:35:44 +0000 (17:35 -0400)]
config: install and distribute dri2proto.txt

It will now be installed in $docdir in addition
to being distributed in the tarball.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8 years agoFix typo and obsolete reference in dri2proto.txt
Mike Stroyan [Tue, 16 Feb 2010 21:51:43 +0000 (14:51 -0700)]
Fix typo and obsolete reference in dri2proto.txt

8 years agoAdd more info about dri2proto events
Mike Stroyan [Tue, 16 Feb 2010 21:47:21 +0000 (14:47 -0700)]
Add more info about dri2proto events

8 years agoDefine an event to notify clients about the validity of their buffers.
Francisco Jerez [Mon, 8 Feb 2010 18:24:37 +0000 (19:24 +0100)]
Define an event to notify clients about the validity of their buffers.

Bumps the protocol and package versions.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
8 years agoMerge branch 'dri2-swapbuffers'
Jesse Barnes [Wed, 9 Dec 2009 00:03:11 +0000 (16:03 -0800)]
Merge branch 'dri2-swapbuffers'

8 years agoMakefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Gaetan Nadon [Mon, 23 Nov 2009 00:24:47 +0000 (19:24 -0500)]
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES

Now that the INSTALL file is generated.
Allows running make maintainer-clean.

8 years agoAdd a DRI2DriverVDPAU driver type.
Aaron Plattner [Mon, 12 Oct 2009 20:11:47 +0000 (13:11 -0700)]
Add a DRI2DriverVDPAU driver type.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
8 years agoREADME: file created or updated #24206
Gaetan Nadon [Mon, 16 Nov 2009 16:13:29 +0000 (11:13 -0500)]
README: file created or updated #24206

Contains a set of URLs to freedesktop.org.

8 years agoMakefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
Gaetan Nadon [Mon, 16 Nov 2009 00:45:26 +0000 (19:45 -0500)]
Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432

ChangeLog filename is known to Automake and requires no further
coding in the makefile.

8 years agoMakefile.am: INSTALL file is missing or incorrect #24206
Gaetan Nadon [Sun, 15 Nov 2009 23:31:28 +0000 (18:31 -0500)]
Makefile.am: INSTALL file is missing or incorrect #24206

The standard GNU file on building/installing  tarball is copied
using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS
Add INSTALL target

8 years agoconfigure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242
Gaetan Nadon [Sun, 15 Nov 2009 23:11:36 +0000 (18:11 -0500)]
configure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242

This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.

8 years agoconfigure.ac: AM_MAINTAINER_MODE missing #24238
Gaetan Nadon [Sun, 15 Nov 2009 18:55:25 +0000 (13:55 -0500)]
configure.ac: AM_MAINTAINER_MODE missing #24238

This turns off maintainer mode build rules in tarballs.
Works in conjunction with autogen.sh --enable-maintainer-mode

8 years ago.gitignore: use common defaults with custom section # 24239
Gaetan Nadon [Sat, 14 Nov 2009 23:26:46 +0000 (18:26 -0500)]
.gitignore: use common defaults with custom section # 24239

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.

8 years agoFix cut & paste error: Extension Requests -> Extension Events
Jesse Barnes [Thu, 12 Nov 2009 17:23:03 +0000 (17:23 +0000)]
Fix cut & paste error: Extension Requests -> Extension Events

8 years agoAdd DRI2 event support for DRI2BufferSwapComplete
Jesse Barnes [Thu, 12 Nov 2009 15:26:40 +0000 (15:26 +0000)]
Add DRI2 event support for DRI2BufferSwapComplete

8 years agoPad out DRI2 swap buffers reply
Jesse Barnes [Wed, 11 Nov 2009 23:26:40 +0000 (15:26 -0800)]
Pad out DRI2 swap buffers reply

8 years agoAdd DRI2SwapInterval protocol
Jesse Barnes [Tue, 10 Nov 2009 20:12:07 +0000 (12:12 -0800)]
Add DRI2SwapInterval protocol

Needed to handle swap interval in the direct rendered case.

8 years agoBump package version to 2.2
Jesse Barnes [Thu, 29 Oct 2009 19:45:48 +0000 (12:45 -0700)]
Bump package version to 2.2

8 years agoFix DRI2SwapBuffers reply length
Jesse Barnes [Sat, 3 Oct 2009 05:23:09 +0000 (22:23 -0700)]
Fix DRI2SwapBuffers reply length

Length should be a CARD32 and match the endianness annotation.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
8 years agoAdd swap interval and synchronization support
Jesse Barnes [Fri, 2 Oct 2009 05:13:34 +0000 (22:13 -0700)]
Add swap interval and synchronization support

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>
9 years agoUpdate protocol description for swapbuffers
Jesse Barnes [Mon, 8 Jun 2009 23:12:50 +0000 (16:12 -0700)]
Update protocol description for swapbuffers

9 years agoMake swapbuffers an async request
Kristian Høgsberg [Wed, 3 Jun 2009 21:36:43 +0000 (17:36 -0400)]
Make swapbuffers an async request

The protocol now require a DRI2GetBuffersWithFormat request to follow the
swapbuffer request so.

9 years agoAdd SwapBuffers request
Jesse Barnes [Fri, 1 May 2009 21:41:55 +0000 (14:41 -0700)]
Add SwapBuffers request

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.

9 years agoAdd protocol for DRI2GetBuffersWithFormat
Ian Romanick [Tue, 21 Apr 2009 04:16:24 +0000 (21:16 -0700)]
Add protocol for DRI2GetBuffersWithFormat

This function replaces DRI2GetBuffers.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
9 years agoBump to 2.0 and release
Kristian Høgsberg [Mon, 20 Apr 2009 18:08:19 +0000 (14:08 -0400)]
Bump to 2.0 and release

9 years agoDistribute the protocol documentation
Julien Cristau [Fri, 9 Jan 2009 05:07:59 +0000 (06:07 +0100)]
Distribute the protocol documentation

9 years agoJanitor: Correct make distcheck and dont distribute autogen.sh
Paulo Cesar Pereira de Andrade [Tue, 27 Jan 2009 22:06:28 +0000 (20:06 -0200)]
Janitor: Correct make distcheck and dont distribute autogen.sh

9 years agoBump to 1.99.3 and back out the value bitmask from the CopyRegion request.
Kristian Høgsberg [Tue, 2 Dec 2008 01:57:40 +0000 (20:57 -0500)]
Bump to 1.99.3 and back out the value bitmask from the CopyRegion request.

9 years agoBump version to 1.99.2.
Kristian Høgsberg [Mon, 1 Dec 2008 19:01:42 +0000 (14:01 -0500)]
Bump version to 1.99.2.

9 years agoAdd protocol documentation, update to DRI2CopyRegion request.
Kristian Høgsberg [Wed, 15 Oct 2008 03:19:15 +0000 (23:19 -0400)]
Add protocol documentation, update to DRI2CopyRegion request.

10 years agoUpdate to 1.99.1 - drop sarea and perform swap buffer in X server.
Kristian Høgsberg [Tue, 12 Aug 2008 16:52:33 +0000 (12:52 -0400)]
Update to 1.99.1 - drop sarea and perform swap buffer in X server.

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.

10 years agoAdjust pkg-config cflags to match other proto modules.
Kristian Høgsberg [Wed, 2 Apr 2008 23:11:32 +0000 (19:11 -0400)]
Adjust pkg-config cflags to match other proto modules.

10 years agoAdd reemitDrawableInfo protocol.
Kristian Høgsberg [Wed, 26 Mar 2008 20:00:05 +0000 (16:00 -0400)]
Add reemitDrawableInfo protocol.

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.

10 years agoFix typo in xDRI2QueryVersionReq req type field.
Kristian Høgsberg [Wed, 12 Mar 2008 21:50:34 +0000 (17:50 -0400)]
Fix typo in xDRI2QueryVersionReq req type field.

10 years agoInitial commit.
Kristian Høgsberg [Tue, 11 Mar 2008 04:12:55 +0000 (00:12 -0400)]
Initial commit.