OSDN Git Service

android-x86/device-generic-goldfish.git
7 years agoRemove old opengl code and update references
Yahan Zhou [Tue, 12 Jul 2016 21:55:28 +0000 (14:55 -0700)]
Remove old opengl code and update references

The opengl code is moved to goldfish-opengl.

Test: make
Test: fix breakage

Change-Id: Ib8348464c2218c51fc8133396e6eacd5b86ec297

7 years agoMerge "Remove old opengl code and update references" into nyc-mr1-dev am: df5624ac36
Bo Hu [Sat, 22 Oct 2016 01:54:34 +0000 (01:54 +0000)]
Merge "Remove old opengl code and update references" into nyc-mr1-dev am: df5624ac36
am: 3941aa6201

Change-Id: I0d3db9e2d2c54be6767dec1c2f1555555e402b53

7 years agoRemove old opengl code and update references am: c32dbea669
Yahan Zhou [Sat, 22 Oct 2016 01:54:31 +0000 (01:54 +0000)]
Remove old opengl code and update references am: c32dbea669
am: 4c91e07bd2  -s ours

Change-Id: I736394bbeb45a6d68e3d2ae787de9b0ae23303cb

7 years agoMerge "Remove old opengl code and update references" into nyc-mr1-dev
Bo Hu [Sat, 22 Oct 2016 01:20:38 +0000 (01:20 +0000)]
Merge "Remove old opengl code and update references" into nyc-mr1-dev
am: df5624ac36

Change-Id: If546db92964adda9bc712139bb792f0ba3c1622f

7 years agoRemove old opengl code and update references
Yahan Zhou [Sat, 22 Oct 2016 01:20:29 +0000 (01:20 +0000)]
Remove old opengl code and update references
am: c32dbea669

Change-Id: I7f565caf1f0160aebdc5c65db9998c2b97367eb5

7 years agoMerge "Remove old opengl code and update references" into nyc-mr1-dev
Bo Hu [Sat, 22 Oct 2016 00:04:51 +0000 (00:04 +0000)]
Merge "Remove old opengl code and update references" into nyc-mr1-dev

7 years agoDO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc am: aea8e4a192...
Lingfeng Yang [Fri, 21 Oct 2016 00:31:00 +0000 (00:31 +0000)]
DO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc am: aea8e4a192  -s ours
am: cd5cb7aba5  -s ours

Change-Id: I1808d8f5d3e0a15da19fb4ee7d9ebb3a0f32a68c

7 years agoDO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc
Lingfeng Yang [Fri, 21 Oct 2016 00:23:04 +0000 (00:23 +0000)]
DO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc
am: aea8e4a192  -s ours

Change-Id: Icadcc53a6552daa3df7c40bcf57a2589f86967d2

7 years agoDO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc
Lingfeng Yang [Mon, 18 Jul 2016 19:52:34 +0000 (12:52 -0700)]
DO NOT MERGE ANYWHERE Add /dev/goldfish_sync to ueventd.ranchu.rc

Change-Id: I7855f2f8b535310e59a5f2ffa0f00ee78e475d66
(cherry picked from commit 550585135a1a82283a0484f48a16a78c990508bc)

7 years agoRemove old opengl code and update references
Yahan Zhou [Mon, 18 Jul 2016 21:44:07 +0000 (14:44 -0700)]
Remove old opengl code and update references

The opengl code is moved to goldfish-opengl.

BUG:32183368
Merged-In: Ib8348464c2218c51fc8133396e6eacd5b86ec297
Change-Id: Iabfdcbbc974b78e907dfcdaf5dfdd27e103c7424
(cherry picked from commit d0e256aaacda3cf51066419be4b4a815c61994ba)

7 years agoMerge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish" am: a652a0995f
David Turner [Mon, 17 Oct 2016 16:20:58 +0000 (16:20 +0000)]
Merge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish" am: a652a0995f
am: 939d3d5f35

Change-Id: Ia87559be7ab96a674e139052e39cd11ae1401745

7 years agoMerge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish"
David Turner [Mon, 17 Oct 2016 16:13:57 +0000 (16:13 +0000)]
Merge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish"
am: a652a0995f

Change-Id: Ica4aeba1d8867d4aae834c16eb319958ade0db92

7 years agoMerge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish"
David Turner [Mon, 17 Oct 2016 16:05:15 +0000 (16:05 +0000)]
Merge "init.goldfish.rc: Allow running 3.10+ kernels on Goldfish"

7 years agoinit.goldfish.rc: Allow running 3.10+ kernels on Goldfish
Miodrag Dinic [Mon, 12 Sep 2016 08:57:33 +0000 (10:57 +0200)]
init.goldfish.rc: Allow running 3.10+ kernels on Goldfish

Since qemud service is removed and all devices use pipe device
directly, add symlinks to the pipe device file to accommodate
device naming scheme changes between kernel versions.

Without this change, Goldfish emulators won't be able to
boot if the kernel 3.10+ is used. This is the case with x86_64
emulator which uses 3.10 Goldfish kernel.

