summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-05-09 15:13:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-11 16:42:58 +0100
commit495c109534b32be107c55864c0818df9387284cf (patch)
treee80b19228d4d966881715a7439a44a986d14f3cd /meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch
parentc532f96b5b4528fff2eb009c52b8ff5a76721404 (diff)
downloadpoky-495c109534b32be107c55864c0818df9387284cf.tar.gz
xserver-xf86-dri-lite_git: upgrade to 1.10.2 RC1 snapshot
- the following patches are no longer used, so remove them doublefix.patch drmfix.patch fix_macros.patch libdri-xinerama-symbol.patch xorg-server-disable-dri_sarea.patch xorg-server-enable-dri2.patch xserver-1.5.0-bg-none-root.patch xserver-DRI2Swapbuffer.patch xserver-boottime.patch xserver-no-root-2.patch - update the patch upstream status (From OE-Core rev: 642f7199c2a5221a45be25b4aa008fde25a5c07a) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch b/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch
deleted file mode 100644
index efc85a42ab..0000000000
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/xserver-boottime.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1diff --git a/os/log.c b/os/log.c
2index 0860847..2c46f1a 100644
3--- a/os/log.c
4+++ b/os/log.c
5@@ -255,6 +255,33 @@ LogVWrite(int verb, const char *f, va_list args)
6 static char tmpBuffer[1024];
7 int len = 0;
8
9+ struct timeval time;
10+ time_t tv_sec;
11+ suseconds_t tv_usec;
12+ static Bool first = TRUE;
13+ static time_t start_tv_sec;
14+ static suseconds_t start_usec;
15+ int diff_sec, diff_usec;
16+
17+ gettimeofday(&time, NULL);
18+ tv_sec = time.tv_sec;
19+ tv_usec = time.tv_usec;
20+ if (first == TRUE) {
21+ start_tv_sec = tv_sec;
22+ start_usec = tv_usec;
23+ first = FALSE;
24+ }
25+ diff_sec = (int)difftime(tv_sec, start_tv_sec);
26+ diff_usec = (tv_usec - start_usec);
27+ if (diff_usec < 0) {
28+ diff_sec--;
29+ diff_usec += 1000000;
30+ }
31+ sprintf(tmpBuffer, "[%d sec: %06d usec]", diff_sec , diff_usec);
32+ len = strlen(tmpBuffer);
33+ if (logFile)
34+ fwrite(tmpBuffer, len, 1, logFile);
35+
36 /*
37 * Since a va_list can only be processed once, write the string to a
38 * buffer, and then write the buffer out to the appropriate output