atakz / android-vnc-viewer

Automatically exported from code.google.com/p/android-vnc-viewer
0 stars 0 forks source link

need more pixel ratio modes #314

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Connect to computer with client
2.Select scaling mode "1:1"
3.Observe that Nexus 10 screen dwarfs computer screen by a factor of three.

What is the expected output? What do you see instead?
1:1 does almost what you'd expect. It would be much more polished if it was 
centered instead of put in the lower right hand corner. What I need, though, is 
3:2 centered.

For my 1440×900 laptop, that would give me 2160×1350 on my Nexus 10, out of 
2560x1600, which would both use a good portion of my screen and look 
half-decent, assuming a simple scaling algorithm: for a square of four pixels

ab
cd

a square of 9 pixels

a1b
234
c5d

is generated where a,b,c, and d are their original values but 1 is the average 
of a and b, 2,4, and 5 are the averages of their neighbors, and 3 is the 
average of a,b,c, and d. For input events, each 1,2,4, and 5 would report input 
events to the letter counterclockwise to it, and 3 would report input events to 
a-- or if the previous event was in the same 4px square, the same px as the 
previous event.

Original issue reported on code.google.com by Etha...@gmail.com on 20 Dec 2012 at 2:15

GoogleCodeExporter commented 9 years ago
Granted, I don't know which functions in vnc are the client and which functions 
are Android calls. How is scaling performed?

Original comment by Etha...@gmail.com on 20 Dec 2012 at 2:19