OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "TextOutput log improvement"
Wei Wang [Thu, 27 Oct 2016 18:14:34 +0000 (18:14 +0000)]
Merge "TextOutput log improvement"
am: 3e9e757437

Change-Id: I88fec0002898ec7da19d579d0aa4679b73bfcd53

7 years agoMerge "TextOutput log improvement"
Treehugger Robot [Thu, 27 Oct 2016 18:05:46 +0000 (18:05 +0000)]
Merge "TextOutput log improvement"

7 years agoMerge "Enable multiple concurrent binderLibTest instances"
Connor O'Brien [Thu, 27 Oct 2016 18:00:33 +0000 (18:00 +0000)]
Merge "Enable multiple concurrent binderLibTest instances"
am: 06d83ad741

Change-Id: I4df9c55a81801972f1b4cbb56f11d24f5bbc9e1d

7 years agoMerge "Enable multiple concurrent binderLibTest instances"
Connor O'Brien [Thu, 27 Oct 2016 17:54:14 +0000 (17:54 +0000)]
Merge "Enable multiple concurrent binderLibTest instances"

7 years agoEnable multiple concurrent binderLibTest instances
Connor O'Brien [Thu, 27 Oct 2016 00:58:51 +0000 (17:58 -0700)]
Enable multiple concurrent binderLibTest instances

Each instance tries to register a service with the
same name, so suffix the service name with the
instance's PID to avoid collisions.

Test: Tests run and pass in 2 processes at once
Change-Id: I685b01fbfbad4e9bd3eb6ea06f46ffc157169909
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "[binder]: Correct the index for getReturnString"
Colin Cross [Mon, 24 Oct 2016 18:02:53 +0000 (18:02 +0000)]
Merge "[binder]: Correct the index for getReturnString"
am: a340838895

Change-Id: Ide173ea019cceaba9eee1c25edf9fea75acc6caa

7 years agoMerge "[binder]: Correct the index for getReturnString"
Colin Cross [Mon, 24 Oct 2016 17:58:14 +0000 (17:58 +0000)]
Merge "[binder]: Correct the index for getReturnString"

7 years agoTextOutput log improvement
Wei Wang [Fri, 21 Oct 2016 06:18:17 +0000 (23:18 -0700)]
TextOutput log improvement

Add unit tests for log functions
Add support of std::endl
Add back support of char
Add back support of bool
Add back support of String16
Fix a build warning on union initialization

Test: run /data/nativetest(64)/binderTextOutputTest
Bug: 32181382
Change-Id: I4030b142beacc5dcd88a10904710fd6e19f7240c

7 years agoMerge "dumpstate: Use private interfaces for buffer size properties"
Mark Salyzyn [Fri, 21 Oct 2016 18:08:51 +0000 (18:08 +0000)]
Merge "dumpstate: Use private interfaces for buffer size properties"
am: 430b3667ec

Change-Id: I150663d5108340f1434f8ec48eb6cd9d4722603f

7 years agoMerge "dumpstate: Use private interfaces for buffer size properties"
Mark Salyzyn [Fri, 21 Oct 2016 18:02:12 +0000 (18:02 +0000)]
Merge "dumpstate: Use private interfaces for buffer size properties"

7 years ago[binder]: Correct the index for getReturnString
songjinshi [Tue, 18 Oct 2016 13:05:56 +0000 (21:05 +0800)]
[binder]: Correct the index for getReturnString

The cmd code can not as the index drectly.

Change-Id: Icddad46faef7a77acbd7edf118c081ac10501f47
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
7 years agodumpstate: Use private interfaces for buffer size properties
Mark Salyzyn [Tue, 27 Sep 2016 21:55:27 +0000 (14:55 -0700)]
dumpstate: Use private interfaces for buffer size properties

Used to estimate the timeout to be applied to the logcat command.
This transition represents some technical debt and optimization.

Test: collect bugreport and confirm logcat output
Bug: 31750617
Bug: 21555259
Change-Id: I512b969a4a796fce468907494814315e30c5299d

7 years agoMerge "Add licenses to ndk_headers."
Dan Albert [Thu, 20 Oct 2016 22:16:56 +0000 (22:16 +0000)]
Merge "Add licenses to ndk_headers."
am: 8c9cd8a215

Change-Id: I6a49ab856d6f52597067be0df5e34b9459efdb33

7 years agoMerge "Add licenses to ndk_headers."
Treehugger Robot [Thu, 20 Oct 2016 22:12:39 +0000 (22:12 +0000)]
Merge "Add licenses to ndk_headers."

