mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
present: move over public SDK header to include/
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
65472d1964
commit
0272fcd55e
@@ -2473,8 +2473,6 @@ __glXpresentCompleteNotify(WindowPtr window, CARD8 present_kind, CARD8 present_m
|
|||||||
__glXsendSwapEvent(drawable, glx_type, ust, msc, serial);
|
__glXsendSwapEvent(drawable, glx_type, ust, msc, serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <present.h>
|
|
||||||
|
|
||||||
void
|
void
|
||||||
__glXregisterPresentCompleteNotify(void)
|
__glXregisterPresentCompleteNotify(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,11 +34,12 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "include/present.h"
|
||||||
|
|
||||||
#include <xf86.h>
|
#include <xf86.h>
|
||||||
#include <xf86Crtc.h>
|
#include <xf86Crtc.h>
|
||||||
#include <xf86drm.h>
|
#include <xf86drm.h>
|
||||||
#include <xf86str.h>
|
#include <xf86str.h>
|
||||||
#include <present.h>
|
|
||||||
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "drmmode_display.h"
|
#include "drmmode_display.h"
|
||||||
|
|||||||
@@ -461,6 +461,7 @@ if build_xorg
|
|||||||
'opaque.h',
|
'opaque.h',
|
||||||
'optionstr.h',
|
'optionstr.h',
|
||||||
'os.h',
|
'os.h',
|
||||||
|
'present.h',
|
||||||
'pixmap.h',
|
'pixmap.h',
|
||||||
'pixmapstr.h',
|
'pixmapstr.h',
|
||||||
'privates.h',
|
'privates.h',
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#define _PRESENT_H_
|
#define _PRESENT_H_
|
||||||
|
|
||||||
#include <X11/Xfuncproto.h>
|
#include <X11/Xfuncproto.h>
|
||||||
|
#include <X11/Xmd.h>
|
||||||
#include <X11/extensions/presentproto.h>
|
#include <X11/extensions/presentproto.h>
|
||||||
|
|
||||||
#include "randrstr.h"
|
#include "randrstr.h"
|
||||||
@@ -11,10 +11,6 @@ srcs_present = [
|
|||||||
'present_vblank.c',
|
'present_vblank.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
hdrs_present = [
|
|
||||||
'present.h',
|
|
||||||
]
|
|
||||||
|
|
||||||
libxserver_present = static_library('xserver_present',
|
libxserver_present = static_library('xserver_present',
|
||||||
srcs_present,
|
srcs_present,
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
@@ -24,7 +20,3 @@ libxserver_present = static_library('xserver_present',
|
|||||||
dependency('presentproto', version: '>= 1.2')
|
dependency('presentproto', version: '>= 1.2')
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
if build_xorg
|
|
||||||
install_data(hdrs_present, install_dir: xorgsdkdir)
|
|
||||||
endif
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xmd.h>
|
#include <X11/Xmd.h>
|
||||||
|
|
||||||
#include "present/present.h"
|
#include "include/present.h"
|
||||||
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user