ensure finish is called for front buffer rendering.

This commit is contained in:
Alan Hourihane 2007-10-17 11:23:59 +01:00
parent e4fdef9ec2
commit 8cd2200498
7 changed files with 14 additions and 22 deletions

View file

@ -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>

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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;

View file

@ -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"