7 years agoAdd licenses to ndk_headers.
Dan Albert [Thu, 20 Oct 2016 17:14:30 +0000 (10:14 -0700)]
Add licenses to ndk_headers.

Test: make ndk
Bug: None
Change-Id: Ia113ea42b1d62d87dfbb2fc456428c7db50a98f1

7 years agoMerge "Fix log function for potential overflow"
Wei Wang [Thu, 20 Oct 2016 16:49:03 +0000 (16:49 +0000)]
Merge "Fix log function for potential overflow"
am: 2e5c7798e1

Change-Id: I17a6c6a035e6e85777d0f14db819452d770856ae

7 years agoMerge "Fix log function for potential overflow"
Wei Wang [Thu, 20 Oct 2016 16:41:20 +0000 (16:41 +0000)]
Merge "Fix log function for potential overflow"

7 years agoFix log function for potential overflow
Wei Wang [Wed, 19 Oct 2016 17:23:59 +0000 (10:23 -0700)]
Fix log function for potential overflow

On LP64 system, unsigned long can be 64bit
Also clean out unused static variables.

Test: flash on ARM64 device
Bug: 32181382
Change-Id: I44b7ea8a6588c475a3979d7bddeb08da7f54c27a

7 years agoMerge "Convert to Android.bp"
Dan Willemsen [Tue, 18 Oct 2016 23:36:42 +0000 (23:36 +0000)]
Merge "Convert to Android.bp"
am: 99de09fe7f  -s ours

Change-Id: I16fbbe0cdeffe80b7b92148f696ec2db848cd4cf

7 years agoMerge "Convert to Android.bp"
Dan Willemsen [Tue, 18 Oct 2016 23:26:08 +0000 (23:26 +0000)]
Merge "Convert to Android.bp"

7 years agoConvert to Android.bp
Dan Willemsen [Tue, 4 Oct 2016 06:56:51 +0000 (23:56 -0700)]
Convert to Android.bp

See build/soong/README.md for more information.

Test: mmma -j frameworks/native/{libs/gui,opengl/libs}
Change-Id: I90b4e299ebd2a38afb6642bc242d4ad5424fb901
Merged-In: I90b4e299ebd2a38afb6642bc242d4ad5424fb901

7 years agoConvert to Android.bp
Dan Willemsen [Tue, 4 Oct 2016 06:56:51 +0000 (23:56 -0700)]
Convert to Android.bp

See build/soong/README.md for more information.

Test: mmma -j frameworks/native/{libs/gui,opengl/libs}
Change-Id: I90b4e299ebd2a38afb6642bc242d4ad5424fb901

7 years agoMerge "Fix surfaceflinger file descriptor leak"
Fabien Sanglard [Tue, 18 Oct 2016 18:51:46 +0000 (18:51 +0000)]
Merge "Fix surfaceflinger file descriptor leak"
am: af2fbb0ccc

Change-Id: If21d062e144dd13064c0c3e8021523a8bf20b864

7 years agoMerge "Fix surfaceflinger file descriptor leak"
Fabien Sanglard [Tue, 18 Oct 2016 18:41:44 +0000 (18:41 +0000)]
Merge "Fix surfaceflinger file descriptor leak"

7 years agoFix surfaceflinger file descriptor leak
Fabien Sanglard [Sat, 15 Oct 2016 01:13:33 +0000 (18:13 -0700)]
Fix surfaceflinger file descriptor leak

If a producer queues a buffer after a screen resize, the buffer
will not be removed from the buffer queue, resulting in a leak of
file descriptor.

Test: Fix was tested by the bug reporter (ARM).
Bug: 32012717

Change-Id: I3b7b0745d5fbdee97fc8df2db399c1a2fcdeb375

7 years agoMerge "Remove ASAN specialization"
Dan Willemsen [Sat, 15 Oct 2016 02:23:06 +0000 (02:23 +0000)]
Merge "Remove ASAN specialization"
am: 0723ad3969

Change-Id: I05bca0d1e4c1709565a05f1997a883c173279a53

7 years agoMerge "Remove ASAN specialization"
Treehugger Robot [Sat, 15 Oct 2016 02:17:24 +0000 (02:17 +0000)]
Merge "Remove ASAN specialization"

7 years agoRemove ASAN specialization
Dan Willemsen [Tue, 11 Oct 2016 22:59:04 +0000 (15:59 -0700)]
Remove ASAN specialization

