Age | Commit message (Collapse) | Author |
|
1) If converting from float to int, adds an explicit cast as well as
considers rounding.
2) Adjust some arguments from int32_t to uint32_t where that makes
sense.
3) Adds explicit casts from int32_t to uint32_t where a cast is
necessary.
4) Converts constants used in the tests to the right type (float instead
of double, unsigned instead of signed).
Test: Builds with "-Wconversion" enabled locally
Bug: 129481165
Change-Id: I405af72c22f37865537bdefa3f589b4b2930f56c
|
|
This reverts commit de64c56f39b03f4908200d1ed2fdc9561f86fe2a.
Reason for revert: Rolling forward with fix
Test: adb shell cmd stats pull-source 10062
Change-Id: I981b12a1c5e69aad0c0d3a409d8b90b3399401f4
|
|
|
|
|
|
- When choosing the max refresh rate in Layer History, check if
the layer has the bit set, if so use it.
- Disable touch boost/choosing config with max refresh rate,
when the layer has framerate set.
Test: Run unit test. Observe logs.
Test: Extend unit test to 10sec. Tap on screen while it's running.
Observe logs. Tap, should not reset the max refresh rate.
Change-Id: Ibe2689964c9f92788ace1b08c3521f156cb47524
|
|
|
|
Test: build
Bug: 147835296
Change-Id: Iffa7674a4e1d92b9e5a84fac49806daac7feed5d
|
|
|
|
Test: build
Bug: 147835296
Change-Id: I7b53296cfc31ea5cef88448f8480ad67842741bd
|
|
|
|
Add plumbing from the app to surface flinger for the
ANativeWindow_setFrameRate() and ASurfaceTransaction_setFrameRate() api
calls we'll be adding soon.
We don't do anything in surface flinger with this data yet.
Bug: 143912624
Test: Added a new test, SetFrameRateTest.
Change-Id: I1cab87f3ce5afca4591a39d8e7a42cb1e86a368f
|
|
|
|
This reverts commit d5065451af373b954ee660d26d0fbf7b68f4c539.
Reason for revert: submission of I6d395237082337a22f37190343a1fc59703d39bf raced with this change's presubmit, causing a build breakage.
Change-Id: I5fbb1b0e93340b6a4cd99e4731d69e0fb17e5c14
|
|
Now that the new statsd api is completed, we can implement the puller
logic in TimeStats instead of in statsd's code.
Bug: 119885568
Test: adb shell cmd stats pull-source 10062
Change-Id: Ic90ec5ddc082160bd7e784becf8bf3c3a99ef971
|
|
Test: Device boots. Observe logs for errors.
Test: Open Swappy and Chrome in split screen, tap between apps,
SF prints the correct priority.
Test: Open Chrome, play video. SF prints correct priority.
Test: SF prints the correct priority received.
Bug: 142507166
Change-Id: I5fa8a857c950db01f42a380a72d098039badc289
|
|
|
|
00007148ce am: 33b06fe7e9
Change-Id: I9c5760115794b46559f62cf1aacdadffc9b3966a
|
|
00007148ce
Change-Id: Ie98e973e09760862c919cc16a0c43b232c191960
|
|
Enable global -WConversion in Android.bp and turn it off in
individual files. This is the first step to enable -WConversion
in SurfaceFlinger.
Test: boot
Bug: 129481165
Change-Id: Ia752df39ef380bde71705a32582d618242c466f7
|
|
|
|
Timestamp being distributed via the choreographer callback was the
anticipated vsync timestamp. This might make sense in the future, but
the correct legacy behavior was to distribute the event timestamp.
(code with problem was flagged off)
Test: correction of 2 unit tests
Test: boot to home
Test: uibench scroll, jitter not observed.
Fixes: 147487378
Change-Id: I142a6eaf849479dfe5b754db138f55d9e5870afd
|
|
|
|
|
|
The change in 8ec87f8c6d72084c919d99680ee770bf1635cd26 was
unintentionally dropped in moving the code to CompositionEngine.
Bug: 147398431
Test: atest libcomposition_test
Test: go/wm-smoke
Test CtsColorModeTestCases CtsDisplayTestCases CtsGraphicsTestCases CtsMediaTestCases CtsUiRenderingTestCases CtsViewTestCases
Change-Id: Ia652c04abf6e5094b399483948553f2aaffd0aea
|
|
Fixes: 147691800
Test: Only one offscreen layer per id in dump
Change-Id: I9c741e87531ec0ed166dd1cdafc0961e243d1c96
|
|
Bug: -
Test: -
|
|
|
|
Test: build, flash and boot
Change-Id: I7c3a3a4496a1d0c031abeff23f8dad07f804baf4
|
|
|
|
getClientTargetProperty will give hardware composer the ability to request some
properties of the client target that hardware composer wants. Prior to this
API, the client will does its best to produce the client target of which the
properties are pretty much fixed.
This patch implements the parsing of SET_CLIENT_TARGET_PROPERTY command in
order to get the client target property from hardware composer.
BUG: b/145968912
Test: m -j32
Change-Id: I3e738b2617e4472c7876aa283c0964e2240b144b
|
|
There are currently some layers that end up missing from the proto dumps
since their relativeOf layer has been deleted. That means the layers are
still in memory, but not traversable since we skip layers that have a
relativeOf when traversing. Instead, we can traverse the children
directly.
Test: Layers will missing relativeOf are adding to proto
Change-Id: I571ef677de0544dfe7459080cf97ff193e8666e6
|
|
|
|
am: 977d9d528d
Change-Id: Icad040fee6e94b7c02e8161c0e2fc92841f0f552
|
|
|
|
Change-Id: Id892f625af2171cf1153379f4208909fd4a1086a
|
|
|
|
This is a base CL for refresh rate selection algorithm enhancements
by allowing a different implementation of LayerHistory which will be
controlled by a switch.
Test: watch 24fps video and observe refresh rate at 60Hz
Bug: 147516364
Change-Id: Ifd12f6683bc96cd5aba04a8960b9235729820b49
|
|
|
|
Bug: N/A
Test: N/A
|
|
(Code being corrected is flagged off, no production problems)
When a period change is happening, system turns on hwvsync and uses
the first vsync signal timed at the new vsync rate as confirmation
that the rate has indeed changed (and then things like modifying the
offsets occurs).
If a presentation fence was added to the VSyncReactor system before
the first hwvsync sample arrived, this would result in the period never
being confirmed, and would result in incorrect offsets and period
estimations, resulting in bad jank scores.
Test: 3 unit tests
Test: uibench run
Fixes: 147321414
Change-Id: Idbc87529e60333df5180de585dbba3525396562b
|
|
|
|
|
|
Bug: N/A
Test: build, boot, SurfaceFlinger_test
Change-Id: I2bbca0f781897967a18731ade3a3b4724f16d361
|
|
|
|
|
|
|
|
Bug: 141706317
Test: build, boot, ASurfaceControlTest, SurfaceFlinger_test,
libsurfaceflinger_unittest, manual
Change-Id: Ib3566905a2e46cbbf88a1c80300744db03c3b7c7
|
|
Plumb onSeamlessPossible callback to SurfaceFlinger.
Test: rev up composer to 2.4
Bug: 141329414
Change-Id: I2166b8ea066002c76781aacbcc985f85f7c255a8
|
|
This reverts commit c11a37b701dddced4e024b4312597f80d7ff1dcf.
Reason for revert: - should be in the code
Change-Id: Ifae80b9b2e60d2b7a32275b9620b5df3a0e78637
|
|
|