Change-Id: I451f75890c28c812e94948b31a0050bf839ea313
Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
8 years agoMerge "Remove unused include." am: 1bdcd4fe9b am: 1cea79e4ff
Dmitriy Filchenko [Thu, 18 Aug 2016 19:24:33 +0000 (19:24 +0000)]
Merge "Remove unused include." am: 1bdcd4fe9b am: 1cea79e4ff
am: 084416512d

Change-Id: I322be7460ff65b69e76d08d0e11c320fd01d439c

8 years agoMerge "Remove unused include." am: 1bdcd4fe9b
Dmitriy Filchenko [Thu, 18 Aug 2016 19:21:32 +0000 (19:21 +0000)]
Merge "Remove unused include." am: 1bdcd4fe9b
am: 1cea79e4ff

Change-Id: I732be4edfcd3d6fdfd7460653e220777986801cc

8 years agoMerge "Remove unused include."
Dmitriy Filchenko [Thu, 18 Aug 2016 19:15:41 +0000 (19:15 +0000)]
Merge "Remove unused include."
am: 1bdcd4fe9b

Change-Id: Ia757c04441404f38a59f535ed5dfdaa8a2bb436f

8 years agoMerge "Remove unused include."
Treehugger Robot [Thu, 18 Aug 2016 19:11:27 +0000 (19:11 +0000)]
Merge "Remove unused include."

8 years agoRemove unused include.
Dmitriy Filchenko [Thu, 18 Aug 2016 00:59:37 +0000 (17:59 -0700)]
Remove unused include.

BUG: 29824203

Change-Id: Ie5f5de25221d38f81befbaa965427650cdac44c2
Merged-In: Ib764899053dffabae325b8e4e7488afa3892ee85

8 years agoMerge "Update the get_process_name call." am: 7a723567f4 am: d8bc1d3bb2
Dmitriy Filchenko [Wed, 17 Aug 2016 18:45:56 +0000 (18:45 +0000)]
Merge "Update the get_process_name call." am: 7a723567f4 am: d8bc1d3bb2
am: 5b2472a373

Change-Id: Ia80656ce1e5314c854d88cd5be4735d3f4964816

8 years agoMerge "Update the get_process_name call." am: 7a723567f4
Dmitriy Filchenko [Wed, 17 Aug 2016 18:42:56 +0000 (18:42 +0000)]
Merge "Update the get_process_name call." am: 7a723567f4
am: d8bc1d3bb2

Change-Id: I249ec1f0a156b73d751018eba1a5a9be52f48527

8 years agoMerge "Update the get_process_name call."
Dmitriy Filchenko [Wed, 17 Aug 2016 18:38:53 +0000 (18:38 +0000)]
Merge "Update the get_process_name call."
am: 7a723567f4

Change-Id: I1d9e3ba410bdb7396787cd5b8432172424f3bb37

8 years agoMerge "Update the get_process_name call."
Treehugger Robot [Wed, 17 Aug 2016 17:54:36 +0000 (17:54 +0000)]
Merge "Update the get_process_name call."

8 years agoUpdate the get_process_name call.
Dmitriy Filchenko [Tue, 16 Aug 2016 16:56:25 +0000 (09:56 -0700)]
Update the get_process_name call.

BUG:29824203
Change-Id: I47efa5872619dcfe36579a33162214545daa9907
Merged-In: I47efa5872619dcfe36579a33162214545daa9907

8 years agoMerge "Fix clang-tidy performance warnings in opengl." am: d101620ef6 am: db596417d3
Chih-Hung Hsieh [Mon, 1 Aug 2016 21:17:19 +0000 (21:17 +0000)]
Merge "Fix clang-tidy performance warnings in opengl." am: d101620ef6 am: db596417d3
am: fea9576f3b

Change-Id: Icd495a3a6fccc64b2bf7631dfba38838d4c57590

8 years agoMerge "Fix clang-tidy performance warnings in opengl." am: d101620ef6
Chih-Hung Hsieh [Mon, 1 Aug 2016 21:13:49 +0000 (21:13 +0000)]
Merge "Fix clang-tidy performance warnings in opengl." am: d101620ef6
am: db596417d3

Change-Id: I3da6e7e21fb7bad59d083d9eaab7e26a226f85fd

8 years agoMerge "Fix clang-tidy performance warnings in opengl."
Chih-Hung Hsieh [Mon, 1 Aug 2016 21:11:21 +0000 (21:11 +0000)]
Merge "Fix clang-tidy performance warnings in opengl."
am: d101620ef6

Change-Id: I53bd1e2a1f9e98a9bd92b24a9768887d5ba3f99f

8 years agoMerge "Fix clang-tidy performance warnings in opengl."
Treehugger Robot [Mon, 1 Aug 2016 21:06:11 +0000 (21:06 +0000)]
Merge "Fix clang-tidy performance warnings in opengl."

8 years agoFix clang-tidy performance warnings in opengl.
Chih-Hung Hsieh [Wed, 27 Jul 2016 17:51:38 +0000 (10:51 -0700)]
Fix clang-tidy performance warnings in opengl.

* Use const reference parameter type to avoid unnecessary copy.

Bug: 30407689
Change-Id: I8b10727a77eb3571c1c6322f8ef957980688d138
Test: build with WITH_TIDY=1

8 years agoMerge \\\"Fix misc-macro-parentheses warnings in goldfish/opengl.\\\" am: 0f478a9c1e...
Chih-Hung Hsieh [Thu, 7 Jul 2016 23:10:31 +0000 (23:10 +0000)]
Merge \\\"Fix misc-macro-parentheses warnings in goldfish/opengl.\\\" am: 0f478a9c1e am: d47aedfaa4
am: 64c0bafc4e

Change-Id: I8da8e4825aaa61fc069d07c4d8fc9ad22fe1db2b

8 years agoMerge \\"Fix misc-macro-parentheses warnings in goldfish/opengl.\\" am: 0f478a9c1e
Chih-hung Hsieh [Thu, 7 Jul 2016 23:07:22 +0000 (23:07 +0000)]
Merge \\"Fix misc-macro-parentheses warnings in goldfish/opengl.\\" am: 0f478a9c1e
am: d47aedfaa4

Change-Id: I26323a5b5816df6f060ff869d8943cc2404d75c4

8 years agoMerge \"Fix misc-macro-parentheses warnings in goldfish/opengl.\"
Chih-Hung Hsieh [Thu, 7 Jul 2016 23:03:59 +0000 (23:03 +0000)]
Merge \"Fix misc-macro-parentheses warnings in goldfish/opengl.\"
am: 0f478a9c1e

Change-Id: Ia195117d2b2bd67dca0b8fc1c1b6193460696071

8 years agoMerge "Fix misc-macro-parentheses warnings in goldfish/opengl."
Chih-hung Hsieh [Thu, 7 Jul 2016 22:56:53 +0000 (22:56 +0000)]
Merge "Fix misc-macro-parentheses warnings in goldfish/opengl."

8 years agoFix misc-macro-parentheses warnings in goldfish/opengl.
Chih-Hung Hsieh [Thu, 9 Jun 2016 21:02:30 +0000 (14:02 -0700)]
Fix misc-macro-parentheses warnings in goldfish/opengl.

Add parentheses around macro arguments used beside operators.
Use NOLINT to suppress warning or clang-tidy can put parentheses at
wrong places.

Bug: 28705665
Change-Id: I40653d3e617f84c07b308bb9c2869219f6563706
Test: build with clang-tidy

8 years agoMerge \\\"Fix qemu gps time stamp bug.\\\" am: 36a3dee483 am: 0322c635fa
Tao Wu [Tue, 28 Jun 2016 19:05:52 +0000 (19:05 +0000)]
Merge \\\"Fix qemu gps time stamp bug.\\\" am: 36a3dee483 am: 0322c635fa
am: a1f762873f

Change-Id: I3c60da9461d3a4728922a138333266f46b544267

8 years agoMerge \\"Fix qemu gps time stamp bug.\\" am: 36a3dee483
Bo Hu [Tue, 28 Jun 2016 19:03:24 +0000 (19:03 +0000)]
Merge \\"Fix qemu gps time stamp bug.\\" am: 36a3dee483
am: 0322c635fa

Change-Id: I3fdc79a4d87c2ea4d1ddfce75cb32237b04295ca

8 years agoMerge \"Fix qemu gps time stamp bug.\"
Tao Wu [Tue, 28 Jun 2016 19:00:57 +0000 (19:00 +0000)]
Merge \"Fix qemu gps time stamp bug.\"
am: 36a3dee483

Change-Id: I4c6e3baa308e7d8b029e40c6a38bdec327fc4562

8 years agoMerge "Fix qemu gps time stamp bug."
Bo Hu [Tue, 28 Jun 2016 18:53:09 +0000 (18:53 +0000)]
Merge "Fix qemu gps time stamp bug."

8 years agoFix qemu gps time stamp bug.
Tao Wu [Tue, 28 Jun 2016 07:18:44 +0000 (00:18 -0700)]
Fix qemu gps time stamp bug.

We were sending out wrong time stamp in qemu GPS code.

Change-Id: Ie421d316d7b86b5a7b056870d3b296c4e6f4bdb1
Signed-off-by: Tao Wu <lepton@google.com>
8 years agoMerge \\\"rild: setup rild library path in init.<board>.rc file.\\\" am: 57569485f0...
David 'Digit' Turner [Thu, 23 Jun 2016 08:46:36 +0000 (08:46 +0000)]
Merge \\\"rild: setup rild library path in init.<board>.rc file.\\\" am: 57569485f0 am: 8dcbd2b77e
am: e15fb48447

Change-Id: I251726007f968fd833fff46569a96af11d07312c

8 years agoMerge \\"rild: setup rild library path in init.<board>.rc file.\\" am: 57569485f0
David Turner [Thu, 23 Jun 2016 08:42:55 +0000 (08:42 +0000)]
Merge \\"rild: setup rild library path in init.<board>.rc file.\\" am: 57569485f0
am: 8dcbd2b77e

Change-Id: I10c707dcfd7cd13514cc8b83287a1326f7eb0a50

8 years agoMerge \"rild: setup rild library path in init.<board>.rc file.\"
David 'Digit' Turner [Thu, 23 Jun 2016 08:39:12 +0000 (08:39 +0000)]
Merge \"rild: setup rild library path in init.<board>.rc file.\"
am: 57569485f0

Change-Id: I69b6314e8aabbbe4d162aa35a8d78205c995aec5

8 years agoMerge "rild: setup rild library path in init.<board>.rc file."
David Turner [Thu, 23 Jun 2016 07:52:29 +0000 (07:52 +0000)]
Merge "rild: setup rild library path in init.<board>.rc file."

8 years agoFix glTexSubImage2D am: fbbbd30da0
Yahan Zhou [Wed, 22 Jun 2016 19:01:57 +0000 (19:01 +0000)]
Fix glTexSubImage2D am: fbbbd30da0
am: 975ed60b2a

Change-Id: I84ea4bf366e2bb577079dd648a078a69848da05d

8 years agoFix glTexSubImage2D am: fbbbd30da0
Yahan Zhou [Wed, 22 Jun 2016 18:59:34 +0000 (18:59 +0000)]
Fix glTexSubImage2D am: fbbbd30da0
am: daab61e5a8

Change-Id: I93a35708535da6b9f178de89be2550b50f60b172

8 years agoFix glTexSubImage2D
Yahan Zhou [Wed, 22 Jun 2016 18:57:07 +0000 (18:57 +0000)]
Fix glTexSubImage2D
am: fbbbd30da0

Change-Id: I04a1bc976715046227f6a97ede1a002b21e56e62

8 years agoFix glTexSubImage2D
Yahan Zhou [Wed, 22 Jun 2016 18:57:07 +0000 (18:57 +0000)]
Fix glTexSubImage2D
am: fbbbd30da0

Change-Id: Icc969a716703b83e3aa82e9dd032a17ed0b0d0c0

8 years agorild: setup rild library path in init.<board>.rc file.
David 'Digit' Turner [Wed, 22 Jun 2016 10:00:41 +0000 (12:00 +0200)]
rild: setup rild library path in init.<board>.rc file.

This allows us to remove emulator-specific hacks in
hardware/ril/rild/rild.c

BUG=25875346

Change-Id: I3b40c19bf6da3eb0bcd3398179d61d363b29941d

8 years agoMerge \\\"vibrator: Remove qemu dependency.\\\" am: f39888f5db am: c05a1a9e98
David 'Digit' Turner [Wed, 22 Jun 2016 08:17:51 +0000 (08:17 +0000)]
Merge \\\"vibrator: Remove qemu dependency.\\\" am: f39888f5db am: c05a1a9e98
am: 4c8db15a55

Change-Id: I95195d02ae30d91614105c13bd6fc45e66f6abac

8 years agoMerge \\"vibrator: Remove qemu dependency.\\" am: f39888f5db
David Turner [Wed, 22 Jun 2016 08:15:10 +0000 (08:15 +0000)]
Merge \\"vibrator: Remove qemu dependency.\\" am: f39888f5db
am: c05a1a9e98

Change-Id: I83eb96a2bddff4b9106dfe5ebbb01ff2d8cd7f36

8 years agoMerge \"vibrator: Remove qemu dependency.\"
David 'Digit' Turner [Wed, 22 Jun 2016 08:12:33 +0000 (08:12 +0000)]
Merge \"vibrator: Remove qemu dependency.\"
am: f39888f5db

Change-Id: If9baccbeb0744b1a54f3be500cdc093dbcdf7625

8 years agoMerge "vibrator: Remove qemu dependency."
David Turner [Wed, 22 Jun 2016 08:10:07 +0000 (08:10 +0000)]
Merge "vibrator: Remove qemu dependency."

8 years agovibrator: Remove qemu dependency.
David 'Digit' Turner [Tue, 21 Jun 2016 11:23:35 +0000 (13:23 +0200)]
vibrator: Remove qemu dependency.

Remove dependency on the obsolete qemu functions for
libhardware_legacy which are going to be removed by
a future patch. Use the <system/qemu_pipe.h> interface
directly instead.

BUG=25875346

Change-Id: I7d6db640e1afca3e83d1b53e6e2460fbf58a5615

8 years agoresolve merge conflicts of d6b1ea8 to stage-aosp-master am: 09c319886e
David 'Digit' Turner [Tue, 21 Jun 2016 08:10:12 +0000 (08:10 +0000)]
resolve merge conflicts of d6b1ea8 to stage-aosp-master am: 09c319886e
am: 2c2c783b2f

Change-Id: Id3b230f0f47f6b4b37e931f78971479c8ec5e792

8 years agoresolve merge conflicts of d6b1ea8 to stage-aosp-master
David Turner [Tue, 21 Jun 2016 08:07:37 +0000 (08:07 +0000)]
resolve merge conflicts of d6b1ea8 to stage-aosp-master
am: 09c319886e

Change-Id: I407ddf6860cac805a441b000f6c4fd8402d0c24f

8 years agoresolve merge conflicts of d6b1ea8 to stage-aosp-master
David 'Digit' Turner [Tue, 21 Jun 2016 08:03:09 +0000 (10:03 +0200)]
resolve merge conflicts of d6b1ea8 to stage-aosp-master

Change-Id: Ib0b4f368dae0d8c76a1c031f24785318566216f0

8 years agoMerge "Use new <system/qemu_pipe.h> header."
David Turner [Tue, 21 Jun 2016 07:38:01 +0000 (07:38 +0000)]
Merge "Use new <system/qemu_pipe.h> header."

8 years agoUse new <system/qemu_pipe.h> header.
David 'Digit' Turner [Thu, 16 Jun 2016 16:55:11 +0000 (18:55 +0200)]
Use new <system/qemu_pipe.h> header.

Also also remove misc. compiler warnings about unused
parameters or mismatched function pointer types.

BUG=25875346

Change-Id: I763267e2b670730e194dc361ce356e10b6aa8180

8 years agoMerge changes I6badcc6a,I652ac746 am: dfc610e672 am: 07e51c3536
David 'Digit' Turner [Fri, 17 Jun 2016 08:01:19 +0000 (08:01 +0000)]
Merge changes I6badcc6a,I652ac746 am: dfc610e672 am: 07e51c3536
am: 9e99b28e0b

Change-Id: I862dd490a59af57c964d5848fa497d1222afa281

8 years agoMerge changes I6badcc6a,I652ac746 am: dfc610e672
David Turner [Fri, 17 Jun 2016 07:58:37 +0000 (07:58 +0000)]
Merge changes I6badcc6a,I652ac746 am: dfc610e672
am: 07e51c3536

Change-Id: I7ef7e559d1219ed2c18110e4bdee80ce3a600f9f

8 years agoMerge changes I6badcc6a,I652ac746
David 'Digit' Turner [Fri, 17 Jun 2016 07:55:54 +0000 (07:55 +0000)]
Merge changes I6badcc6a,I652ac746
am: dfc610e672

Change-Id: I394f0487feb127dbba501197b53d7ac7b6befb42

8 years agoMerge changes I6badcc6a,I652ac746
David Turner [Fri, 17 Jun 2016 07:47:57 +0000 (07:47 +0000)]
Merge changes I6badcc6a,I652ac746

* changes:
  rild: Remove support for host-specific radio device.
  Remove obsolete 'qemud' service.

8 years agorild: Remove support for host-specific radio device.
David 'Digit' Turner [Wed, 15 Jun 2016 15:34:35 +0000 (17:34 +0200)]
rild: Remove support for host-specific radio device.

The android.qemud kernel parameter was used before this patch
in the following way:

  - If defined (e.g. to '1'), then enable the RIL daemon
    to control networking.

  - If undefined, and android.rild is defined, then use
    this device to communicate with a host-side GSM modem
    connected to the emulator (using the -radio <chardev>
    option). Since this feature is now deprecated / obsolete
    there is no need to support it anymore.

  - If both parameters are undefined, use the Java-based
    emulated telephony stack provided by the framework
    itself. The latter was never supported by the emulator
    so has never been tested.

This patch removes all the tests to always enable the RIL
daemon, simplifying the script.

Change-Id: I6badcc6aa34f595e4c76c97e4b8a1a0348650fc1

8 years agoRemove obsolete 'qemud' service.
David 'Digit' Turner [Wed, 15 Jun 2016 15:32:25 +0000 (17:32 +0200)]
Remove obsolete 'qemud' service.

The qemud service was a small daemon used to implement
a multiplexing communication channel over a tty between
guest processes and the emulator. It has been replaced
by the QEMU pipe device since at least API level 14, and
is thus not needed anymore.

This patch removes it from the system build.

IMPORTANT NOTE:
    Many of the sources include <hardware/qemud.h>, currently
    provided by hardware/libhware/include/, but this header
    uses the pipe directly to connect to the emulator. Such
    code is thus unaffected by this patch.

Change-Id: I652ac746f1d17f8b2cced2782269013f768e3739

8 years agoFix glTexSubImage2D
Yahan Zhou [Thu, 16 Jun 2016 01:14:56 +0000 (18:14 -0700)]
Fix glTexSubImage2D

Fix b/29367586

Change-Id: Id690184a060190cf595562c891cf310b3901bc00

8 years agoMerge "Don\'t optimize out rcUpdateColorBuffer am: 03031766dd am: 745eb60906" into...
Android Build Merger (Role) [Fri, 27 May 2016 16:52:30 +0000 (16:52 +0000)]
Merge "Don\'t optimize out rcUpdateColorBuffer am: 03031766dd am: 745eb60906" into nyc-mr1-dev-plus-aosp

8 years agoDon\'t optimize out rcUpdateColorBuffer am: 03031766dd
Lingfeng Yang [Fri, 27 May 2016 16:52:09 +0000 (16:52 +0000)]
Don\'t optimize out rcUpdateColorBuffer am: 03031766dd
am: 745eb60906

* commit '745eb6090644ea5a79dcc1c4b835c253bf673ce0':
  Don't optimize out rcUpdateColorBuffer

Change-Id: I9a41bcd2df9bbe35fecd8e03c7ad3b740c937573

8 years agoDon\'t optimize out rcUpdateColorBuffer am: 03031766dd
Lingfeng Yang [Fri, 27 May 2016 16:52:03 +0000 (16:52 +0000)]
Don\'t optimize out rcUpdateColorBuffer am: 03031766dd
am: 611c9ce987

* commit '611c9ce987d6db46445286e3385b8719e80f9d7e':
  Don't optimize out rcUpdateColorBuffer

Change-Id: I29ee62bd181e22db61cca8c3af4b7752c291904a

8 years agoDon\'t optimize out rcUpdateColorBuffer
Lingfeng Yang [Fri, 27 May 2016 16:48:24 +0000 (16:48 +0000)]
Don\'t optimize out rcUpdateColorBuffer
am: 03031766dd

* commit '03031766dd3978edbb4b6e6d39139d215036921c':
  Don't optimize out rcUpdateColorBuffer

Change-Id: I5d5db64d94139b8c99c37cd85ee5203ff4c5011b

8 years agoDon\'t optimize out rcUpdateColorBuffer
Lingfeng Yang [Fri, 27 May 2016 16:48:20 +0000 (16:48 +0000)]
Don\'t optimize out rcUpdateColorBuffer
am: 03031766dd

* commit '03031766dd3978edbb4b6e6d39139d215036921c':
  Don't optimize out rcUpdateColorBuffer

Change-Id: Ia2771b7f6e88f7c319d700069061d64cbe4aa0a7

8 years agoDon't optimize out rcUpdateColorBuffer
Lingfeng Yang [Wed, 25 May 2016 15:31:06 +0000 (08:31 -0700)]
Don't optimize out rcUpdateColorBuffer

bug:28406160

If we want to use rcUpdateColorBuffer to
synchronize on the host in order to remove
out of order webcam frames, we need to call it
if (cb->hostHandle), not just when
the width and height are nonzero.

Otherwise, we get deadlocks.

Change-Id: Ib98774b935e8786e307dd38711a0f2f9ffea440e
(cherry picked from commit 6298285500362b217b73b96def2ce207e206171d)

8 years agoMerge "Fix const issues in preparation for libcxx rebase." am: c3aab193bf am: d0347bc119
Dan Austin [Wed, 25 May 2016 21:06:29 +0000 (21:06 +0000)]
Merge "Fix const issues in preparation for libcxx rebase." am: c3aab193bf am: d0347bc119
am: bf3f6190b6

* commit 'bf3f6190b61921383f3615e75dcb60db8368f1dd':
  Fix const issues in preparation for libcxx rebase.

Change-Id: I83ed69d251bc3efd309fafae1e14e7d4a7d54a3b

8 years agoMerge "Fix const issues in preparation for libcxx rebase." am: c3aab193bf
Dan Austin [Wed, 25 May 2016 20:57:38 +0000 (20:57 +0000)]
Merge "Fix const issues in preparation for libcxx rebase." am: c3aab193bf
am: d0347bc119

* commit 'd0347bc119c08c49db485cb0786372e0c2a7902d':
  Fix const issues in preparation for libcxx rebase.

Change-Id: Icdc695f2c42ec0ed97610c31055d1c643aca7b3d

8 years agoMerge "Fix const issues in preparation for libcxx rebase."
Dan Austin [Wed, 25 May 2016 20:52:57 +0000 (20:52 +0000)]
Merge "Fix const issues in preparation for libcxx rebase."
am: c3aab193bf

* commit 'c3aab193bf45fb871e04c0b2096e088b3a2089bb':
  Fix const issues in preparation for libcxx rebase.

Change-Id: If925b6590d99539e270dc96cf32244f3b1541609

8 years agoMerge "Fix const issues in preparation for libcxx rebase."
Dan Austin [Wed, 25 May 2016 20:40:19 +0000 (20:40 +0000)]
Merge "Fix const issues in preparation for libcxx rebase."

8 years agoFix const issues in preparation for libcxx rebase.
Dan Austin [Wed, 25 May 2016 19:46:28 +0000 (12:46 -0700)]
Fix const issues in preparation for libcxx rebase.

Change-Id: I2a939c87af3ef9881d9c806ba374185bd31a4954

8 years agoMerge "Create and read color buffer when expecting reads am: ca3b20ff0d am: 8a6571bd3...
Android Build Merger (Role) [Tue, 24 May 2016 20:57:17 +0000 (20:57 +0000)]
Merge "Create and read color buffer when expecting reads am: ca3b20ff0d am: 8a6571bd3a" into nyc-mr1-dev-plus-aosp

8 years agoCreate and read color buffer when expecting reads am: ca3b20ff0d
Bjoern Johansson [Tue, 24 May 2016 20:57:01 +0000 (20:57 +0000)]
Create and read color buffer when expecting reads am: ca3b20ff0d
am: 8a6571bd3a

* commit '8a6571bd3a03fb2fc328b6f632052debca9f0db0':
  Create and read color buffer when expecting reads

Change-Id: I48b3a37fbcf447d3f728ed701acebf8ffd79897e

8 years agoCreate and read color buffer when expecting reads am: ca3b20ff0d
Bjoern Johansson [Tue, 24 May 2016 20:57:00 +0000 (20:57 +0000)]
Create and read color buffer when expecting reads am: ca3b20ff0d
am: de2df84ba9

* commit 'de2df84ba9cfdabb2d0b4956b9d81ca1030dd9fe':
  Create and read color buffer when expecting reads

Change-Id: I04feaf5ac5683e2f8536f8b1cc6769ccc1c5f4a8

8 years agoCreate and read color buffer when expecting reads
Bjoern Johansson [Tue, 24 May 2016 20:54:27 +0000 (20:54 +0000)]
Create and read color buffer when expecting reads
am: ca3b20ff0d

* commit 'ca3b20ff0dd8fed5dae26409c255c68ce73723af':
  Create and read color buffer when expecting reads

Change-Id: Ifd5181703ab28e3c34879eb8fe17887f694077df

8 years agoCreate and read color buffer when expecting reads
Bjoern Johansson [Tue, 24 May 2016 20:54:27 +0000 (20:54 +0000)]
Create and read color buffer when expecting reads
am: ca3b20ff0d

* commit 'ca3b20ff0dd8fed5dae26409c255c68ce73723af':
  Create and read color buffer when expecting reads

Change-Id: I9493b13c8953ca04846d5cb94039608671daf1a0

8 years agoCreate and read color buffer when expecting reads
Bjoern Johansson [Thu, 12 May 2016 17:38:27 +0000 (10:38 -0700)]
Create and read color buffer when expecting reads

Make sure color buffers are created when gralloc is allocating buffers
that indicate that software reads are going to happen. In this case
software will require the rendered data to be available from the host at
a later point and that means that rendering has to be stored in a color
buffer. Also make sure that when gralloc locks a buffer for reading it
will actually read the data from the host if the buffer is marked for
reading.

BUG: 28932862

Change-Id: Ief4b7fe34401727cabec9fdd5c2b9812a6c49612
(cherry picked from commit 2637058369fe1ba1a692e5eb9da95624f1bc6f9c)

8 years ago[phone] Set up the GPU caching parameters for emulator device am: 6fc69c7d71
Yurii Zubrytskyi [Mon, 16 May 2016 20:49:01 +0000 (20:49 +0000)]
[phone] Set up the GPU caching parameters for emulator device am: 6fc69c7d71
am: 065e459db0

* commit '065e459db0e5e08489b22f251181a8dd51523e7b':

Change-Id: If519e7bd108c4660d76dd4a932ce8a7ef71bce53

8 years ago[phone] Set up the GPU caching parameters for emulator device am: 6fc69c7d71
Yurii Zubrytskyi [Mon, 16 May 2016 20:44:19 +0000 (20:44 +0000)]
[phone] Set up the GPU caching parameters for emulator device am: 6fc69c7d71
am: ecb63f7dc4

* commit 'ecb63f7dc4e4b22dd0b3c6aee75a7586438dc8b4':
  [phone] Set up the GPU caching parameters for emulator device

Change-Id: I52eb05a3c0eef785586abd183083de5a4338538e

8 years ago[phone] Set up the GPU caching parameters for emulator device
Yurii Zubrytskyi [Mon, 16 May 2016 20:41:59 +0000 (20:41 +0000)]
[phone] Set up the GPU caching parameters for emulator device
am: 6fc69c7d71

* commit '6fc69c7d7126a515f0f92b5da5d576e9c9d0cc4e':
  [phone] Set up the GPU caching parameters for emulator device

Change-Id: I1686aa81daf80a8003e0c5d206406de761332a1a

8 years ago[phone] Set up the GPU caching parameters for emulator device
Yurii Zubrytskyi [Mon, 16 May 2016 20:41:57 +0000 (20:41 +0000)]
[phone] Set up the GPU caching parameters for emulator device
am: 6fc69c7d71

* commit '6fc69c7d7126a515f0f92b5da5d576e9c9d0cc4e':
  [phone] Set up the GPU caching parameters for emulator device

Change-Id: I21e1bf166d3b1c044439c8277eae3d7b7fefb06b

8 years ago[phone] Set up the GPU caching parameters for emulator device
Yurii Zubrytskyi [Fri, 13 May 2016 21:13:32 +0000 (14:13 -0700)]
[phone] Set up the GPU caching parameters for emulator device

Default texture cache is way too small to be able to handle
large background images; this causes huge performance issues
in the emulator;
This CL tweaks the caching parameters to be on par with physical
devices

Bug=https://b.corp.google.com/u/0/issues/28752126

Change-Id: I1852038f7065cc4b00b425fdf5fc35afe4168ace

8 years agoMerge "Emulator: fix fingerprint regression am: ad525fea6e am: 93ab10b0c1" into nyc...
Android Build Merger (Role) [Tue, 3 May 2016 23:30:21 +0000 (23:30 +0000)]
Merge "Emulator: fix fingerprint regression am: ad525fea6e am: 93ab10b0c1" into nyc-mr1-dev-plus-aosp

8 years agoEmulator: fix fingerprint regression am: ad525fea6e
bohu [Tue, 3 May 2016 23:30:12 +0000 (23:30 +0000)]
Emulator: fix fingerprint regression am: ad525fea6e
am: 93ab10b0c1

* commit '93ab10b0c1c644566b13e30d9c89708897189a0b':
  Emulator: fix fingerprint regression

Change-Id: I4dcf60ea67767f56a7feb11dcc6ad4ae3d59bfb5

8 years agoEmulator: fix fingerprint regression am: ad525fea6e
bohu [Tue, 3 May 2016 23:30:11 +0000 (23:30 +0000)]
Emulator: fix fingerprint regression am: ad525fea6e
am: 5a0df9cf6a

* commit '5a0df9cf6a28f1548a091ac33d9496d8cd4c0c7c':
  Emulator: fix fingerprint regression

Change-Id: I9381b715ca097989faba059e1be0eb7ff7883ea1

8 years agoEmulator: fix fingerprint regression
bohu [Tue, 3 May 2016 23:27:44 +0000 (23:27 +0000)]
Emulator: fix fingerprint regression
am: ad525fea6e

* commit 'ad525fea6eae8c4614c7ae25f9e718084513248c':
  Emulator: fix fingerprint regression

Change-Id: Iec22776cfc97e003401be2257255599d831cf98f

8 years agoEmulator: fix fingerprint regression
bohu [Tue, 3 May 2016 23:27:44 +0000 (23:27 +0000)]
Emulator: fix fingerprint regression
am: ad525fea6e

* commit 'ad525fea6eae8c4614c7ae25f9e718084513248c':
  Emulator: fix fingerprint regression

Change-Id: I8c42ba1e1882b16b33c0bb957cd2da374234cd18

8 years agoEmulator: fix fingerprint regression
bohu [Thu, 28 Apr 2016 19:51:12 +0000 (12:51 -0700)]
Emulator: fix fingerprint regression

bug: 28421052

Now the authenticator_id means something.

Change-Id: Icfca3b672fe00b0c2e40ad58e1facdf2f60281dd

8 years agoDelete /mnt/sdcard symlink
Nick Kralevich [Tue, 12 Apr 2016 22:12:06 +0000 (22:12 +0000)]
Delete /mnt/sdcard symlink
am: f7f9192

* commit 'f7f9192d71c19fa3c14339316000084f27d21063':
  Delete /mnt/sdcard symlink

Change-Id: Idaaf9182b82187114130ecf511fd313f0ba5da9c

8 years agoExit when QemuPipe is corrupted by GL
Yahan Zhou [Tue, 12 Apr 2016 22:12:06 +0000 (22:12 +0000)]
Exit when QemuPipe is corrupted by GL
am: bb75ccc

* commit 'bb75cccc6426826294aee990a095b19060ee8883':
  Exit when QemuPipe is corrupted by GL

Change-Id: I60166c4161a5394e2edadca6b9f10a8f784dc6fa

8 years agoDelete /mnt/sdcard symlink
Nick Kralevich [Tue, 12 Apr 2016 19:45:00 +0000 (12:45 -0700)]
Delete /mnt/sdcard symlink

Bug: 28108983
Change-Id: I259be7b9ba00950846674bd3b328deb0ba657f1a

8 years agoExit when QemuPipe is corrupted by GL
Yahan Zhou [Tue, 8 Mar 2016 22:02:22 +0000 (14:02 -0800)]
Exit when QemuPipe is corrupted by GL

Previously when QemuPipe is corrupted, it prints an error message, and
the application will continue to use it, which leads to random behaviour
in GL on the host.

This patch crashes the APP and pops up the crash dialog when the pipe is
(going to be) corrupted. It would happen if the user asks GL to write /
read a NULL pointer (i.e. passing NULL to glGenBuffers). It might also
happen for other unknown reasons.

Change-Id: I303772029bb72a845fa0d4c79b0d38dba1fca2c7
(cherry picked from commit 5bc2615d233a2a5de39f1033be4f063d0ae8f5e4)

8 years agoMerge "Workaround: disable checksum for a problem in glTexSubImage2D" into nyc-dev
Yahan Zhou [Tue, 12 Apr 2016 17:18:02 +0000 (17:18 +0000)]
Merge "Workaround: disable checksum for a problem in glTexSubImage2D" into nyc-dev
am: 6dfd183

* commit '6dfd183133a94c6e38982fc2756cb79ed5b6eae5':
  Workaround: disable checksum for a problem in glTexSubImage2D

Change-Id: I4b60269382ad0bb6926acccb5c4b08830d3dcfbb

8 years agoMerge "Workaround: disable checksum for a problem in glTexSubImage2D" into nyc-dev
Bo Hu [Tue, 12 Apr 2016 17:09:21 +0000 (17:09 +0000)]
Merge "Workaround: disable checksum for a problem in glTexSubImage2D" into nyc-dev

8 years agoWorkaround: disable checksum for a problem in glTexSubImage2D
Yahan Zhou [Tue, 12 Apr 2016 17:02:38 +0000 (10:02 -0700)]
Workaround: disable checksum for a problem in glTexSubImage2D

This is a temporary workaround for a problem in glTexSubImage2D. It
disables the GL checksum to avoid crashes. Please revert this CL when
the root cause is solved.

Change-Id: I8401449e42da87f580f119982a1bcb1b6b9a4c8b