The linker will rewrite library paths when running with asan, there's no
reason to do this manually:

10-11 23:26:33.971  8789  8789 E linker  : linker_asan dlopen translating "/system/lib64/libEGL.so" -> "/data/lib64/libEGL.so"
10-11 23:26:34.061  8790  8790 E linker  : linker_asan dlopen translating "/system/lib/libEGL.so" -> "/data/lib/libEGL.so"

Test: Boot SANITIZE_TARGET=address aosp_flounder-eng
Change-Id: I3eb9935603b267c2aefe09d4f24410cbd673feb6

7 years agoMerge "Hardcode EGL Cache size to something more reasonable"
Dan Willemsen [Fri, 14 Oct 2016 20:34:31 +0000 (20:34 +0000)]
Merge "Hardcode EGL Cache size to something more reasonable"
am: 8a767feb14

Change-Id: I08a68da026d9a0f36572059a7db1c5e99b988f8e

7 years agoMerge "Hardcode EGL Cache size to something more reasonable"
Treehugger Robot [Fri, 14 Oct 2016 19:26:15 +0000 (19:26 +0000)]
Merge "Hardcode EGL Cache size to something more reasonable"

7 years agoHardcode EGL Cache size to something more reasonable
Dan Willemsen [Tue, 11 Oct 2016 22:42:59 +0000 (15:42 -0700)]
Hardcode EGL Cache size to something more reasonable

Most of our devices are setting much larger values here than the
default, so instead of hoping every device sets the larger values, just
hardcode the cache size to the larger values.

This also reduces build-time configuration, so we can share the built
library between more devices.

Test: /data/nativetest*/EGL_test/EGL_test on aosp_flounder-eng
Change-Id: Id9b80cecff837cc35043ad3c3cf1d1c60595c237

7 years agoMerge "Remove EGL Hibernation" am: 5e86147abc am: eccef21647
Dan Willemsen [Thu, 13 Oct 2016 23:24:29 +0000 (23:24 +0000)]
Merge "Remove EGL Hibernation" am: 5e86147abc am: eccef21647
am: b814df602f  -s ours

Change-Id: Ia78ea687494c2125f68ba85a76bfa02c4c1f5c34

7 years agoMerge "Remove EGL Hibernation" am: 5e86147abc
Dan Willemsen [Thu, 13 Oct 2016 23:18:16 +0000 (23:18 +0000)]
Merge "Remove EGL Hibernation" am: 5e86147abc
am: eccef21647

Change-Id: Iffa69ccfeb0b80fab8d5e92873099413f7c2b560

7 years agoMerge "Remove EGL Hibernation"
Dan Willemsen [Thu, 13 Oct 2016 23:15:46 +0000 (23:15 +0000)]
Merge "Remove EGL Hibernation"
am: 5e86147abc

Change-Id: I7afcd579a1ba81733540b280186bb7e3644b1816

7 years agoMerge "Remove EGL Hibernation"
Treehugger Robot [Thu, 13 Oct 2016 23:08:57 +0000 (23:08 +0000)]
Merge "Remove EGL Hibernation"

7 years agoRemove EGL Hibernation
Dan Willemsen [Tue, 11 Oct 2016 19:46:38 +0000 (12:46 -0700)]
Remove EGL Hibernation

Test: Booted aosp_flounder-eng
Merged-In: I0068bbd0a274bd0db237c30d958ea75b6d8aaf11
Change-Id: I0068bbd0a274bd0db237c30d958ea75b6d8aaf11

7 years agoMerge "Remove EGL Hibernation" into nyc-mr1-dev-plus-aosp
TreeHugger Robot [Thu, 13 Oct 2016 18:09:05 +0000 (18:09 +0000)]
Merge "Remove EGL Hibernation" into nyc-mr1-dev-plus-aosp

7 years agolibui: Add hasSignaled() method to Fence
Dan Stoza [Thu, 13 Oct 2016 16:21:26 +0000 (16:21 +0000)]
libui: Add hasSignaled() method to Fence
am: 5736f7dc15

Change-Id: I14519e0db9d203d88655906b84e5bac7310ca2df

7 years agoRemove EGL Hibernation
Dan Willemsen [Tue, 11 Oct 2016 19:46:38 +0000 (12:46 -0700)]
Remove EGL Hibernation

Test: Booted aosp_flounder-eng
Change-Id: I0068bbd0a274bd0db237c30d958ea75b6d8aaf11

7 years agoMerge "Move atrace init into on fs trigger" am: 8fee401726 am: 23c7fe7195
Wei Wang [Wed, 12 Oct 2016 20:57:02 +0000 (20:57 +0000)]
Merge "Move atrace init into on fs trigger" am: 8fee401726 am: 23c7fe7195
am: 7247edd7ad

Change-Id: I6a987ded104c4237b2a373e2686b2c2d1232d2ed

7 years agoMove atrace init into on fs trigger am: 23d0302561 am: 53389b089c
Wei Wang [Wed, 12 Oct 2016 20:56:50 +0000 (20:56 +0000)]
Move atrace init into on fs trigger am: 23d0302561 am: 53389b089c
am: 6a67872673

Change-Id: I9b0a0469d6308ef9ff6db68191d39644ec5f3382

7 years agoMerge "Move atrace init into on fs trigger" am: 8fee401726
Wei Wang [Wed, 12 Oct 2016 20:50:16 +0000 (20:50 +0000)]
Merge "Move atrace init into on fs trigger" am: 8fee401726
am: 23c7fe7195

Change-Id: I6f5871db3c55845f1eba18e5a7ab2be57332ce22

7 years agoMove atrace init into on fs trigger am: 23d0302561
Wei Wang [Wed, 12 Oct 2016 20:50:05 +0000 (20:50 +0000)]
Move atrace init into on fs trigger am: 23d0302561
am: 53389b089c

Change-Id: Id29974c68fbe8225b24182dd7e8e910e1921b44a

7 years agoMerge "Move atrace init into on fs trigger"
Wei Wang [Wed, 12 Oct 2016 20:43:00 +0000 (20:43 +0000)]
Merge "Move atrace init into on fs trigger"
am: 8fee401726

Change-Id: I6541f1f27aeaa056ec3f5a24327d7fd051157023

7 years agoMove atrace init into on fs trigger
Wei Wang [Wed, 12 Oct 2016 20:42:58 +0000 (20:42 +0000)]
Move atrace init into on fs trigger
am: 23d0302561

Change-Id: I91ef42cb258552d75115632ce5d2df509e2cf35d

7 years agoMerge "Move atrace init into on fs trigger"
Wei Wang [Wed, 12 Oct 2016 20:36:43 +0000 (20:36 +0000)]
Merge "Move atrace init into on fs trigger"

7 years agolibui: Add hasSignaled() method to Fence
Dan Stoza [Wed, 12 Oct 2016 17:35:17 +0000 (10:35 -0700)]
libui: Add hasSignaled() method to Fence

Adds a hasSignaled() method to android::Fence. This will make it easier
to write client code that only cares whether a fence has signaled, and
allows such code to gain the performance benefits of wait(0) (which is
significantly faster than getSignalTime()) while still being obvious
about what it is trying to do.

Test: m

Change-Id: Ia28ce6cff3860a171254ea20a24f3f1bfbc67eb8

7 years agoMove atrace init into on fs trigger
Wei Wang [Tue, 11 Oct 2016 22:26:06 +0000 (15:26 -0700)]
Move atrace init into on fs trigger

sysfs should be ready on ealier stage than boot

Bug: 32025203
Test: take systrace
Change-Id: Id73b6959f3075dc793d93551963193a211060da8

7 years agoMove atrace init into on fs trigger am: f920891b71
Wei Wang [Wed, 12 Oct 2016 01:11:50 +0000 (01:11 +0000)]
Move atrace init into on fs trigger am: f920891b71
am: dc34164cef

Change-Id: I30a5063ae24b21f38945b581d1bfbe67390667f6

7 years agoMove atrace init into on fs trigger
Wei Wang [Wed, 12 Oct 2016 01:06:17 +0000 (01:06 +0000)]
Move atrace init into on fs trigger
am: f920891b71

Change-Id: If6deb43479999924cfce63ca6b3994f9f7276c39

7 years agoMerge "Rely on the platform -std default." am: 26989871a5 am: 35368f2475
Elliott Hughes [Wed, 12 Oct 2016 00:55:06 +0000 (00:55 +0000)]
Merge "Rely on the platform -std default." am: 26989871a5 am: 35368f2475
am: 274347ebf1

Change-Id: Idce8ffa834e8ae8298d3ab8f516b4f4f31b02f18

7 years agoMerge "Rely on the platform -std default." am: 26989871a5
Elliott Hughes [Wed, 12 Oct 2016 00:48:50 +0000 (00:48 +0000)]
Merge "Rely on the platform -std default." am: 26989871a5
am: 35368f2475

