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
47f18e57
Commit
47f18e57
authored
Oct 16, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
font errors, requestedRegion bug
parent
f41dc003
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
TODO
TODO
+3
-0
font.c
font.c
+2
-2
rfbserver.c
rfbserver.c
+6
-4
No files found.
TODO
View file @
47f18e57
immediate:
----------
DeferUpdateTime (timing problems!)
cursor drawing: set optional grain to mark bigger rectangles as drawn (else
you end up with thousands of one-pixel-rectangles to encode).
selectbox: scroll bars
documentation
hint that to mark very tiny regions as
...
...
font.c
View file @
47f18e57
...
...
@@ -28,7 +28,7 @@ int rfbDrawChar(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
memcpy
(
rfbScreen
->
frameBuffer
+
(
y
+
j
)
*
rowstride
+
(
x
+
i
)
*
bpp
,
colour
,
bpp
);
d
<<=
1
;
}
if
((
i
&
7
)
!=
0
)
data
++
;
/* if((i&7)!=0) data++; */
}
return
(
width
);
}
...
...
@@ -90,7 +90,7 @@ int rfbDrawCharWithClip(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
}
d
<<=
1
;
}
/
/if((i&7)==0) data++;
/
* if((i&7)==0) data++; */
data
+=
extra_bytes
;
}
return
(
width
);
...
...
rfbserver.c
View file @
47f18e57
...
...
@@ -871,7 +871,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
sraRect
rect
;
int
nUpdateRegionRects
;
rfbFramebufferUpdateMsg
*
fu
=
(
rfbFramebufferUpdateMsg
*
)
cl
->
updateBuf
;
sraRegionPtr
updateRegion
,
updateCopyRegion
;
sraRegionPtr
updateRegion
,
updateCopyRegion
,
tmpRegion
;
int
dx
,
dy
;
Bool
sendCursorShape
=
FALSE
;
...
...
@@ -932,8 +932,10 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
updateCopyRegion
=
sraRgnCreateRgn
(
cl
->
copyRegion
);
sraRgnAnd
(
updateCopyRegion
,
cl
->
requestedRegion
);
sraRgnOffset
(
cl
->
requestedRegion
,
cl
->
copyDX
,
cl
->
copyDY
);
sraRgnAnd
(
updateCopyRegion
,
cl
->
requestedRegion
);
tmpRegion
=
sraRgnCreateRgn
(
cl
->
requestedRegion
);
sraRgnOffset
(
tmpRegion
,
cl
->
copyDX
,
cl
->
copyDY
);
sraRgnAnd
(
updateCopyRegion
,
tmpRegion
);
sraRgnDestroy
(
tmpRegion
);
dx
=
cl
->
copyDX
;
dy
=
cl
->
copyDY
;
...
...
@@ -957,7 +959,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
sraRgnSubtract
(
cl
->
modifiedRegion
,
updateRegion
);
sraRgnSubtract
(
cl
->
modifiedRegion
,
updateCopyRegion
);
sraRgnMakeEmpty
(
cl
->
requestedRegion
);
/* sraRgnMakeEmpty(cl->requestedRegion); */
sraRgnMakeEmpty
(
cl
->
copyRegion
);
cl
->
copyDX
=
0
;
cl
->
copyDY
=
0
;
...
...
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