OSDN Git Service
bohu [Thu, 7 Apr 2016 22:51:14 +0000 (15:51 -0700)]
Emulator: Fix camera crash
Because the camera runs a thread without giving it a name.
bug:
28074344
Change-Id: I85fd0d0786e82305d6615e7f50b7394785e96df7
Yahan Zhou [Wed, 23 Mar 2016 20:58:49 +0000 (20:58 +0000)]
Merge changes from topic 'GL pipe checksum (nyc)' into nyc-dev
* changes:
Checksum for GLES messages from host to guest
Checksum for GL pipe communication
Yahan Zhou [Wed, 16 Mar 2016 19:41:08 +0000 (12:41 -0700)]
Checksum for GLES messages from host to guest
Add checksum for GLES messages from host to guest. This patch contains
generated code (gl_enc.cpp, gl2_enc.cpp, renderControl_enc.cpp) and
shared code with the host (ChecksumCalculator.cpp,
ChecksumCalculator.h).
(cherry picked from commit
eee828509ce3d8fac4f962a68e8d381e83223f8a)
Change-Id: Ie95128c50ad4536ecdcf5f075889313169d677d2
Yahan Zhou [Thu, 10 Mar 2016 19:45:02 +0000 (11:45 -0800)]
Checksum for GL pipe communication
This is the guest side implementation for cl go/oag/c/207292.
It initializes checksum whenever a renderControl is created. Each
HostConnection owns a checksum structure.
The list contains mostly auto-generated code by emugen.
(cherry picked from commit
bfd420ab5f9e0704012b6796522ef78cd56a3ac4)
Change-Id: I2eacc654522f048a82a77803f71116ba58a39e86
Yahan Zhou [Mon, 21 Mar 2016 23:11:38 +0000 (16:11 -0700)]
Fix a typo in GLES encoder headers
Unimportant but let's fix it.
Change-Id: I360ba0dc0b676238adaeb5d4360c10a9ec8c2371
(cherry picked from commit
10c23934975b8c053e1991af4e5af06c5d4a6573)
Brian Carlstrom [Sun, 13 Mar 2016 05:38:47 +0000 (21:38 -0800)]
device/generic/goldfish/camera: Make Thread::run threadName argument required
Bug:
27557176
Change-Id: If15d0574a53a7d48ac87d6d0865a43f3cc6debbc
Prathmesh Prabhu [Fri, 11 Mar 2016 02:14:19 +0000 (18:14 -0800)]
fingerprint: Don't call notify on fingerprit_cancel.
Fingerprint cancel doesn't expect notify to be called as a result of
calling fingerprint_cancel. In fact, doing so will cause it to crash
when fingerprint_remove is called.
BUG:
27548519
Change-Id: Ib4467756f8128ab74754e358f3bef3966dcf6d9f
Prathmesh Prabhu [Tue, 8 Mar 2016 19:55:58 +0000 (19:55 +0000)]
Merge "Settings: Show on-screen keyboard when hardware keyboard is attached." into nyc-dev
Prathmesh Prabhu [Fri, 4 Mar 2016 23:49:07 +0000 (23:49 +0000)]
Merge "Settings: Start with screen unlocked after boot." into nyc-dev
Prathmesh Prabhu [Fri, 4 Mar 2016 23:40:29 +0000 (15:40 -0800)]
Settings: Show on-screen keyboard when hardware keyboard is attached.
Changes the default behvaiour of hiding the on-screen keyboard when a
hardware keyboard is attached. We want both for the users of emulator.
BUG:
27484734
Change-Id: I8c8f0183cbbe17d857dea8ed36a1855be95ab25a
Prathmesh Prabhu [Fri, 4 Mar 2016 21:41:10 +0000 (13:41 -0800)]
Settings: Start with screen unlocked after boot.
This CL adds a product overlay for goldfish and overrides the default
property used by SettingsProvider to unlock screen on boot.
BUG:
2748734
Change-Id: I222a8b2781169603e33147c787692a893d32c1e0
bohu [Fri, 4 Mar 2016 07:58:54 +0000 (23:58 -0800)]
Emulator: remove expensive glCheckFramebufferStatus
The additional calls of glCheckFramebufferStatus in glDraw*
functions have very negative impact on framerate.
More specifically, the glCheckFramebufferStatus will flush
the write buffer of qemu-pipe and then do a block read until
the host finishes all the gl calls before this call and send
back results. This turns out to be costly, probably partially
due to the relatively longer latency (than real GPU) we have
in the GPU emulation layer -- it would be nice to hammer
that latency down in the near future.
bug:
27418143
Change-Id: Ic6d9e739562c6bd0b688d62805fda4d469b98759
Lingfeng Yang [Wed, 2 Mar 2016 05:27:49 +0000 (21:27 -0800)]
Cache glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, int*).
BUG:
27418143
If we don't, the chatter over the pipe will
kill framerate.
I believe this is OK for the emulator,
as the parameter is dependent on only the
GPU hardware.
Change-Id: I9bd74de6317316902bddf54b915ef509625cee52
Bo Hu [Tue, 1 Mar 2016 21:36:42 +0000 (21:36 +0000)]
Merge "Revert "Fix glActiveTexture invalid parameter bug"" into nyc-dev
Yu Ning [Fri, 8 Jan 2016 09:53:31 +0000 (17:53 +0800)]
ranchu: Enable an adoptable SD card
This CL is only applicable to API 23 and above. It is the ranchu version
of https://android-review.googlesource.com/195220. See also a related CL
that works for APIs 21 and 22:
https://android-review.googlesource.com/145850
It requires the following CLs:
https://android-review.googlesource.com/195057
https://android-review.googlesource.com/195240
Change-Id: Id77a3bc3d0d9a054f7e9c0f70cce678f2627912a
Signed-off-by: Yu Ning <yu.ning@intel.com>
(cherry picked from commit
f08ecd12ddcde47deee418dfdb652fde5d38a16d)
Prathmesh Prabhu [Thu, 25 Feb 2016 23:47:11 +0000 (15:47 -0800)]
[camera] Be permissive about no-op metadata request.
Instead of returning error, silently agree if emulated camera is
requested to not include metadata in the video. We don't support
metadata, but if we return an error when requested to not include
metadata, framework treats it as an error, and video recording fails.
BUG=b.android.com/201678
Change-Id: I3ccf8de76ae150a881d82da5e13f87aa60f49aa0
bohu [Thu, 25 Feb 2016 23:07:31 +0000 (15:07 -0800)]
Revert "Fix glActiveTexture invalid parameter bug"
This reverts commit
ac3f6d133db03e03dbbd15754d0d342748a81967.
Because somehow, the init is not called and the check failed
everytime.
bug:
27324004
Change-Id: Id667926cf40e94ea666fbec534a4b54277657aea
bohu [Thu, 25 Feb 2016 23:07:31 +0000 (15:07 -0800)]
Revert "Fix glActiveTexture invalid parameter bug"
This reverts commit
ac3f6d133db03e03dbbd15754d0d342748a81967.
Because somehow, the init is not called and the check failed
everytime.
bohu [Thu, 25 Feb 2016 19:00:21 +0000 (11:00 -0800)]
Emulator: use FINGERPRINT_FILENAME
instead of hardcoded filename
Change-Id: Ie046904160c34eedaa04fe22caa799d52376013e
bohu [Thu, 25 Feb 2016 18:23:23 +0000 (10:23 -0800)]
Emulator: fix fingerprint regression
It cannot save fingerprints or load it at restart.
bug:
27337363
Fixed by (1) correcting the filename (2) loading
fingerprints _after_ active group is set.
Change-Id: I3f8fabdecb8ebe1ebad91bd8c5d42dd8095a0c71
Yahan Zhou [Fri, 19 Feb 2016 21:59:34 +0000 (13:59 -0800)]
GL encoder null pointer check before write
BUG=
27273457
Previously when encoding some functions, if the user gives us a null
pointer, the encoder will write a header with some data length while not
actually writing any data. This patch fix it by writing 0 into the data
length field for all those functions.
The changed functions include:
glBufferSubData
glCompressedSubTexImage2D
glTexSubImage3DOES
glCompressedTexImage3DOES
glCompressedTexSubImage3DOES
Other functions do not directly write user's pointer, so they don't need
to be updated.
Since this is auto-generated code, there would be another patch in
emu-master-dev to update the code generator.
Change-Id: I05fca078dfcf01e20fa757f1050820b21ca080b7
(cherry picked from commit
82b3ebce97851f019991965301ab6063ba7a1fee)
Yu Ning [Fri, 8 Jan 2016 07:16:02 +0000 (15:16 +0800)]
goldfish: Make SD card adoptable
The current storage configuration for the classic emulator (goldfish)
follows the "Android 6.0: Physical primary only" example per:
https://source.android.com/devices/storage/config-example.html
It only allows the virtual SD card to be used as external storage. A
better configuration scheme would be "Android 6.0: Emulated primary,
physical secondary", which gives the user the choice to format the
virtual SD card as internal storage, if they so prefer.
This CL implements the new configuration. It is only applicable to API
23 and above, and requires the following CL:
https://android-review.googlesource.com/195057
BUG=
27273457
Change-Id: Idd2b51da5e90680b54d3534e5fed1424dc7e2a60
Signed-off-by: Yu Ning <yu.ning@intel.com>
(cherry picked from commit
ec1e5323e59192dd9641695248a16049939aa8e0)
Prathmesh Prabhu [Fri, 19 Feb 2016 22:20:44 +0000 (14:20 -0800)]
GLESv2: Correctly handle location -1 in shared groups.
Before this CL, getHostLocation left an out parameter undefined when
accessing location == -1.
It now sets it to -1, consistent with the rest of the SharedGroup
library.
BUG=b.android.com/199855
BUG=
27273807
Change-Id: Ibbc234e22895083b2057fe5feb34dbd6d7b02be3
bohu [Wed, 17 Feb 2016 20:12:14 +0000 (12:12 -0800)]
Add check for data partition
bug:
b.android.com/201150
When the data partition is corrupted, emulator will fail
to boot. Adding check to reduce the possibility of boot
failure due to corrupted data partition.
Note: fstab.golfish has check already. ranchu seems
should have it as well.
Note: I don't see much boot time degradation either.
Note: need to give e2fsck SELINUX permission to do the check
bug: https://b2.corp.google.com/u/0/issues/
27224003
Change-Id: I9b040ecd2009a3003c5b6c4c6e4b30c7d03fa71a
Jim Kaye [Wed, 17 Feb 2016 18:02:01 +0000 (10:02 -0800)]
Don't mis-parse the Emulator's GPS altitude
When tokenizing an NMEA string, don't skip null input fields;
turn them into null tokens.
By skipping null fields, the subsequent values become mis-aligned.
This bug prevented the code from handling the altitude in the
NMEA 0183 GPGGA string.
b.android.com/200940
Change-Id: I774de342cd9ebfb85dcc6d72b4033e1c3e101434
(cherry picked from commit
40bbf5b37a20d5fdcc392ad30edb9a475fc6344e)
Grigory Dzhavadyan [Fri, 30 Oct 2015 22:11:15 +0000 (15:11 -0700)]
Add support for new sensors in the QEMU-specific sensors HAL module
Change-Id: I596aa8e90ecdb81d5984d6c2eb33410ced0fd861
(cherry picked from commit
d9c1ea0d820055ab0e262958938ff9e5e4fd91de)
dcashman [Tue, 8 Dec 2015 20:47:45 +0000 (12:47 -0800)]
Run fingerprintd as system user.
Address the following denials:
type=1400 audit(
1449001264.880:5): avc: denied { dac_override } for pid=1264 comm="fingerprintd" capability=1 scontext=u:r:fingerprintd:s0 tcontext=u:r:fingerprintd:s0 tclass=capability permissive=0
type=1400 audit(
1449001264.880:6): avc: denied { dac_read_search } for pid=1264 comm="fingerprintd" capability=2 scontext=u:r:fingerprintd:s0 tcontext=u:r:fingerprintd:s0 tclass=capability permissive=0
Bug:
25951089
Change-Id: I72adbfd1565b555aec5193afe8114d2d67a1de9e
(cherry picked from commit
7e9c67b73f93977f739a6e641a0bf5163b721533)
bohu [Tue, 1 Dec 2015 01:26:30 +0000 (17:26 -0800)]
Enable fingerprint daemon on ranchu
Change-Id: I0813e9e0d248acb964491cfc8c28ed8b46e5d182
(cherry picked from commit
1a681387f53ff1fe3855d48129ebd259366aefe3)
Prathmesh Prabhu [Fri, 19 Feb 2016 01:25:08 +0000 (01:25 +0000)]
Merge "gps: Add ranchu support." into nyc-dev
bohu [Mon, 23 Nov 2015 23:30:09 +0000 (15:30 -0800)]
Turn off dhcp since radio is working on ranchu
Change-Id: Ia1550bf009fbb5f57213cac07d98360b3b789a71
(cherry picked from commit
c249484b0928b5e6c2c34eacb342845e7e22c0a4)
Chaoren Lin [Wed, 18 Nov 2015 02:51:40 +0000 (18:51 -0800)]
gps: Add ranchu support.
Compile the code as gps.ranchu.so, in addition to
gps.goldfish.so to enable the gps on the ranchu
board as well as on the goldfish board.
Change-Id: I2e7c77d6352d300a1b3a172f944a4dd78bebcd20
(cherry picked from commit
61eb21dace6df5bedca7aab11c9c362e203642c6)
Lingfeng Yang [Wed, 18 Nov 2015 00:00:35 +0000 (16:00 -0800)]
Compile camera for ranchu as well as goldfish
This is for camera support in QEMU2
with the new emulator.
Previously, only camera.goldfish.*.so's
were being built, so the camera did not work in QEMU2.
Building camera.ranchu.*.so's seems to have fixed
the problem on guest side.
Change-Id: I9cc16ed0a48729d9a17bd5ce8a0a04bb6e031415
(cherry picked from commit
e249aa0ce28c5cf33fee39eae7323d50fee0591e)
Sasha Levitskiy [Wed, 10 Feb 2016 21:25:26 +0000 (13:25 -0800)]
Fingerprint: Add set_active_group()
Bug:
21109822
Change-Id: Ie925dcb95f39be758de4fb88a58d1d0e48373277
Yahan Zhou [Thu, 11 Feb 2016 00:10:46 +0000 (16:10 -0800)]
Fix crash when forgot to call glVertexAttribPointer
Calling glDraw* will crash the emulatorif one forgot to call
glVertexAttribPointer first. This patch fixes it.
There are two situations: (1) user forgot to enable any vertex
attribute arrays, or (2) user enabled a vertex attribute array but
forgot to bind any data to it. This patch fix both situations. After the
patch, in (1) user will get an error message, in (2) user will get an
error message as well as GL error code GL_INVALID_OPERATION. These are
similar behaviors as running it in swift shader or on a real device.
(Running it on a real device with (1) will give nothing and with (2)
will crash the app.)
Change-Id: Id045c0c81a489a7c6ee4b6efc91f5ab148432f35
(cherry picked from commit
44dae11a1030d9d67f426eb3de4e9640a6efad7d)
(cherry picked with conflicts)
Yahan Zhou [Wed, 10 Feb 2016 01:42:33 +0000 (17:42 -0800)]
Support glDrawElements with GL_UNSIGNED_INT in the encoder
Currently glDrawElements with type GL_UNSIGNED_INT is not supported by
our encoder and decoder. The emulator will crash if someone uses it.
This patch add the support in the encoder side.
The related issue is here: b.android.com/200338
The patch on the decoder:
https://android-review.googlesource.com/#/c/202101
Change-Id: I9a6cde9983d34f39cfcc8c66a7ccf021dd5963eb
(cherry picked from commit
e988586a6db9c7c3a7e6805f693d3a40913841a1)
Yahan Zhou [Fri, 29 Jan 2016 20:12:57 +0000 (12:12 -0800)]
Fix the GLES version number in the emulator encoder
The native code, emulator encoder and emulator decoder each keeps its
own GLES version number. Previously they are inconsistent when
EGL_CONTEXT_CLIENT_VERSION=3. In this patch, because our emulator
currently doesn't support GLES3, we return EGL_NO_CONTEXT with an
error code EGL_BAD_CONFIG when the user tries to use GLES 3.
In future when we impelment GLES3, please remmeber to change the
version number here, as well as those in native code and the emulator
decoder.
Release Note:
Report error code when setting up GLES3
Change-Id: I1d1083310d28bb57f42625daaed710711495a3ed
(cherry picked from commit
51278f0da350513e0826e32e83e27453193fa720)
Lingfeng Yang [Sat, 30 Jan 2016 00:02:25 +0000 (16:02 -0800)]
Clean up minor opengl errors/warnings.
There are always disconcerting messages printed to logcat
whenever developing apps on the emulator.
glUtilsParamSize and other functions
often fail with "unknow param 0x00..."
These are missing GLenums and types that for
some reason are not in glUtils.cpp
in OpenglCodecCommon.
There also has been a long-standing warning
that eglSurfaceAttrib is not implemented.
It seems we don't need to implement that to get things done,
so we will give a no-op implementation that suppresses
the warning.
Change-Id: Ie44fbdd10422dd824c9c3c3ea70c386023663969
(cherry picked from commit
215bb77438519bcf1b952e4d5b621abb0bf3ed82)
bohu [Fri, 20 Nov 2015 02:25:47 +0000 (18:25 -0800)]
Fingerprint emulation: fix unrecognized fingerid
When restarting AVD after registering a finger id, it is
not recognized, on OSX.
It is caused by not properly initializing fingerprint file
when fingerprint id is saved. Fixed.
bug:
26920715
(cherry picked from commit
1754cb33c3e2495f65fb2ed162ce059b87683e27)
Change-Id: Ia9b29e7d8e58094be54e4509d5e27ba79a794a45
bohu [Wed, 4 Nov 2015 15:34:41 +0000 (07:34 -0800)]
Emulator: Fix regression in fingerprint emulation
For the authenticator id regression.
bug:
25461612
(cherry picked from commit
db43938923af7ac167639915932a5d58669798de)
Change-Id: I0bf9581216da213955e9ba1103e86479de30a866
Matt Sarett [Fri, 22 Jan 2016 17:05:37 +0000 (12:05 -0500)]
Remove references to external/jpeg
Change-Id: Ic77b48d1ae3b1990765df5dac840a353150e69f5
Nicolas Capens [Fri, 20 Nov 2015 20:10:09 +0000 (15:10 -0500)]
Advertise EGL_KHR_gl_texture_2d_image
EGL_KHR_gl_texture_2d_image must be supported unconditionally.
Bug
24517776
Change-Id: I8dd4f33a69b926c14bf1eeb4a5c88585d47e7502
Nicolas Capens [Mon, 23 Nov 2015 22:13:00 +0000 (17:13 -0500)]
Create EGL image targets from client objects.
Bug
24517776
Change-Id: Ie06000051b510527b1f96d537868c771565c5120
Nicolas Capens [Mon, 23 Nov 2015 22:03:18 +0000 (17:03 -0500)]
Create client object EGL images.
Call the host-side eglCreateImageKHR() implementation to create EGL
images from client objects (e.g. textures).
Bug
24517776
Change-Id: If7df1c8716aa45f8de49d667790d923945ee91df
Nicolas Capens [Fri, 20 Nov 2015 16:16:34 +0000 (11:16 -0500)]
Discern between EGL image types.
EGL images can be created from an Android native buffer or a GL client
texture.
Bug
24517776
Change-Id: Ia03dedcdc5c6ec7d3471a0dac3da29ea126c2ff8
Sasha Levitskiy [Fri, 4 Dec 2015 18:25:01 +0000 (10:25 -0800)]
Fingerprint: Emulator: warning cleanup.
Change-Id: I81fbb296686dab9f829af77d26da807a8020c031
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Sasha Levitskiy [Thu, 3 Dec 2015 18:52:38 +0000 (10:52 -0800)]
Fingerprint: Fix the emulator build with new enumerate()
Bug:
25244240
Change-Id: If337241594b8c52737a14d476c1db96930b62a48
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Nicolas Capens [Tue, 3 Nov 2015 17:24:12 +0000 (12:24 -0500)]
Use the encoding gralloc only when qemu.gles == 1
Bug
25443830
Change-Id: I2ccd60b4752e436117d65a2a3c7400c35bfaa3df
bohu [Wed, 7 Oct 2015 21:53:32 +0000 (14:53 -0700)]
Emulator Fingerprint: create fingeprint file
When saving to fingerprint file, create it if
it does not exist.
bug:
https://code.google.com/p/android/issues/detail?id=189042
Change-Id: Ic22df4a1db4de2bc229b6764390c5932e26f6da7
bohu [Wed, 7 Oct 2015 19:23:41 +0000 (12:23 -0700)]
Emulator Fingerprint: do not send invalid finger id
Fix regression, where MNC AVD can be unlocked using
un-enrolled touch ids.
bug:
https://code.google.com/p/android/issues/detail?id=188341
Change-Id: I541e77282259c41fbc31c47fc5f8e80df3470faf
David Turner [Fri, 25 Sep 2015 14:38:51 +0000 (14:38 +0000)]
am
c1d796f4: am
ef6c1c57: Merge changes Ie449043b,I0c08e8cd
* commit '
c1d796f44ae74a629f4d6d5d487bdf028d3d2eb2':
GPU: Build gralloc.ranchu.so
init.ranchu.rc: enable qemu-props & use GPU emulation if available
David Turner [Fri, 25 Sep 2015 14:31:12 +0000 (14:31 +0000)]
am
ef6c1c57: Merge changes Ie449043b,I0c08e8cd
* commit '
ef6c1c57263dfcc8c577fda5fb6293b3f9899612':
GPU: Build gralloc.ranchu.so
init.ranchu.rc: enable qemu-props & use GPU emulation if available
David Turner [Fri, 25 Sep 2015 14:27:01 +0000 (14:27 +0000)]
Merge changes Ie449043b,I0c08e8cd
* changes:
GPU: Build gralloc.ranchu.so
init.ranchu.rc: enable qemu-props & use GPU emulation if available
Miroslav Tisma [Wed, 23 Sep 2015 10:54:56 +0000 (12:54 +0200)]
GPU: Build gralloc.ranchu.so
Change-Id: Ie449043b06b6fefa52bdbd68c243a1165ec95ee1
Miroslav Tisma [Wed, 23 Sep 2015 16:32:27 +0000 (18:32 +0200)]
init.ranchu.rc: enable qemu-props & use GPU emulation if available
Change-Id: I0c08e8cd76cf7da19447f34de08bd7a1f1cd21ba
bohu [Thu, 17 Sep 2015 18:33:48 +0000 (18:33 +0000)]
am
f20cca78: am
948dfb6e: emulator-fingerprint: Exit listener thread on HAL close
* commit '
f20cca78fc06398de0701d0c5bba589c0fe2f738':
emulator-fingerprint: Exit listener thread on HAL close
bohu [Thu, 17 Sep 2015 18:13:40 +0000 (18:13 +0000)]
am
948dfb6e: emulator-fingerprint: Exit listener thread on HAL close
* commit '
948dfb6e500f11106f68671d77f85bb633e678ce':
emulator-fingerprint: Exit listener thread on HAL close
Vince Harron [Thu, 17 Sep 2015 02:26:36 +0000 (19:26 -0700)]
resolved conflicts for
a36a210b to mnc-dr-dev-plus-aosp
bohu [Wed, 16 Sep 2015 22:52:03 +0000 (15:52 -0700)]
emulator-fingerprint: Exit listener thread on HAL close
Note: This CL comes from Yu Ning <yu.ning@intel.com>
The current fingerprint HAL module for the emulator cannot be closed,
because fingerprint_close() always gets stuck waiting for the listener
thread to finish execution. Meanwhile, the listener thread is blocked on
qemud_channel_recv(), which does not return unless the host (QEMU) sends
something through the qemud channel.
This leads to the following bug:
https://code.google.com/p/android/issues/detail?id=186174
It is worth noting, though, that fingerprint_close() does try to unblock
qemud_channel_recv() by asynchronously closing the qemud channel, which
is backed by goldfish pipe. Unfortunately, that does not work, probably
because goldfish pipe does not automatically make pending I/O operations
return after closing a channel.
Any proper solution should probably poll the qemud channel before the
call to qemud_channel_recv(), and make sure the polling can be canceled,
allowing the listener thread to terminate gracefully.
Setting a timeout for poll() is straightforward to implement. Another
(slightly better) mechanism that enables instant interruption of the
polling of the qemud channel has also been implemented and tested, but
is more complicated and would add 200+ lines to fingerprint.c.
Therefore, take the simple, timeout-based approach for now, and maybe
revisit this issue in the future.
Change-Id: I02aa1f631d4ee651fe1ac7fb338076beaedddc40
Miroslav Tisma [Wed, 16 Sep 2015 22:01:08 +0000 (22:01 +0000)]
am
3ea472d4: init.ranchu.rc: Add dhcpcd_eth0 service
* commit '
3ea472d45910dc4758dde13fde86e0ef87804f0f':
init.ranchu.rc: Add dhcpcd_eth0 service
Miroslav Tisma [Thu, 4 Jun 2015 13:23:19 +0000 (15:23 +0200)]
init.ranchu.rc: Add dhcpcd_eth0 service
This commit adds dhcpcd service for eth interface which enables
netwoking in the ranchu emulators. Since rild support is not
implemented yet in ranchu version, this is a working solution
for enabling the internet support.
bug:
24070972
(cherry-picked from aosp:
0668c61a8bc91f223c01ba8c9db11daff31b0fc0)
Change-Id: Icdc2ef8c7beec228d3ef54baa1da9319588ebb36
Bo Hu [Fri, 11 Sep 2015 23:19:42 +0000 (23:19 +0000)]
am
e0516191: am
f510c6b6: am
36c9629a: Merge "Fix glActiveTexture invalid parameter bug"
* commit '
e0516191eb7ea9ed8705bb815c523d7f7a54774c':
Fix glActiveTexture invalid parameter bug
Bo Hu [Fri, 11 Sep 2015 23:19:42 +0000 (23:19 +0000)]
am
c2ce4a0a: am
d7240203: am
9efa06df: Merge "Add validation check for glUniform* APIs"
* commit '
c2ce4a0a768ed01341a392b292cacfb5b1d9d8d7':
Add validation check for glUniform* APIs
Bo Hu [Fri, 11 Sep 2015 23:05:33 +0000 (23:05 +0000)]
am
f510c6b6: am
36c9629a: Merge "Fix glActiveTexture invalid parameter bug"
* commit '
f510c6b65190bae1980c76f83897951c6665ec4a':
Fix glActiveTexture invalid parameter bug
Bo Hu [Fri, 11 Sep 2015 23:05:32 +0000 (23:05 +0000)]
am
d7240203: am
9efa06df: Merge "Add validation check for glUniform* APIs"
* commit '
d7240203f87917d54e93ce95c8ebe33b3be8c842':
Add validation check for glUniform* APIs
Bo Hu [Fri, 11 Sep 2015 22:14:41 +0000 (22:14 +0000)]
am
36c9629a: Merge "Fix glActiveTexture invalid parameter bug"
* commit '
36c9629adb8e71d4ba5afdbce67c67f03ba76668':
Fix glActiveTexture invalid parameter bug
Bo Hu [Fri, 11 Sep 2015 22:14:40 +0000 (22:14 +0000)]
am
9efa06df: Merge "Add validation check for glUniform* APIs"
* commit '
9efa06dfba71f7e01b5816cf31a4016fe8e80a3d':
Add validation check for glUniform* APIs
Bo Hu [Fri, 11 Sep 2015 21:44:26 +0000 (21:44 +0000)]
Merge "Fix glActiveTexture invalid parameter bug"
Bo Hu [Fri, 11 Sep 2015 21:42:57 +0000 (21:42 +0000)]
Merge "Add validation check for glUniform* APIs"
Tina Zhang [Tue, 8 Sep 2015 05:59:28 +0000 (13:59 +0800)]
Fix glActiveTexture invalid parameter bug
The parameter texture must be one of GL_TEXTUREi, where i
ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_
IMAGE_UNITS minus one.
Change-Id: I98e0801eb25ebb449615cf0bb4ff6244f6ac9a0f
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Jim Kaye [Fri, 11 Sep 2015 03:49:56 +0000 (03:49 +0000)]
Tina Zhang [Mon, 7 Sep 2015 04:31:35 +0000 (12:31 +0800)]
Add validation check for glUniform* APIs
Add validation check for glUniform* APIs to pass the
dEQP tests.
Change-Id: Ide31890d8986ea2773f451d6681298bb93163ae6
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Lizhe Liu <lizhe.liu@intel.com>
Jim Kaye [Fri, 11 Sep 2015 00:43:43 +0000 (00:43 +0000)]
Jim Kaye [Thu, 10 Sep 2015 23:53:21 +0000 (16:53 -0700)]
Merge commit '
b82a006cf7db1d3790272279eeaa066827d5bf81' into gf-merge
Primarily pick up the additional comments/descriptions that were
in parallel.
Change-Id: I164986a39d9c9c4cccaec165f011e3c1fe930128
Jim Kaye [Thu, 10 Sep 2015 21:32:31 +0000 (21:32 +0000)]
Merge "Support removing a fingerprint" into mnc-dev
Jim Kaye [Tue, 8 Sep 2015 20:47:09 +0000 (13:47 -0700)]
Support removing a fingerprint
Support deleting a fingerprint based on ID rather than table index.
When deleting an entry, or deleting multiple entries via "delete all,"
send a notification of each ID that was deleted.
Change-Id: Ifd79f659fa6246ab3fecd86ee59a887b359e6168
David Turner [Wed, 9 Sep 2015 14:02:43 +0000 (14:02 +0000)]
am
f1e21e8c: am
eb7cbfd0: am
b83024c5: Merge "Delete some useless files"
* commit '
f1e21e8c8416b3dad82f193cadefe65276aaab96':
Delete some useless files
David Turner [Wed, 9 Sep 2015 13:55:14 +0000 (13:55 +0000)]
am
eb7cbfd0: am
b83024c5: Merge "Delete some useless files"
* commit '
eb7cbfd0e2ee5c1bf3633b596caf0d312bdb49db':
Delete some useless files
David Turner [Wed, 9 Sep 2015 13:45:41 +0000 (13:45 +0000)]
am
b83024c5: Merge "Delete some useless files"
* commit '
b83024c5f883d1270d86f780900ecdf56bfe83f0':
Delete some useless files
David Turner [Wed, 9 Sep 2015 13:41:55 +0000 (13:41 +0000)]
Merge "Delete some useless files"
Bo Hu [Wed, 9 Sep 2015 01:04:42 +0000 (01:04 +0000)]
am
a6e3573c: am
c4e380db: am
5ce6cd31: Merge "Fix glDrawArrays API issue"
* commit '
a6e3573c456dfaa6bf441b29a8723ae592d55624':
Fix glDrawArrays API issue
Bo Hu [Wed, 9 Sep 2015 00:45:38 +0000 (00:45 +0000)]
am
c4e380db: am
5ce6cd31: Merge "Fix glDrawArrays API issue"
* commit '
c4e380db2f73019f928b417bb85ee851c088b9fb':
Fix glDrawArrays API issue
Bo Hu [Wed, 9 Sep 2015 00:38:45 +0000 (00:38 +0000)]
am
5ce6cd31: Merge "Fix glDrawArrays API issue"
* commit '
5ce6cd3192de65994909bb43f3ac7dd6bd73f437':
Fix glDrawArrays API issue
Bo Hu [Wed, 9 Sep 2015 00:28:03 +0000 (00:28 +0000)]
Merge "Fix glDrawArrays API issue"
Evan Birenbaum [Tue, 8 Sep 2015 23:39:19 +0000 (23:39 +0000)]
am
29e4e33d: am
82f9ec59: am
00c1f48e: Removes overriding value of EXTERNAL_STORAGE for arm64.
* commit '
29e4e33dcf1d0e2d5e06f2b3ab8bfff4b9d41423':
Removes overriding value of EXTERNAL_STORAGE for arm64.
Jim Miller [Tue, 8 Sep 2015 23:39:18 +0000 (23:39 +0000)]
am
af3bcb87: am
c336ddfb: Add some guidance documentation to the emulator
* commit '
af3bcb87bffff871ea659cb09c5746a681796c28':
Add some guidance documentation to the emulator
Evan Birenbaum [Tue, 8 Sep 2015 23:33:10 +0000 (23:33 +0000)]
am
82f9ec59: am
00c1f48e: Removes overriding value of EXTERNAL_STORAGE for arm64.
* commit '
82f9ec5920daa3430fad54a17400acaa47329f71':
Removes overriding value of EXTERNAL_STORAGE for arm64.
Jim Miller [Tue, 8 Sep 2015 23:33:10 +0000 (23:33 +0000)]
am
c336ddfb: Add some guidance documentation to the emulator
* commit '
c336ddfb0d857df378cf543a0591e8a6501f88c4':
Add some guidance documentation to the emulator
Evan Birenbaum [Tue, 8 Sep 2015 23:12:06 +0000 (23:12 +0000)]
am
00c1f48e: Removes overriding value of EXTERNAL_STORAGE for arm64.
* commit '
00c1f48e2afff6a0a605290d5fd893a63a700a7a':
Removes overriding value of EXTERNAL_STORAGE for arm64.
Evan Birenbaum [Fri, 4 Sep 2015 22:50:25 +0000 (15:50 -0700)]
Removes overriding value of EXTERNAL_STORAGE for arm64.
Bug:
23327332
Change-Id: I29bd8fb0d6d631f360eff471bae9ba3f055a2b6c
Lizhe Liu [Mon, 7 Sep 2015 03:37:59 +0000 (11:37 +0800)]
Fix glDrawArrays API issue
Like glDrawElements function, glDrawArrays also need check
some parameters in guest OS. In that way, if drivers in host
OS do not have enough support, we can also handle the ERROR
state.
Signed-off-by: Lizhe Liu <lizhe.liu@intel.com>
Change-Id: If668868b567fe3fe3cc76c88a6c8a6b1aa681fa8
Tina Zhang [Mon, 7 Sep 2015 02:47:07 +0000 (10:47 +0800)]
Delete some useless files
Currently, some files are not used by the guest part of
GL emulation any more.
Change-Id: I1fb87614aaba19be6863d6fb85e80937d0778384
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Bo Hu [Wed, 2 Sep 2015 17:49:12 +0000 (17:49 +0000)]
am
44a71b13: am
b1abfa1a: am
3682b601: Merge "Adds check for argument ‘level’ in glTexSubImage2D."
* commit '
44a71b139ab72877550219c944c54e9d489acc45':
Adds check for argument ‘level’ in glTexSubImage2D.
Bo Hu [Wed, 2 Sep 2015 17:43:09 +0000 (17:43 +0000)]
am
b1abfa1a: am
3682b601: Merge "Adds check for argument ‘level’ in glTexSubImage2D."
* commit '
b1abfa1a6e156158d66ab1be830b13508dd15817':
Adds check for argument ‘level’ in glTexSubImage2D.
Bo Hu [Wed, 2 Sep 2015 17:33:03 +0000 (17:33 +0000)]
am
3682b601: Merge "Adds check for argument ‘level’ in glTexSubImage2D."
* commit '
3682b601a7a89aa4bbcdf25e122474e10fe0b96a':
Adds check for argument ‘level’ in glTexSubImage2D.
Bo Hu [Wed, 2 Sep 2015 17:22:50 +0000 (17:22 +0000)]
Merge "Adds check for argument ‘level’ in glTexSubImage2D."
Bo Hu [Wed, 2 Sep 2015 02:35:11 +0000 (02:35 +0000)]
am
cd44ba9a: am
cf6cb07b: am
8b993bd2: Merge "Fix glDrawElements API issue"
* commit '
cd44ba9a1908ecd86d543ab39a61a364981f1a7d':
Fix glDrawElements API issue
Bo Hu [Wed, 2 Sep 2015 02:30:25 +0000 (02:30 +0000)]
am
cf6cb07b: am
8b993bd2: Merge "Fix glDrawElements API issue"
* commit '
cf6cb07b69568ea20abaca449679affc29e79ed7':
Fix glDrawElements API issue
Bo Hu [Wed, 2 Sep 2015 02:23:18 +0000 (02:23 +0000)]
am
8b993bd2: Merge "Fix glDrawElements API issue"
* commit '
8b993bd256078d9a2d65647d6958d247a99ebfd5':
Fix glDrawElements API issue
Bo Hu [Wed, 2 Sep 2015 02:15:20 +0000 (02:15 +0000)]
Merge "Fix glDrawElements API issue"
Bo Hu [Wed, 2 Sep 2015 01:27:51 +0000 (01:27 +0000)]
am
947657e7: am
e87277da: am
50f29dfd: Merge "opengl: GLEncoder: Fix potential array buffer misbinding"
* commit '
947657e744a3cf7d4889820342350fa76e790ec2':
opengl: GLEncoder: Fix potential array buffer misbinding