mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-15 09:30:43 +01:00
ensure finish is called for front buffer rendering.
This commit is contained in:
parent
e4fdef9ec2
commit
8cd2200498
7 changed files with 14 additions and 22 deletions
|
|
@ -28,6 +28,11 @@
|
|||
|
||||
#include <xgl-config.h>
|
||||
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
|
||||
#include <X11/X.h>
|
||||
#define NEED_EVENTS
|
||||
#include <X11/Xproto.h>
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
* Author: David Reveman <davidr@novell.com>
|
||||
*/
|
||||
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
#include "xgl.h"
|
||||
|
||||
#ifdef RENDER
|
||||
|
|
|
|||
|
|
@ -22,11 +22,6 @@
|
|||
*
|
||||
* Author: David Reveman <davidr@novell.com>
|
||||
*/
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
|
||||
|
||||
#include "xgl.h"
|
||||
#include "fb.h"
|
||||
|
|
|
|||
|
|
@ -22,11 +22,6 @@
|
|||
*
|
||||
* Author: David Reveman <davidr@novell.com>
|
||||
*/
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
|
||||
|
||||
#include "xgl.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,10 +22,6 @@
|
|||
*
|
||||
* Author: David Reveman <davidr@novell.com>
|
||||
*/
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
|
||||
#include "xgl.h"
|
||||
#include "gcstruct.h"
|
||||
|
|
|
|||
|
|
@ -475,6 +475,15 @@ xglAddCurrentBitDamage (DrawablePtr pDrawable)
|
|||
{
|
||||
XGL_DRAWABLE_PIXMAP_PRIV (pDrawable);
|
||||
|
||||
{
|
||||
/* This is a little severe as it also impacts xgl - tune me */
|
||||
XGL_SCREEN_PRIV (pDrawable->pScreen);
|
||||
__glXleaveServer(FALSE);
|
||||
glitz_surface_flush (pScreenPriv->surface);
|
||||
glitz_drawable_finish (pScreenPriv->drawable);
|
||||
__glXenterServer(FALSE);
|
||||
}
|
||||
|
||||
if (REGION_NOTEMPTY (pDrawable->pScreen, &pPixmapPriv->bitRegion))
|
||||
{
|
||||
BoxPtr pBitExt;
|
||||
|
|
|
|||
|
|
@ -22,10 +22,6 @@
|
|||
*
|
||||
* Author: David Reveman <davidr@novell.com>
|
||||
*/
|
||||
#include "glxserver.h"
|
||||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
|
||||
|
||||
#include "xgl.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue