st/egl: Add a helper to perform a copy swap on a resource surface
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 24 Feb 2011 12:03:07 +0000 (13:03 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 1 Mar 2011 09:36:19 +0000 (10:36 +0100)
commit2b079485f6092051ebb7fec0e6210d6743926064
treea4906a80ba23165c94bc7abaeca127ca84d9771a
parentd1e4117355f1db6ff87c837df6212bf6168e98a0
st/egl: Add a helper to perform a copy swap on a resource surface

The copy swap can be used when we need to preserve the contents of
the back buffer or when there is no way to do native page-flipping.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/egl/common/native_helper.c
src/gallium/state_trackers/egl/common/native_helper.h