OSDN Git Service
(root)
/
android-x86
/
external-drm_hwcomposer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877be97
)
drm_hwcomposer: Switch to triple buffering
author
Stéphane Marchesin
<marcheu@chromium.org>
Fri, 19 Jun 2015 21:50:45 +0000
(14:50 -0700)
committer
Stéphane Marchesin
<marcheu@chromium.org>
Fri, 19 Jun 2015 22:22:54 +0000
(15:22 -0700)
This increases the performance of the UI (30->40 fps).
BUG=none
TEST=boot to UI, swipe between desktops, measure fps
Change-Id: Ie0ff4b51c3db402a40c9676d3f09d48d85097bce
hwcomposer.cpp
patch
|
blob
|
history
diff --git
a/hwcomposer.cpp
b/hwcomposer.cpp
index
6c007bc
..
5d395b9
100644
(file)
--- a/
hwcomposer.cpp
+++ b/
hwcomposer.cpp
@@
-43,7
+43,7
@@
#include <ui/PixelFormat.h>
#define UM_PER_INCH 25400
-#define HWC_FB_BUFFERS
2
+#define HWC_FB_BUFFERS
3
namespace android {