Change-Id: I1dffb52b3f59a8fe42c4c42e10ff7c9287e81e63

7 years agoMerge "Rely on the platform -std default."
Elliott Hughes [Wed, 12 Oct 2016 00:42:19 +0000 (00:42 +0000)]
Merge "Rely on the platform -std default."
am: 26989871a5

Change-Id: I1acbc09058a339d0df076e0fccb750bb57099e8d

7 years agoMerge "Rely on the platform -std default."
Treehugger Robot [Wed, 12 Oct 2016 00:32:21 +0000 (00:32 +0000)]
Merge "Rely on the platform -std default."

7 years agoMove atrace init into on fs trigger
Wei Wang [Tue, 11 Oct 2016 22:26:06 +0000 (15:26 -0700)]
Move atrace init into on fs trigger

sysfs should be ready on ealier stage than boot

Bug: 32025203
Test: take systrace
Change-Id: Id73b6959f3075dc793d93551963193a211060da8

7 years agoRely on the platform -std default.
Elliott Hughes [Tue, 11 Oct 2016 21:47:19 +0000 (14:47 -0700)]
Rely on the platform -std default.

Bug: http://b/32019064
Test: builds
Change-Id: I88ea6b959b9d855a536e1475ed437105370203d0

7 years agoMerge "Rely on the platform -std default." am: 53b6fc5ddc am: 0ef01bab39
Elliott Hughes [Mon, 10 Oct 2016 22:33:21 +0000 (22:33 +0000)]
Merge "Rely on the platform -std default." am: 53b6fc5ddc am: 0ef01bab39
am: b48bc88b75

Change-Id: I948f14c73030d6d0f0cae8b9e374962ad119f7f6

7 years agoMerge "Rely on the platform -std default." am: 53b6fc5ddc
Elliott Hughes [Mon, 10 Oct 2016 22:00:57 +0000 (22:00 +0000)]
Merge "Rely on the platform -std default." am: 53b6fc5ddc
am: 0ef01bab39

Change-Id: I11137b0f1327691fa88acee67d9270fe509aa353

7 years agoMerge "Rely on the platform -std default."
Elliott Hughes [Mon, 10 Oct 2016 21:46:02 +0000 (21:46 +0000)]
Merge "Rely on the platform -std default."
am: 53b6fc5ddc

Change-Id: Ie70a8414a18c0f8b8bb4054545bc7dc74c99838c

7 years agoMerge "Rely on the platform -std default."
Treehugger Robot [Mon, 10 Oct 2016 21:19:54 +0000 (21:19 +0000)]
Merge "Rely on the platform -std default."

7 years agoMerge "Use snprintf for SurfaceFlinger fence name" into cw-f-dev
Matthew Bouyack [Mon, 10 Oct 2016 18:11:34 +0000 (18:11 +0000)]
Merge "Use snprintf for SurfaceFlinger fence name" into cw-f-dev
am: f35d95673e

Change-Id: I014bbfa36ee2f660309d8bb10e6be989189e6de1

7 years agoUse snprintf for SurfaceFlinger fence name
Matthew Bouyack [Mon, 10 Oct 2016 18:11:30 +0000 (18:11 +0000)]
Use snprintf for SurfaceFlinger fence name
am: fd4c8c3805

Change-Id: I16d3eb7cde318f2078be36acea22b9bc84975b63

7 years agoMerge "Use snprintf for SurfaceFlinger fence name" into cw-f-dev
Matthew Bouyack [Mon, 10 Oct 2016 18:03:37 +0000 (18:03 +0000)]
Merge "Use snprintf for SurfaceFlinger fence name" into cw-f-dev

7 years agoUse snprintf for SurfaceFlinger fence name
Matthew Bouyack [Fri, 7 Oct 2016 21:26:47 +0000 (14:26 -0700)]
Use snprintf for SurfaceFlinger fence name

snprintf is significantly faster than String8::format
This change saves ~50us per frame on Android Wear

Change-Id: I6ac47c2434662ca561208daae232f02a9f136aaf

7 years agoRely on the platform -std default.
Elliott Hughes [Fri, 7 Oct 2016 22:46:42 +0000 (15:46 -0700)]
Rely on the platform -std default.

Bug: http://b/32019064
Test: builds
Change-Id: Ie2df259641889b3ce95648bd2be48d061108162c

7 years agoMerge "Eliminate unnecessary calls to onBufferReleased" into cw-f-dev
Matthew Bouyack [Fri, 7 Oct 2016 16:54:57 +0000 (16:54 +0000)]
Merge "Eliminate unnecessary calls to onBufferReleased" into cw-f-dev
am: 76456aa438

Change-Id: I9ee9b9146397c46b98c9bf736a10b0e343c4e836

7 years agoresolve merge conflicts of 3b8e6b2 to nyc-mr1-dev-plus-aosp
Matthew Bouyack [Thu, 6 Oct 2016 22:36:56 +0000 (15:36 -0700)]
resolve merge conflicts of 3b8e6b2 to nyc-mr1-dev-plus-aosp

Change-Id: I9c02a56d63de5828453aa8926ca801d96b04a6cf

7 years agoMerge "Eliminate unnecessary calls to onBufferReleased" into cw-f-dev
Matthew Bouyack [Thu, 6 Oct 2016 21:27:20 +0000 (21:27 +0000)]
Merge "Eliminate unnecessary calls to onBufferReleased" into cw-f-dev

7 years agoDumpstate should hold a wakelock to save bug report time. DO NOT MERGE. am: 2cc37eaaa7
Wei Liu [Thu, 6 Oct 2016 21:25:23 +0000 (21:25 +0000)]
Dumpstate should hold a wakelock to save bug report time. DO NOT MERGE. am: 2cc37eaaa7
am: 079abd98af

Change-Id: I36189431935344400deea32596c030dae8b4a82b

7 years agoDumpstate should hold a wakelock to save bug report time. DO NOT MERGE.
Wei Liu [Thu, 6 Oct 2016 19:54:04 +0000 (19:54 +0000)]
Dumpstate should hold a wakelock to save bug report time. DO NOT MERGE.
am: 2cc37eaaa7

Change-Id: Ic58338aaf3dd67b9256e42fe4d61416b35c367de

7 years agoMerge "Migrate libvulkan to ndk_library." am: 02affcd552 am: 425ae4a06a
Dan Albert [Thu, 6 Oct 2016 19:27:13 +0000 (19:27 +0000)]
Merge "Migrate libvulkan to ndk_library." am: 02affcd552 am: 425ae4a06a
am: 38bfdb02db

Change-Id: Ib499b72acfc947cd27e084c2cdc7c6b52b1ea07e

7 years agoMerge "Migrate libvulkan to ndk_library." am: 02affcd552
Dan Albert [Thu, 6 Oct 2016 19:23:43 +0000 (19:23 +0000)]
Merge "Migrate libvulkan to ndk_library." am: 02affcd552
am: 425ae4a06a

Change-Id: Ie771d411939c583dd30dd1b753d9dfdf28f2fd74

7 years agoMerge "Migrate libvulkan to ndk_library."
Dan Albert [Thu, 6 Oct 2016 19:20:13 +0000 (19:20 +0000)]
Merge "Migrate libvulkan to ndk_library."
am: 02affcd552

Change-Id: I97d6f3e7ce8058c190ac38ad9214794ccea6def3

7 years agoMerge "Migrate libvulkan to ndk_library."
Treehugger Robot [Thu, 6 Oct 2016 19:14:10 +0000 (19:14 +0000)]
Merge "Migrate libvulkan to ndk_library."

7 years agoMigrate libvulkan to ndk_library.
Dan Albert [Wed, 5 Oct 2016 00:49:33 +0000 (17:49 -0700)]
Migrate libvulkan to ndk_library.

Test: make native
Bug: http://b/30465923
Change-Id: I97199a600b71447fd14181e06be3f9221c2529f3

7 years agoFix constructor parameters shadowing member variables
Colin Cross [Fri, 30 Sep 2016 23:32:19 +0000 (16:32 -0700)]
Fix constructor parameters shadowing member variables

Using the same name for the constructor parameter and the member
variable causes a warning that was being hidden by the use of -isystem
to include frameworks/native/include.  Prefix the parameter with an
underscore.

Bug: 31752268
Test: m -j
Change-Id: I60c7dc388999bafbb97cb42f5e0af5361df68d56
(cherry picked from commit 0ed088bd90c4e9ae5a92047319c3932b2aa78ddf)

7 years agoMerge "Migrate khrplatform.h to ndk_headers." am: a0d616be74 am: fea2cbbe39
Dan Albert [Wed, 5 Oct 2016 23:20:59 +0000 (23:20 +0000)]
Merge "Migrate khrplatform.h to ndk_headers." am: a0d616be74 am: fea2cbbe39
am: 939621c380

Change-Id: Ic06b577feeac9a6419b03644cd529886e0330978

7 years agoMerge "Migrate khrplatform.h to ndk_headers." am: a0d616be74
Dan Albert [Wed, 5 Oct 2016 23:18:28 +0000 (23:18 +0000)]
Merge "Migrate khrplatform.h to ndk_headers." am: a0d616be74
am: fea2cbbe39

Change-Id: If4cfe4aa468e50dd12c8f0c66bdfdbca8e0bf8f5

7 years agoMerge "Migrate khrplatform.h to ndk_headers."
Dan Albert [Wed, 5 Oct 2016 23:15:59 +0000 (23:15 +0000)]
Merge "Migrate khrplatform.h to ndk_headers."
am: a0d616be74

Change-Id: I659219ee179aac1d43e74dcdecde46c073c89436

7 years agoMerge "Migrate khrplatform.h to ndk_headers."
Treehugger Robot [Wed, 5 Oct 2016 23:11:53 +0000 (23:11 +0000)]
Merge "Migrate khrplatform.h to ndk_headers."

7 years agoMigrate khrplatform.h to ndk_headers.
Dan Albert [Wed, 5 Oct 2016 00:49:33 +0000 (17:49 -0700)]
Migrate khrplatform.h to ndk_headers.

Test: make native
Bug: http://b/30465923
Change-Id: Idaf0eb973b7569f92b1f1575869d13b8c5e706fd

7 years agoMerge changes I6a2f4df7,I62e108bd,Icd83a5ef am: 900da7b14a am: 93c91c81fd
Dan Albert [Wed, 5 Oct 2016 20:42:50 +0000 (20:42 +0000)]
Merge changes I6a2f4df7,I62e108bd,Icd83a5ef am: 900da7b14a am: 93c91c81fd
am: 75a118f9d1

Change-Id: Icc233e4c2b64497741b75502dc51497a23a1c51f

7 years agoMigrate libGLESv3 to ndk_library. am: d7d8efa471 am: 0238c63510
Dan Albert [Wed, 5 Oct 2016 20:42:41 +0000 (20:42 +0000)]
Migrate libGLESv3 to ndk_library. am: d7d8efa471 am: 0238c63510
am: 61b9688387

Change-Id: I794fc4359c6eb0601dd765867ad1c42990351687

7 years agoMigrate libGLESv2 to ndk_library. am: 00500c798a am: 2cdf177bc1
Dan Albert [Wed, 5 Oct 2016 20:42:30 +0000 (20:42 +0000)]
Migrate libGLESv2 to ndk_library. am: 00500c798a am: 2cdf177bc1
am: 6e8eeea98f

Change-Id: Ic208e02635970134d5911fdbbc422aaeef553a9b

7 years agoMigrate libGLESv1_CM to ndk_library. am: 7facb1db6e am: ebe4ea9e88
Dan Albert [Wed, 5 Oct 2016 20:42:19 +0000 (20:42 +0000)]
Migrate libGLESv1_CM to ndk_library. am: 7facb1db6e am: ebe4ea9e88
am: ff88cbd859

Change-Id: Ibbfd1136fb1d53f83204e697c5c233d73b3a7bb8

7 years agoMerge changes I6a2f4df7,I62e108bd,Icd83a5ef am: 900da7b14a
Dan Albert [Wed, 5 Oct 2016 20:40:19 +0000 (20:40 +0000)]
Merge changes I6a2f4df7,I62e108bd,Icd83a5ef am: 900da7b14a
am: 93c91c81fd

Change-Id: I4f4c9b668d019d8eae010b41755c8985b9c76b17

7 years agoMigrate libGLESv3 to ndk_library. am: d7d8efa471
Dan Albert [Wed, 5 Oct 2016 20:40:09 +0000 (20:40 +0000)]
Migrate libGLESv3 to ndk_library. am: d7d8efa471
am: 0238c63510

Change-Id: Ie8a699ed04e115de621f4b2d5ac5b904d39006bd

7 years agoMigrate libGLESv2 to ndk_library. am: 00500c798a
Dan Albert [Wed, 5 Oct 2016 20:39:59 +0000 (20:39 +0000)]
Migrate libGLESv2 to ndk_library. am: 00500c798a
am: 2cdf177bc1

Change-Id: Iff08c160dbe9f974672672ca453303aaac5487bc

