OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7981a
)
SurfaceFlinger: support higher resolution
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 17 May 2018 09:29:48 +0000
(17:29 +0800)
committer
Mauro Rossi
<issor.oruam@gmail.com>
Mon, 24 Jul 2023 16:03:26 +0000
(18:03 +0200)
services/surfaceflinger/SurfaceFlinger.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/SurfaceFlinger.cpp
b/services/surfaceflinger/SurfaceFlinger.cpp
index
be479ee
..
16f4ede
100644
(file)
--- a/
services/surfaceflinger/SurfaceFlinger.cpp
+++ b/
services/surfaceflinger/SurfaceFlinger.cpp
@@
-393,8
+393,10
@@
SurfaceFlinger::SurfaceFlinger(Factory& factory, SkipInitializationTag)
// density = 140.0f;
// } else if (area < 1920 * 1080) {
// density = 160.0f;
-// } else {
+// } else
if (area < 2560 * 1600)
{
// density = 240.0f;
+// } else {
+// density = 320.0f;
// }
// ALOGI("auto set density to %f", density);
// }