OSDN Git Service
TreeHugger Robot [Tue, 28 Feb 2017 00:19:19 +0000 (00:19 +0000)]
Merge "Remove unused dependency on libandroid in libeds"
Stephen Kiazyk [Mon, 27 Feb 2017 19:33:44 +0000 (11:33 -0800)]
Remove unused dependency on libandroid in libeds
This dependency is unused.
Bug: None
Test: Full recompile of libeds, no compile errors or missing
dependencies.
Change-Id: Iced2bb8c420630568b8609923e47e3b6a5ceb0c7
Jeff Sharkey [Mon, 27 Feb 2017 21:22:11 +0000 (21:22 +0000)]
Merge "Revert "Refactor SurfaceFlinger::rebuildLayerStacks""
Jeff Sharkey [Mon, 27 Feb 2017 21:15:18 +0000 (14:15 -0700)]
Revert "Refactor SurfaceFlinger::rebuildLayerStacks"
This reverts commit
3beb7117d247c64c5d9d3a7e6df7eecdd9523711.
Bug:
35801498
Change-Id: Ife431b19f3aef21cbe07863ca2964b2a40677dbd
Peng Xu [Mon, 27 Feb 2017 20:58:19 +0000 (20:58 +0000)]
Merge "Define shared memory NDK API"
TreeHugger Robot [Mon, 27 Feb 2017 18:45:25 +0000 (18:45 +0000)]
Merge "Adjust traces to diagnostic of HWC2on1Adapter"
TreeHugger Robot [Mon, 27 Feb 2017 18:38:49 +0000 (18:38 +0000)]
Merge "Fix error code check in releaseBuffer"
TreeHugger Robot [Mon, 27 Feb 2017 18:34:31 +0000 (18:34 +0000)]
Merge "Refactor SurfaceFlinger::rebuildLayerStacks"
Chris Forbes [Tue, 21 Feb 2017 23:49:18 +0000 (12:49 +1300)]
vulkan: Advertise present modes based on actual capabilities
Now that all the infrastructure is in place, we can advertise
the correct set of present modes. These are:
- mailbox, always
- fifo, always (required by spec)
- shared demand refresh, if the driver can do it
- shared continuous refresh, if the driver can do it
V2: Switch from std::vector to android::Vector (thanks Ian)
V3: Single flag
Test: build
Change-Id: I4df43dd0b0067ef7ae7d5ac0535eb9f8f311dee3
Chris Forbes [Tue, 21 Feb 2017 23:36:02 +0000 (12:36 +1300)]
vulkan: Conditionally enumerate KHR_shared_presentable_image
This requires:
- GPDP2 present and enabled
- ANDROID_native_buffer V7 implemented
- Driver supporting at least one shared presentation mode
This unpicks the weird case of the hal having to expose the
extension while the api surface was all implemented in the
loader.
V3: Single flag
Change-Id: I336af1a9d2549b74631c7a93a2c3e0e1469a9622
Test: build
Chris Forbes [Mon, 20 Feb 2017 04:12:53 +0000 (17:12 +1300)]
vulkan: Split known/intercepted extension lists
We need to do some work in the loader based on whether gpdp2 is present
and enabled, and we'd like to /not/ filter gpdp2 out of extension lists.
However, we don't need or want to generate full forwarding stubs.
All extensions in driver.KnownExtensions will have enums and matching
infrastructure generated, but only extensions in
driver.InterceptedExtensions will have g_hook_procs populated for their
entrypoints.
V3: Define driver.KnownExtensions in terms of
driver.InterceptedExtensions as always a superset.
Change-Id: If0fdabad99fa4637d7c6fc1e9a7e5e3908b53aca
Test: build
Chris Forbes [Wed, 15 Feb 2017 06:38:50 +0000 (19:38 +1300)]
vulkan: Rev 7 of ANDROID_native_buffer
Adds a new structure to be chained to GetPhysicalDeviceProperties2KHR in
order to determine whether the loader should be exposing
KHR_shared_presentable_image (and if so, which present modes can be
supported).
V3: Replace separate enables with combined 'sharedImage'
Test: build
Change-Id: I32a8b1f09f413aa4ea2a37ea0d50914a20967865
Jesse Hall [Sun, 26 Feb 2017 06:12:23 +0000 (22:12 -0800)]
resolve merge conflicts of
641f2cf42 to master
Test: [sailfish] make ; mmm frameworks/native/vulkan
Change-Id: I8555fdfbe6375e6266d07b66b5a8085d37e1ffde
Jesse Hall [Sun, 26 Feb 2017 06:01:53 +0000 (06:01 +0000)]
Merge changes I6437dc95,I77261381 am:
d9f506fd47
am:
1a04c987e1
Change-Id: Ie2b1a07adc7dda6a1bbdd9fda09d9956a02ba0d0
Jesse Hall [Sun, 26 Feb 2017 05:58:55 +0000 (05:58 +0000)]
Merge changes I6437dc95,I77261381
am:
d9f506fd47
Change-Id: Ib3af51d0e71015bbc60f39bf209517b749bd80c0
Jesse Hall [Sun, 26 Feb 2017 05:54:04 +0000 (05:54 +0000)]
Merge changes I6437dc95,I77261381
* changes:
vulkan: update Vulkan headers to 1.0.38
vulkan: Update Vulkan headers to 1.0.22
Jesse Hall [Fri, 24 Feb 2017 23:13:45 +0000 (15:13 -0800)]
vulkan: update Vulkan headers to 1.0.38
Test: make ; mmm frameworks/native/vulkan
Change-Id: I6437dc951bd694cb848f75d0de7eb7dbe8a4d1fe
Jesse Hall [Tue, 26 Jul 2016 22:20:40 +0000 (15:20 -0700)]
vulkan: Update Vulkan headers to 1.0.22
Meaningful changes to platform code:
* VKAPI_ATTR is now defined properly when building for 32-bit ARMv8a.
* The pData parameter to vkCmdUpdateBuffer changed from uint32_t* to
void*. Alignment is still required to be four bytes (by spec), and
the size parameter was always supposed to be bytes, not words.
Bug:
29460769
Test: make ; mmm frameworks/native/vulkan
Change-Id: I77261381e5702a3b2bc1d1ea4c0606151547be47
(cherry picked from commit
56d386a7a46c8ac36df8820c3ccf3da048ef1970)
TreeHugger Robot [Sat, 25 Feb 2017 02:03:01 +0000 (02:03 +0000)]
Merge "dumpstate: run lshal as root."
Fabien Sanglard [Sat, 25 Feb 2017 01:33:52 +0000 (17:33 -0800)]
Refactor SurfaceFlinger::rebuildLayerStacks
Reduce indentation with early return
Change-Id: Ic3a16bf45a0c1792b0fcbd5d9d1cd9f1e239ae32
Peng Xu [Fri, 24 Feb 2017 09:30:16 +0000 (01:30 -0800)]
Define shared memory NDK API
Added shared memory NDK API definition, including the following
functions:
* int ASharedMemory_create(const char *name, size_t size);
* size_t ASharedMemory_getSize(int fd);
* int ASharedMemory_setProt(int fd, int prot);
Bug:
5995644
Bug:
30985702
Test: compiles
Change-Id: I4da6741728b7963f0f1d356dd3d9429e706c88a4
Mathias Agopian [Fri, 24 Feb 2017 22:32:05 +0000 (14:32 -0800)]
remove warnings
Test: compiled
Bug: cleanup
Change-Id: Ic7a189b4e2947b9552b00e5fa3c245d2505ab2a2
Mathias Agopian [Fri, 24 Feb 2017 22:31:31 +0000 (14:31 -0800)]
Remove dead-code
“format” is reset in all code-paths below.
Test: compiled
Bug: cleanup
Change-Id: I2503fc6ca8726cf39f3a9c46264d504623a7290b
TreeHugger Robot [Fri, 24 Feb 2017 23:30:16 +0000 (23:30 +0000)]
Merge "docs: Fix links in native multinetwork API documentation. Test: Verified by manual build."
Mathias Agopian [Fri, 24 Feb 2017 23:25:50 +0000 (23:25 +0000)]
Merge changes Ie7574cfe,Icc302d2b
* changes:
remove unneeded forward declaration
fix typo (minor)
Yifan Hong [Fri, 24 Feb 2017 23:14:53 +0000 (23:14 +0000)]
Merge "dumpstate HAL uses "default" service name"
Steven Moreland [Fri, 24 Feb 2017 22:42:19 +0000 (14:42 -0800)]
dumpstate: run lshal as root.
Running lshal as root gives additional information about which processes
have registered with which hals.
Test: adb bugreport and checked for appropriate output in lshal
Fixes:
35741078
Change-Id: I75606909ebccf2df3dc164d72edd2456facb3ad3
Fabien Sanglard [Thu, 23 Feb 2017 19:17:11 +0000 (11:17 -0800)]
Adjust traces to diagnostic of HWC2on1Adapter
Change-Id: I0110fac372791bec657521522de3e08907f465f7
Fabien Sanglard [Thu, 23 Feb 2017 23:02:34 +0000 (15:02 -0800)]
Fix error code check in releaseBuffer
BufferQueueConsumer can occasionaly return STALE_BUFFER_SLOT which
does not indicate an error but that there is no more to be done.
SurfaceFlingerConsumer should report and error only with a status
code inferior to zero.
Test: AUPT
Change-Id: Ie0624358301e1e3b090adf35facd6eac79c214db
Quddus Chong [Fri, 24 Feb 2017 21:49:58 +0000 (13:49 -0800)]
docs: Fix links in native multinetwork API documentation.
Test: Verified by manual build.
Change-Id: I29e382fc6b2e3241cb3f42e153d8997b8b837f3a
Mathias Agopian [Fri, 24 Feb 2017 21:31:54 +0000 (13:31 -0800)]
remove unneeded forward declaration
this is already taken care of by vk_platform.h
Test: compiled & booted
Bug:
35164655
Change-Id: Ie7574cfe985fed86922c923ca3b2225e017c2d5a
Mathias Agopian [Fri, 24 Feb 2017 21:33:19 +0000 (13:33 -0800)]
fix typo (minor)
Test: compiled & booted
Bug:
35164655
Change-Id: Icc302d2b8301d877f76a3b652a42abcaeb2c99c7
TreeHugger Robot [Fri, 24 Feb 2017 19:46:05 +0000 (19:46 +0000)]
Merge "docs: Add brief and detailed descriptions for native trace API. Test: Verified via technical review and manual build."
Yifan Hong [Fri, 24 Feb 2017 18:21:11 +0000 (18:21 +0000)]
Merge "gralloc HAL uses "default" service name"
Quddus Chong [Thu, 23 Feb 2017 22:51:09 +0000 (14:51 -0800)]
docs: Add brief and detailed descriptions for native trace API.
Test: Verified via technical review and manual build.
Change-Id: Iccd0a78ea4e0f5b9b7d6397bef99084876759058
Mathias Agopian [Fri, 10 Feb 2017 02:48:34 +0000 (18:48 -0800)]
split libandroid.so
- ANativeWindow (native_window.h) and
AHardwareBuffer (hardware_buffer.h) now live
in libnativewindow.so, which is a vodka library.
- libandroid.so still provide those symbols
via a static library version (libnativewindow.a)
- removed libbinder dependency as well
Test: compiled & booted
Bug:
35164655
Change-Id: Ib4bc8e8fc9ec1891bcbee63c28fd0131d82edf29
Chong Zhang [Thu, 23 Feb 2017 22:36:18 +0000 (22:36 +0000)]
Merge "MediaCas: add plugin APIs"
TreeHugger Robot [Thu, 23 Feb 2017 22:27:37 +0000 (22:27 +0000)]
Merge "Create VR HWComposer without locks held"
Mark Urbanus [Thu, 23 Feb 2017 19:16:04 +0000 (11:16 -0800)]
Create VR HWComposer without locks held
Problem:
Surfaceflinger is occassionally deadlocking when switching to VR Mode.
Root-cause:
During the creation of the VR HWComposer through hwbinder,
hwservicemanager notifies surfaceflinger the service is available through a
binder callback. Because Surfaceflinger holds the state-lock during the
HWComposer creation, its possible all of SurfaceFlinger's binder threads are
handling other transactions waiting for the state-lock to be released.
This prevents the hwservicemanager callback ever to be handled resulting in
a deadlock.
Solution:
Don't hold the state-lock when instantiating the VR HWComposer.
Test: Validated deadlocks no longer occur when switching to VR mode.
Bug:
35680107
Change-Id: I932c81fce293a8b57983f4242432b87522ce964c
TreeHugger Robot [Thu, 23 Feb 2017 19:35:45 +0000 (19:35 +0000)]
Merge "Fix crash in sensord that can occur during system instability"
Chris Phoenix [Wed, 25 Jan 2017 07:01:13 +0000 (23:01 -0800)]
dumpstate HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds
Bug:
33844934
Change-Id: I87d3f4f00965e8cccb18b9bd158bd8d393ea8d5a
Yifan Hong [Thu, 23 Feb 2017 19:22:53 +0000 (19:22 +0000)]
Merge "hwcomposer HAL uses "default" service name"
John Bates [Wed, 22 Feb 2017 23:47:50 +0000 (15:47 -0800)]
Fix crash in sensord that can occur during system instability
Bug:
35624417
Test: Manually ran CubeSea and closed/openned it several times
Change-Id: I57810531d0ceccfa02afcf0af265587ca88e05be
Quddus Chong [Thu, 23 Feb 2017 16:55:42 +0000 (16:55 +0000)]
Merge "docs: Configure Doxygen to ignore conditional compilation statements. Test: Verified by manual build."
TreeHugger Robot [Thu, 23 Feb 2017 03:09:39 +0000 (03:09 +0000)]
Merge "Expose display manager client event fd"
TreeHugger Robot [Thu, 23 Feb 2017 03:02:05 +0000 (03:02 +0000)]
Merge "VR: Replace sw sync fences with egl sync fences"
Chris Phoenix [Tue, 24 Jan 2017 22:08:33 +0000 (14:08 -0800)]
hwcomposer HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds
Bug:
33844934
Change-Id: I6befd081add61e355bc25dd0c630ac07ea0103c4
Quddus Chong [Wed, 22 Feb 2017 23:19:35 +0000 (15:19 -0800)]
docs: Configure Doxygen to ignore conditional compilation statements.
Test: Verified by manual build.
Change-Id: I96256700597c4dc498b36f52037ded2ea5a25e0d
Stephen Kiazyk [Tue, 21 Feb 2017 23:31:15 +0000 (15:31 -0800)]
Expose display manager client event fd
This will allow the display manager client to use epoll to wait and
respond to changes in the current set of VR display surfaces.
Bug: None
Test: Compiled and ran with simple standalone binary application.
Change-Id: I7680f5a56348abfb686e78d13e0e737466735ac6
Jeff Sharkey [Wed, 22 Feb 2017 20:25:13 +0000 (20:25 +0000)]
Merge "Logic for atmoic/tombstone behavior; split mode."
Daniel Nicoara [Wed, 22 Feb 2017 17:22:41 +0000 (12:22 -0500)]
VR: Replace sw sync fences with egl sync fences
HWComposer::presentDisplay() synchronously calls into the VR WM
presentation code to queue the new frame. If VR WM is showing (drawing)
it will return an EGL fence that will be used to signal when the last
showing frame is no longer used in VR WM. Otherwise an invalid FD (-1)
is returned symbolizing that the last frame isn't in use anymore and the
caller can re-use those buffers immediately.
Bug: b/
35096352
Test: Verified SurfaceFlinger output shows correctly in vr_wm
Change-Id: I2b7c2c767d4aa85370dd6519113cb9a2269c7477
TreeHugger Robot [Wed, 22 Feb 2017 19:24:45 +0000 (19:24 +0000)]
Merge "Ensure display metrics on display service creation"
Jeff Sharkey [Wed, 22 Feb 2017 01:30:28 +0000 (18:30 -0700)]
Logic for atmoic/tombstone behavior; split mode.
Flesh out logic for cache directories that request new atomic and/or
tombstone clearing behaviors. Atomic directories are considered for
deletion as a single all-or-nothing unit, and tombstone directories
truncate any removed files instead of unlinking them.
Since these behaviors can be mixed together, add local tests that
quickly verify several different permutations.
Reduce memory footprint of CacheItem objects by only storing name
and pointer to parent (instead of full path). Fix ordering bug by
switching to std::stable_sort.
Add "V2_DEFY_QUOTA" flag so we can split clearing into two distinct
phases: clearing data for apps above their quotas, and then pushing
deeper by clearing data for apps below their quotas.
Test: adb shell /data/nativetest64/installd_cache_test/installd_cache_test
Bug:
34692014,
33811826
Change-Id: I156897de1d1d1c371b2b837128b2e286bf33d40d
Yifan Hong [Wed, 22 Feb 2017 18:43:43 +0000 (18:43 +0000)]
Merge "lshal: Fix timeout causes unexpected exits." am:
057e74631b am:
fdf61aa557
am:
91a4bd9cd2
Change-Id: I4663a64806ddb285e8bf5e9235759fee49bc8a93
Yifan Hong [Wed, 22 Feb 2017 18:41:44 +0000 (18:41 +0000)]
Merge "lshal: Fix timeout causes unexpected exits." am:
057e74631b
am:
fdf61aa557
Change-Id: Ie3f025b610fd8b523b4f03c2c9b5d62b7966f309
Yifan Hong [Wed, 22 Feb 2017 18:40:04 +0000 (18:40 +0000)]
Merge "lshal: Fix timeout causes unexpected exits."
am:
057e74631b
Change-Id: Iadfbc11f8bbfc45759f2214d0811922cbb173758
Yifan Hong [Wed, 22 Feb 2017 18:28:23 +0000 (18:28 +0000)]
Merge "lshal: Fix timeout causes unexpected exits."
Stephen Kiazyk [Wed, 22 Feb 2017 01:09:22 +0000 (17:09 -0800)]
Ensure display metrics on display service creation
This fixes a potential race condition where a VR app could request the
display metrics from the VR display service before it actually queries
them from the HWC.
Bug: None
Test: Compiled and ran Vr app.
Change-Id: Ie95b7f5a8ef2e286c7b2994ca94fd87214567e24
TreeHugger Robot [Wed, 22 Feb 2017 07:39:15 +0000 (07:39 +0000)]
Merge "Add missing GLES 3.x metadata"
TreeHugger Robot [Wed, 22 Feb 2017 00:40:14 +0000 (00:40 +0000)]
Merge "cleanup libui’s includes"
Yifan Hong [Tue, 21 Feb 2017 22:59:00 +0000 (14:59 -0800)]
lshal: Fix timeout causes unexpected exits.
with thread::detach the background thread keeps running even after
the thread object is destroyed; the background thread will access
caller's stack memory, causing segfault. Change it to a thread join
to avoid the issue. To avoid waiting too long on the child thread,
send a SIGINT if timeout (child thread's signal handler will then
call pthread_exit() to terminate the thread).
Since we are using pthread_* functions, change usage of std::thread
to pthread_t for consistency.
Test: lshal
Test: run lshal with IPC_CALL_TIMEOUT set to zero will no longer
cause SIGSEGV and SIGABRT (test 10 times)
Bug:
35623669
Change-Id: I4eef8ffd8ff399793648e861ca4c1a2bdcc7ec50
TreeHugger Robot [Tue, 21 Feb 2017 23:21:33 +0000 (23:21 +0000)]
Merge "Use --receiver-include-background instead of package name on SendBroadcast()."
Mathias Agopian [Thu, 16 Feb 2017 03:48:58 +0000 (19:48 -0800)]
cleanup libui’s includes
- remove unneeded includes
- include a cpp’s header first in all cpps
Test: compiled & booted
Bug:
35164655
Change-Id: I0890913fcc6614cce156aff19fccdef183145beb
TreeHugger Robot [Tue, 21 Feb 2017 22:48:11 +0000 (22:48 +0000)]
Merge "Remove erroneous log message"
Jeff Sharkey [Tue, 21 Feb 2017 20:56:56 +0000 (20:56 +0000)]
Merge "Method to test for quota support."
Robert Carr [Thu, 9 Feb 2017 01:54:29 +0000 (17:54 -0800)]
Remove erroneous log message
It seems we always get a duplicate remove from the layer-cleaner
so this was showing up any time any layer was removed. We didn't have
this message before the child layers CL so lets get rid of it quickly.
Test: Deleting a line of logging code. It builds!
Change-Id: I16cc0c0b325e43d36cae684b06a93c099baa1aa6
TreeHugger Robot [Tue, 21 Feb 2017 20:16:57 +0000 (20:16 +0000)]
Merge "vr_wm: Import cloned buffer in VR HWC"
TreeHugger Robot [Tue, 21 Feb 2017 20:14:08 +0000 (20:14 +0000)]
Merge "Refactor libposepredictor to be self-contained."
Isaac Chen [Tue, 21 Feb 2017 18:10:32 +0000 (18:10 +0000)]
Merge "Removed build time variable ENABLE_CPUSETS." am:
52a60e08fb am:
33f4b64f23
am:
eb8be8f5e9
Change-Id: I9624618aae00134414e946e3f6df97e89c5b7495
Isaac Chen [Tue, 21 Feb 2017 18:03:09 +0000 (18:03 +0000)]
Merge "Removed build time variable ENABLE_CPUSETS." am:
52a60e08fb
am:
33f4b64f23
Change-Id: Ia6f3940b52c28741a43be171c930d0cdd77fb454
Isaac Chen [Tue, 21 Feb 2017 17:52:35 +0000 (17:52 +0000)]
Merge "Removed build time variable ENABLE_CPUSETS."
am:
52a60e08fb
Change-Id: Ic5d351f18a0c839212987c5fcbb803a7c07ac5cb
Okan Arikan [Thu, 16 Feb 2017 21:21:04 +0000 (13:21 -0800)]
Refactor libposepredictor to be self-contained.
The CL seems big but it is mainly moving stuff around to
make libposepredictor self contained.
libposepredictor/include/predictor.h exposes all functionality and
it only includes Eigen stuff.
Also adds a shared library build step to the makefile.
Bug:
35362498
Test: No functional change.
Change-Id: I0c850711ffde16ee75e4c88b09e47f761c100385
Daniel Nicoara [Tue, 21 Feb 2017 17:23:49 +0000 (12:23 -0500)]
vr_wm: Import cloned buffer in VR HWC
Bug: b/
35619417
Test: Compiled and tested on device. Ensured SurfaceFlinger content is
visible in VR mode.
Change-Id: Ic2e653c9771fd022079486704b9e7a412d18bfdc
Jeff Sharkey [Tue, 21 Feb 2017 17:00:53 +0000 (10:00 -0700)]
Method to test for quota support.
Framework logic needs to change its behavior depending on how quickly
disk usage calculations can be performed.
Test: builds, boots
Bug:
34690590
Change-Id: I6139d1ea6a6084b1fd42062e2032ec9f515f6d98
Isaac Chen [Tue, 21 Feb 2017 02:05:22 +0000 (02:05 +0000)]
Merge "Removed build time variable ENABLE_CPUSETS."
Colin Cross [Sun, 19 Feb 2017 17:39:05 +0000 (09:39 -0800)]
Update list of output files in vr_window_manager hidl genrule
The output files in the android.dvr.composer@1.0_genc++_headers rule
is not correct, which causes ninja to rebuild the rule on every
incremental build. Fix the list of files to match what is actually
created.
Bug:
33554989
Bug:
35562758
Test: builds, but doesn't rebuild on every incremental build
Change-Id: I2938ad02b8feade4de6d8a5cc969f37e793e93a8
Romain Guy [Sat, 18 Feb 2017 03:53:12 +0000 (19:53 -0800)]
Add missing GLES 3.x metadata
Prevent a crash when glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS) returns 0
Bug:
33106868
Test: Manual test app
Change-Id: I5c9fdf4f6f14aa08961e70a0cf63fb78b88738fb
TreeHugger Robot [Sat, 18 Feb 2017 05:37:19 +0000 (05:37 +0000)]
Merge "move vector math out of libui"
TreeHugger Robot [Sat, 18 Feb 2017 05:08:17 +0000 (05:08 +0000)]
Merge "Refactor HWC2on1Adapter"
Isaac Chen [Thu, 16 Feb 2017 03:51:51 +0000 (11:51 +0800)]
Removed build time variable ENABLE_CPUSETS.
Use runtime check, cpuset_enabled(), instead of build time varianble
usually set in BoardConfog.mk.
Bug:
34726944
Test: Tested on Sailfish
without cpuset mounted
with cpuset mounted, but without schedtune
with cpuset mounted and with schedtune
Change-Id: I00153628db62abfbaa0ba75d571ba1bda0611ff3
Mathias Agopian [Fri, 17 Feb 2017 23:46:13 +0000 (15:46 -0800)]
move vector math out of libui
created a new header-only static libmath lib
Test: built & ran
Bug: n/a
Change-Id: Ic63ef5f54d9a0de07a9ab9e4d67be01ab6169fc0
Fabien Sanglard [Sun, 12 Feb 2017 08:08:14 +0000 (00:08 -0800)]
Refactor HWC2on1Adapter
- Simply memory allocation with a single, consolidated calloc().
- Remove latch system which did not prove useful.
- Converted { to be before \n.
Change-Id: Id1daec2343225598160395bfecddc86955e2b610
TreeHugger Robot [Sat, 18 Feb 2017 02:32:42 +0000 (02:32 +0000)]
Merge "libdvrgraphics: Add libarect as whole static lib to fix compile"
TreeHugger Robot [Sat, 18 Feb 2017 01:52:17 +0000 (01:52 +0000)]
Merge "Discard surfaceDamage for HWC1 v < 1.5"
Yifan Hong [Sat, 18 Feb 2017 01:21:37 +0000 (01:21 +0000)]
Merge "Fix lshal cannot be run without root" am:
6481ebfbc3 am:
8d6362fc44
am:
b40360f7c3
Change-Id: Id53e3d9648060bbdecc5f1b67d4ac85183162740
Yifan Hong [Sat, 18 Feb 2017 01:07:20 +0000 (01:07 +0000)]
Merge "Fix lshal cannot be run without root" am:
6481ebfbc3
am:
8d6362fc44
Change-Id: Id188e2657e393b0463c936435d2d8273bc3a80cf
Yifan Hong [Sat, 18 Feb 2017 01:05:34 +0000 (01:05 +0000)]
Merge "Fix lshal cannot be run without root"
am:
6481ebfbc3
Change-Id: Ic269ab86b933557ee171961f78d6e49e0d4df315
Treehugger Robot [Sat, 18 Feb 2017 01:03:15 +0000 (01:03 +0000)]
Merge "Fix lshal cannot be run without root"
TreeHugger Robot [Sat, 18 Feb 2017 00:45:35 +0000 (00:45 +0000)]
Merge "Polynomial pose prediction."
TreeHugger Robot [Sat, 18 Feb 2017 00:41:15 +0000 (00:41 +0000)]
Merge "Fix typos in EGL_ANDROID_get_native_client_buffer spec."
Chong Zhang [Sat, 29 Oct 2016 00:15:16 +0000 (17:15 -0700)]
MediaCas: add plugin APIs
bug:
22804304
Change-Id: I87913f39a95278d0d5eb282f2b83b1fa4d362cec
TreeHugger Robot [Sat, 18 Feb 2017 00:28:46 +0000 (00:28 +0000)]
Merge "Add tool to generate color space conversion 3D LUTs"
Fabien Sanglard [Sat, 18 Feb 2017 00:14:18 +0000 (16:14 -0800)]
Discard surfaceDamage for HWC1 v < 1.5
Test: Manual
Change-Id: Ia9193a88dc6df206c8f197adf144466f164afa1c
John Muir [Sat, 18 Feb 2017 00:11:09 +0000 (16:11 -0800)]
libdvrgraphics: Add libarect as whole static lib to fix compile
Changes in frameworks/native cause compile errors looking for
android/rect.h.
Bug: None
Test: Build completes.
Change-Id: Ie9ba9aca0cb620c0874d47113b9ea9875277a0f7
TreeHugger Robot [Sat, 18 Feb 2017 00:11:02 +0000 (00:11 +0000)]
Merge "Fix typo in Region to avoid unexpected values"
Yifan Hong [Fri, 17 Feb 2017 21:38:47 +0000 (13:38 -0800)]
Fix lshal cannot be run without root
Root cause is invoking copy constructor on a Return<T> object
implicitly, while the old object contains a failed status and
gets destroyed. Use the move constructor instead to fix this.
Test: adb unroot && adb shell lshal
Change-Id: I44710166cc5d7da30bf54b10d1860be1b91dc98a
Craig Donner [Fri, 17 Feb 2017 22:24:29 +0000 (14:24 -0800)]
Fix typos in EGL_ANDROID_get_native_client_buffer spec.
Bug:
34050596
Test: N/A
Change-Id: Ic15f074c019b0973408436781a00f9bd0260f036
TreeHugger Robot [Fri, 17 Feb 2017 22:21:01 +0000 (22:21 +0000)]
Merge "Break a dependency of libui on libandroid"
Brian C. Anderson [Fri, 17 Feb 2017 22:17:35 +0000 (22:17 +0000)]
Merge changes from topic 'GPU_replace_GL'
* changes:
Fix unexpected FrameEvents on BufferQueue reconnect
Add FrameEvents::isValidTimestamp
Change GL references to GPU for getFrameTimestamps.
Clean up FrameTimestamp log messages.
Romain Guy [Fri, 17 Feb 2017 19:31:59 +0000 (11:31 -0800)]
Add tool to generate color space conversion 3D LUTs
The tool needs to be run on an Android device and must be compiled
manually (i.e. it's not compiled as part of a regular Android build).
The tool outputs 3D LUTs in a format that can be included directly
in a C/C++ file/header.
Bug:
32984164
Test: ran lutgen and checked output
Change-Id: I96f7d0d088965c3b63c0fb4079ddeaeee7246418