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
e38c3c22
Commit
e38c3c22
authored
Jan 16, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: more tweaks to -8to24 XGETIMAGE_8TO24
parent
5993dd75
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1074 additions
and
858 deletions
+1074
-858
8to24.c
x11vnc/8to24.c
+157
-51
ChangeLog
x11vnc/ChangeLog
+5
-1
README
x11vnc/README
+881
-794
help.c
x11vnc/help.c
+13
-2
util.c
x11vnc/util.c
+3
-6
x11vnc.1
x11vnc/x11vnc.1
+14
-3
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
x11vnc/8to24.c
View file @
e38c3c22
This diff is collapsed.
Click to expand it.
x11vnc/ChangeLog
View file @
e38c3c22
2006-01-16 Karl Runge <runge@karlrunge.com>
* x11vnc: more tweaks to -8to24, add XGETIMAGE_8TO24 mode to call
XGetImage() on the 8bpp regions.
2006-01-14 Karl Runge <runge@karlrunge.com>
* x11vnc: add -8to24 option for some multi-depth displays (but use
of -overlay is preferred i
s
supported).
of -overlay is preferred i
f
supported).
2006-01-12 Karl Runge <runge@karlrunge.com>
* fix -DSMALL_FOOTPRINT=N builds.
...
...
x11vnc/README
View file @
e38c3c22
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/help.c
View file @
e38c3c22
...
...
@@ -174,10 +174,21 @@ void print_help(int mode) {
" to periodically refresh the screen (at the cost of
\n
"
" bandwidth).
\n
"
"
\n
"
" Debugging for this mode can be enabled by setting the
\n
"
" environment variable DEBUG_8TO24 to 1, 2, or 3.
\n
"
"
\n
"
" If there are problems, to enable an even more
\n
"
" experimental mode, set the environment variable
\n
"
" XGETIMAGE_8TO24=1 before starting x11vnc. This enables
\n
"
" a scheme were XGetImage() is used to retrieve the 8bpp
\n
"
" data instead of assuming that data is in bits 25-32.
\n
"
" This mode is significantly slower than the above mode.
\n
"
"
\n
"
" Note that -8to24 does not work on displays with 8bpp
\n
"
" default visual with depth 24 applications. The Xserver
\n
"
" -cc option can be used to switch the default depth on
\n
"
" multidepth setups.
\n
"
" -cc option can be used to switch the default depth
\n
"
" on multidepth setups. It may be possible to handle
\n
"
" this case.
\n
"
"
\n
"
"-scale fraction Scale the framebuffer by factor
\"
fraction
\"
. Values
\n
"
" less than 1 shrink the fb, larger ones expand it. Note:
\n
"
...
...
x11vnc/util.c
View file @
e38c3c22
...
...
@@ -418,7 +418,7 @@ void rfbCFD(long usec) {
double
rect_overlap
(
int
x1
,
int
y1
,
int
x2
,
int
y2
,
int
X1
,
int
Y1
,
int
X2
,
int
Y2
)
{
double
a
,
A
,
o
;
sraRegionPtr
r
,
R
,
overlap
;
sraRegionPtr
r
,
R
;
sraRectangleIterator
*
iter
;
sraRect
rt
;
...
...
@@ -428,12 +428,10 @@ double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1,
r
=
sraRgnCreateRect
(
x1
,
y1
,
x2
,
y2
);
R
=
sraRgnCreateRect
(
X1
,
Y1
,
X2
,
Y2
);
overlap
=
sraRgnCreateRect
(
x1
,
y1
,
x2
,
y2
);
sraRgnAnd
(
overlap
,
R
);
sraRgnAnd
(
r
,
R
);
o
=
0
.
0
;
iter
=
sraRgnGetIterator
(
overlap
);
iter
=
sraRgnGetIterator
(
r
);
while
(
sraRgnIteratorNext
(
iter
,
&
rt
))
{
o
+=
nabs
(
(
rt
.
x2
-
rt
.
x1
)
*
(
rt
.
y2
-
rt
.
y1
)
);
}
...
...
@@ -441,7 +439,6 @@ double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1,
sraRgnDestroy
(
r
);
sraRgnDestroy
(
R
);
sraRgnDestroy
(
overlap
);
if
(
a
<
A
)
{
o
=
o
/
a
;
...
...
x11vnc/x11vnc.1
View file @
e38c3c22
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "January 2006" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.8, lastmod: 2006-01-1
4
version: 0.8, lastmod: 2006-01-1
6
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
@@ -206,10 +206,21 @@ Also the option, say, \fB-fixscreen\fR V=3.0 may be use
to periodically refresh the screen (at the cost of
bandwidth).
.IP
Debugging for this mode can be enabled by setting the
environment variable DEBUG_8TO24 to 1, 2, or 3.
.IP
If there are problems, to enable an even more
experimental mode, set the environment variable
XGETIMAGE_8TO24=1 before starting x11vnc. This enables
a scheme were XGetImage() is used to retrieve the 8bpp
data instead of assuming that data is in bits 25-32.
This mode is significantly slower than the above mode.
.IP
Note that \fB-8to24\fR does not work on displays with 8bpp
default visual with depth 24 applications. The Xserver
\fB-cc\fR option can be used to switch the default depth on
multidepth setups.
\fB-cc\fR option can be used to switch the default depth
on multidepth setups. It may be possible to handle
this case.
.PP
\fB-scale\fR \fIfraction\fR
.IP
...
...
x11vnc/x11vnc_defs.c
View file @
e38c3c22
...
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8 lastmod: 2006-01-1
4
"
;
char
lastmod
[]
=
"0.8 lastmod: 2006-01-1
6
"
;
/* X display info */
...
...
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