7 years agoMigrate libGLESv1_CM to ndk_library. am: 7facb1db6e
Dan Albert [Wed, 5 Oct 2016 20:39:49 +0000 (20:39 +0000)]
Migrate libGLESv1_CM to ndk_library. am: 7facb1db6e
am: ebe4ea9e88

Change-Id: I6639fc184bf99095a3bcb3d8b0e77d6a24d5b3b6

7 years agoMerge changes I6a2f4df7,I62e108bd,Icd83a5ef
Dan Albert [Wed, 5 Oct 2016 20:37:09 +0000 (20:37 +0000)]
Merge changes I6a2f4df7,I62e108bd,Icd83a5ef
am: 900da7b14a

Change-Id: I8d50ffcdaff60b51a81c0648a0087d645e99ee1d

7 years agoMigrate libGLESv3 to ndk_library.
Dan Albert [Wed, 5 Oct 2016 20:37:08 +0000 (20:37 +0000)]
Migrate libGLESv3 to ndk_library.
am: d7d8efa471

Change-Id: I86f06ebcaa1e2dd860d61ff9cd9b5503158735ba

7 years agoMigrate libGLESv2 to ndk_library.
Dan Albert [Wed, 5 Oct 2016 20:36:58 +0000 (20:36 +0000)]
Migrate libGLESv2 to ndk_library.
am: 00500c798a

Change-Id: I3031e4a938bbfbd97b51735707bf5fe0bc884b37

7 years agoMigrate libGLESv1_CM to ndk_library.
Dan Albert [Wed, 5 Oct 2016 20:36:49 +0000 (20:36 +0000)]
Migrate libGLESv1_CM to ndk_library.
am: 7facb1db6e

Change-Id: I777d5d8b08ff11491aabdb4166d7c0d38b09f20c

7 years agoMerge changes I6a2f4df7,I62e108bd,Icd83a5ef
Treehugger Robot [Wed, 5 Oct 2016 20:31:38 +0000 (20:31 +0000)]
Merge changes I6a2f4df7,I62e108bd,Icd83a5ef

* changes:
  Migrate libGLESv3 to ndk_library.
  Migrate libGLESv2 to ndk_library.
  Migrate libGLESv1_CM to ndk_library.

7 years agoMerge "Fix anonymous struct and union warnings" am: 87e72cb237 am: a3ac6c2b86
Colin Cross [Wed, 5 Oct 2016 19:02:12 +0000 (19:02 +0000)]
Merge "Fix anonymous struct and union warnings" am: 87e72cb237 am: a3ac6c2b86
am: 86eff80c19

Change-Id: I6358d387eebddcd9238f250db7429f5846a2260a

7 years agoMerge "Fix anonymous struct and union warnings" am: 87e72cb237
Colin Cross [Wed, 5 Oct 2016 18:59:41 +0000 (18:59 +0000)]
Merge "Fix anonymous struct and union warnings" am: 87e72cb237
am: a3ac6c2b86

Change-Id: Iecd9d1b0b6a22d48a1cac59e028f7d31b50a3e3e

7 years agoMerge "Fix anonymous struct and union warnings"
Colin Cross [Wed, 5 Oct 2016 18:56:41 +0000 (18:56 +0000)]
Merge "Fix anonymous struct and union warnings"
am: 87e72cb237

Change-Id: I1ace0ad7d2f175b6d6cc42a0ce6845c76ba032b3

7 years agoMerge "Fix anonymous struct and union warnings"
Treehugger Robot [Wed, 5 Oct 2016 18:52:25 +0000 (18:52 +0000)]
Merge "Fix anonymous struct and union warnings"

7 years agoMerge "Migrate libEGL to ndk_library." am: ce1bc304a2 am: 183edbb062
Dan Albert [Wed, 5 Oct 2016 18:35:40 +0000 (18:35 +0000)]
Merge "Migrate libEGL to ndk_library." am: ce1bc304a2 am: 183edbb062
am: 62d80401f3

Change-Id: Iba58208172ee35efd854d2fd629e40413063f28d

7 years agoMerge "Migrate libEGL to ndk_library." am: ce1bc304a2
Dan Albert [Wed, 5 Oct 2016 18:33:11 +0000 (18:33 +0000)]
Merge "Migrate libEGL to ndk_library." am: ce1bc304a2
am: 183edbb062

Change-Id: Iff01a29d4b03a45a5b28a6f98f93eb4af3e00ad7