Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
76a495af
Commit
76a495af
authored
Jan 04, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: more -ncache improvements.
parent
c88d830f
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1776 additions
and
1492 deletions
+1776
-1492
ChangeLog
x11vnc/ChangeLog
+3
-0
README
x11vnc/README
+1281
-1271
userinput.c
x11vnc/userinput.c
+469
-217
x11vnc.1
x11vnc/x11vnc.1
+1
-1
x11vnc.c
x11vnc/x11vnc.c
+1
-1
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
xdamage.c
x11vnc/xdamage.c
+20
-1
No files found.
x11vnc/ChangeLog
View file @
76a495af
2007-01-03 Karl Runge <runge@karlrunge.com>
* x11vnc: more -ncache improvements.
2007-01-01 Karl Runge <runge@karlrunge.com>
2007-01-01 Karl Runge <runge@karlrunge.com>
* x11vnc: more -ncache improvements.
* x11vnc: more -ncache improvements.
...
...
x11vnc/README
View file @
76a495af
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/userinput.c
View file @
76a495af
This diff is collapsed.
Click to expand it.
x11vnc/x11vnc.1
View file @
76a495af
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "January 2007" "x11vnc " "User Commands"
.TH X11VNC "1" "January 2007" "x11vnc " "User Commands"
.SH NAME
.SH NAME
x11vnc - allow VNC connections to real X11 displays
x11vnc - allow VNC connections to real X11 displays
version: 0.8.4, lastmod: 2007-01-0
1
version: 0.8.4, lastmod: 2007-01-0
3
.SH SYNOPSIS
.SH SYNOPSIS
.B x11vnc
.B x11vnc
[OPTION]...
[OPTION]...
...
...
x11vnc/x11vnc.c
View file @
76a495af
/*
/*
* x11vnc: a VNC server for X displays.
* x11vnc: a VNC server for X displays.
*
*
* Copyright (c) 2002-200
6
Karl J. Runge <runge@karlrunge.com>
* Copyright (c) 2002-200
7
Karl J. Runge <runge@karlrunge.com>
* All rights reserved.
* All rights reserved.
*
*
* This is free software; you can redistribute it and/or modify
* This is free software; you can redistribute it and/or modify
...
...
x11vnc/x11vnc_defs.c
View file @
76a495af
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8.4 lastmod: 2007-01-0
1
"
;
char
lastmod
[]
=
"0.8.4 lastmod: 2007-01-0
3
"
;
/* X display info */
/* X display info */
...
...
x11vnc/xdamage.c
View file @
76a495af
...
@@ -544,6 +544,8 @@ int xdamage_hint_skip(int y) {
...
@@ -544,6 +544,8 @@ int xdamage_hint_skip(int y) {
static
sraRegionPtr
scanline
=
NULL
;
static
sraRegionPtr
scanline
=
NULL
;
sraRegionPtr
reg
,
tmpl
;
sraRegionPtr
reg
,
tmpl
;
int
ret
,
i
,
n
,
nreg
;
int
ret
,
i
,
n
,
nreg
;
static
int
ncache_no_skip
=
0
;
static
double
last_ncache_no_skip
=
0
.
0
;
if
(
!
xdamage_present
||
!
use_xdamage
)
{
if
(
!
xdamage_present
||
!
use_xdamage
)
{
return
0
;
/* cannot skip */
return
0
;
/* cannot skip */
...
@@ -557,9 +559,26 @@ int xdamage_hint_skip(int y) {
...
@@ -557,9 +559,26 @@ int xdamage_hint_skip(int y) {
scanline
=
sraRgnCreate
();
scanline
=
sraRgnCreate
();
}
}
nreg
=
(
xdamage_memory
*
NSCAN
)
+
1
;
if
(
ncache
>
0
)
{
if
(
ncache_no_skip
==
0
)
{
if
(
dnow
()
>
last_ncache_no_skip
+
4
.
0
)
{
ncache_no_skip
=
1
;
last_ncache_no_skip
=
dnow
();
return
0
;
}
}
else
{
if
(
++
ncache_no_skip
>=
2
*
nreg
)
{
ncache_no_skip
=
0
;
}
else
{
return
0
;
}
}
}
tmpl
=
sraRgnCreateRect
(
0
,
y
,
dpy_x
,
y
+
1
);
tmpl
=
sraRgnCreateRect
(
0
,
y
,
dpy_x
,
y
+
1
);
nreg
=
(
xdamage_memory
*
NSCAN
)
+
1
;
ret
=
1
;
ret
=
1
;
for
(
i
=
0
;
i
<
nreg
;
i
++
)
{
for
(
i
=
0
;
i
<
nreg
;
i
++
)
{
/* go back thru the history starting at most recent */
/* go back thru the history starting at most recent */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment