OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 38f09a6e: am 35283482: Merge "libgui: Fix surface damage on rotated buffers"
Dan Stoza [Thu, 28 May 2015 21:12:45 +0000 (21:12 +0000)]
am 38f09a6e: am 35283482: Merge "libgui: Fix surface damage on rotated buffers"

* commit '38f09a6e6e146ec0a44f0863652ddc557f5c3b0f':
  libgui: Fix surface damage on rotated buffers

9 years agoam 8191944f: am 0a70ed99: Merge "Fix surfaceflinger tests."
Dan Stoza [Thu, 28 May 2015 21:12:44 +0000 (21:12 +0000)]
am 8191944f: am 0a70ed99: Merge "Fix surfaceflinger tests."

* commit '8191944fd2828ea3b848fcf378a39f146af7f38c':
  Fix surfaceflinger tests.

9 years agoam aac9729f: am 4ebb44e8: Merge "Fix libgui tests."
Dan Stoza [Thu, 28 May 2015 21:12:43 +0000 (21:12 +0000)]
am aac9729f: am 4ebb44e8: Merge "Fix libgui tests."

* commit 'aac9729fbe52a84166a8963927a3edb3a6c051bd':
  Fix libgui tests.

9 years agoam fd9017e8: am 10cb68fb: Merge "fix BufferItem flatten/unflatten alignment"
Dan Stoza [Thu, 28 May 2015 21:12:42 +0000 (21:12 +0000)]
am fd9017e8: am 10cb68fb: Merge "fix BufferItem flatten/unflatten alignment"

* commit 'fd9017e8db29f2d87b70034bbb57ef1c424fa2b6':
  fix BufferItem flatten/unflatten alignment

9 years agoam d68c5f9c: am 1bdeb9d8: Merge "Refactor ConsumerBase and it\'s derived classes."
Dan Stoza [Thu, 28 May 2015 21:12:41 +0000 (21:12 +0000)]
am d68c5f9c: am 1bdeb9d8: Merge "Refactor ConsumerBase and it\'s derived classes."

* commit 'd68c5f9cfa865c5f735d902b3999ff8209fca617':
  Refactor ConsumerBase and it's derived classes.

9 years agoam 1d0a3e50: am 5a606c3a: Merge "Fix EGL shim extension injection for GL ES 3 drivers."
Jesse Hall [Thu, 28 May 2015 21:12:40 +0000 (21:12 +0000)]
am 1d0a3e50: am 5a606c3a: Merge "Fix EGL shim extension injection for GL ES 3 drivers."

* commit '1d0a3e50fc17091ee1cb395f79aef3a56fcb9190':
  Fix EGL shim extension injection for GL ES 3 drivers.

9 years agoam 8ab465d0: am d19ad6fb: Merge "Add ConsumerBase::isAbandoned"
Dan Stoza [Thu, 28 May 2015 21:12:39 +0000 (21:12 +0000)]
am 8ab465d0: am d19ad6fb: Merge "Add ConsumerBase::isAbandoned"

* commit '8ab465d04ebe280e782c24a4c229402cfe60e9dd':
  Add ConsumerBase::isAbandoned

9 years agoam 35283482: Merge "libgui: Fix surface damage on rotated buffers"
Dan Stoza [Thu, 28 May 2015 21:08:20 +0000 (21:08 +0000)]
am 35283482: Merge "libgui: Fix surface damage on rotated buffers"

* commit '35283482d0d82f7d264b77941aabe41dacfe3155':
  libgui: Fix surface damage on rotated buffers

9 years agoam 0a70ed99: Merge "Fix surfaceflinger tests."
Dan Stoza [Thu, 28 May 2015 21:08:17 +0000 (21:08 +0000)]
am 0a70ed99: Merge "Fix surfaceflinger tests."

* commit '0a70ed998cad67bf1c82e82d4229291c9dcc22ac':
  Fix surfaceflinger tests.

9 years agoam 4ebb44e8: Merge "Fix libgui tests."
Dan Stoza [Thu, 28 May 2015 21:08:15 +0000 (21:08 +0000)]
am 4ebb44e8: Merge "Fix libgui tests."

* commit '4ebb44e8cc42231bc9c4588ec3432eae9770483a':
  Fix libgui tests.

9 years agoMerge "libgui: Fix surface damage on rotated buffers"
Dan Stoza [Thu, 28 May 2015 20:57:47 +0000 (20:57 +0000)]
Merge "libgui: Fix surface damage on rotated buffers"

9 years agoMerge "Fix surfaceflinger tests."
Dan Stoza [Thu, 28 May 2015 20:55:43 +0000 (20:55 +0000)]
Merge "Fix surfaceflinger tests."

9 years agoam 10cb68fb: Merge "fix BufferItem flatten/unflatten alignment"
Dan Stoza [Thu, 28 May 2015 20:55:20 +0000 (20:55 +0000)]
am 10cb68fb: Merge "fix BufferItem flatten/unflatten alignment"

* commit '10cb68fb971c899d7d1eb6c131ecf59761af6ddf':
  fix BufferItem flatten/unflatten alignment

9 years agoam 1bdeb9d8: Merge "Refactor ConsumerBase and it\'s derived classes."
Dan Stoza [Thu, 28 May 2015 20:55:19 +0000 (20:55 +0000)]
am 1bdeb9d8: Merge "Refactor ConsumerBase and it\'s derived classes."

* commit '1bdeb9d84f4c63a0fb6be2517aebe5de88a3bb45':
  Refactor ConsumerBase and it's derived classes.

9 years agoam 5a606c3a: Merge "Fix EGL shim extension injection for GL ES 3 drivers."
Jesse Hall [Thu, 28 May 2015 20:55:18 +0000 (20:55 +0000)]
am 5a606c3a: Merge "Fix EGL shim extension injection for GL ES 3 drivers."

* commit '5a606c3ab9ead418709c0f63940b60347d11e925':
  Fix EGL shim extension injection for GL ES 3 drivers.

9 years agoam d19ad6fb: Merge "Add ConsumerBase::isAbandoned"
Dan Stoza [Thu, 28 May 2015 20:55:17 +0000 (20:55 +0000)]
am d19ad6fb: Merge "Add ConsumerBase::isAbandoned"

* commit 'd19ad6fb676f6934bf9208a47d33738234570145':
  Add ConsumerBase::isAbandoned

9 years agoMerge "Fix libgui tests."
Dan Stoza [Thu, 28 May 2015 20:54:05 +0000 (20:54 +0000)]
Merge "Fix libgui tests."

9 years agoMerge "fix BufferItem flatten/unflatten alignment"
Dan Stoza [Thu, 28 May 2015 20:51:55 +0000 (20:51 +0000)]
Merge "fix BufferItem flatten/unflatten alignment"

9 years agoMerge "Refactor ConsumerBase and it's derived classes."
Dan Stoza [Thu, 28 May 2015 20:48:47 +0000 (20:48 +0000)]
Merge "Refactor ConsumerBase and it's derived classes."

9 years agoMerge "Fix EGL shim extension injection for GL ES 3 drivers."
Jesse Hall [Thu, 28 May 2015 20:46:44 +0000 (20:46 +0000)]
Merge "Fix EGL shim extension injection for GL ES 3 drivers."

9 years agoMerge "Add ConsumerBase::isAbandoned"
Dan Stoza [Thu, 28 May 2015 20:39:59 +0000 (20:39 +0000)]
Merge "Add ConsumerBase::isAbandoned"

9 years agolibgui: Fix surface damage on rotated buffers
Dan Stoza [Tue, 26 May 2015 20:22:27 +0000 (13:22 -0700)]
libgui: Fix surface damage on rotated buffers

Flips the width and height when the buffer comes in with a 90 degree
rotation so that performing the Y-flip from GL works correctly.

Bug: 20761426
Change-Id: I41c9edc8549c6cbdb534277b996ff20c59034582
(cherry picked from commit 0e65e6c283c96d514c5ecefbb46a976939cfa64a)

9 years agoFix surfaceflinger tests.
Michael Lentine [Thu, 21 May 2015 20:48:24 +0000 (13:48 -0700)]
Fix surfaceflinger tests.

Update the screenshot code and add correct return values to surface flinger's
capturescreenshot function.

Buf: 18138368

Change-Id: Ieb42d289088589f941502fbd69da7aa939265e07
(cherry picked from commit 5a16a62950de06d48769e29f0c68a154ed7a7a89)

9 years agoFix libgui tests.
Michael Lentine [Tue, 19 May 2015 22:23:43 +0000 (15:23 -0700)]
Fix libgui tests.

Update IGraphicsBufferProducerTest to the new maximum enum value which is now
NATIVE_WINDOW_BUFFER_AGE. Update SurfaceTextureGLToGL_test to use the correct
counts for GraphicsBuffer refs.

Buf: 18138368

Change-Id: Ie2f7e00b414d63100b16944e3ab36b1ffceecd57
(cherry picked from commit d8ead0ccd4b700e43a78efe9b140d4a069dc343d)

9 years agofix BufferItem flatten/unflatten alignment
Chong Zhang [Fri, 22 May 2015 17:54:25 +0000 (10:54 -0700)]
fix BufferItem flatten/unflatten alignment

bug: 21370100
Change-Id: Ia3991dc591c176bdbd1d78d1804aa22777525b62
(cherry picked from commit 47f674dfeca31b29810ecb90f1277918b67c4cf8)

9 years agoRefactor ConsumerBase and it's derived classes.
Michael Lentine [Mon, 18 May 2015 20:41:23 +0000 (13:41 -0700)]
Refactor ConsumerBase and it's derived classes.

Move setDefaultBufferSize, setDefaultBufferFormat, and
setDefaultBufferDataSpace into ConsumerBase and remove them from
CpuConsumer and BufferItemConsumer.

Bug: 19977701

Change-Id: Ic68992464c5da6da7a41c4063a53029a69efcd1b
(cherry picked from commit 847f11e215e86b107ab50c1359fc7bc3cd7a3a11)

9 years agoAdd ConsumerBase::isAbandoned
John Reck [Thu, 14 May 2015 22:55:11 +0000 (15:55 -0700)]
Add ConsumerBase::isAbandoned

Bug: 20105644
Change-Id: I21526b5397ea51a15500c44a99daa9d75fc4ea67
(cherry picked from commit e478305181bb8dc8706361bc702256fe73f958de)

9 years agoam 867dc18e: am 9405746d: Merge "Rename --include-cfi to --generate-debug-info."
David Srbecky [Thu, 28 May 2015 20:16:49 +0000 (20:16 +0000)]
am 867dc18e: am 9405746d: Merge "Rename --include-cfi to --generate-debug-info."

* commit '867dc18e6f48c56cb7fd545c3d2e96c6abb9895b':
  Rename --include-cfi to --generate-debug-info.

9 years agoam 9405746d: Merge "Rename --include-cfi to --generate-debug-info."
David Srbecky [Thu, 28 May 2015 18:53:21 +0000 (18:53 +0000)]
am 9405746d: Merge "Rename --include-cfi to --generate-debug-info."

* commit '9405746db73609d8c7bd30ceafbed2ebe468e4d3':
  Rename --include-cfi to --generate-debug-info.

9 years agoMerge "Rename --include-cfi to --generate-debug-info."
David Srbecky [Thu, 28 May 2015 18:37:35 +0000 (18:37 +0000)]
Merge "Rename --include-cfi to --generate-debug-info."

9 years agoam f008799d: SF: Skip render-to-texture for color transforms
Dan Stoza [Thu, 28 May 2015 18:26:40 +0000 (18:26 +0000)]
am f008799d: SF: Skip render-to-texture for color transforms

* commit 'f008799d3753e52c10849824ff8146985ea66284':
  SF: Skip render-to-texture for color transforms

9 years agoRename --include-cfi to --generate-debug-info.
David Srbecky [Thu, 28 May 2015 15:55:50 +0000 (16:55 +0100)]
Rename --include-cfi to --generate-debug-info.

This follows a change in dex2oat.

Change-Id: I6b2df1668fdd09d82cfe86e6e51360b954b6c8a9

9 years agoam e35e6080: am 738fc3a7: Merge "framework/native/docs: remove doc footer for jd...
Johan Euphrosine [Wed, 27 May 2015 23:14:38 +0000 (23:14 +0000)]
am e35e6080: am 738fc3a7: Merge "framework/native/docs: remove doc footer for jd output"

* commit 'e35e60801560a757deb708e6ca47b962202dcc0b':
  framework/native/docs: remove doc footer for jd output

9 years agoam 738fc3a7: Merge "framework/native/docs: remove doc footer for jd output"
Johan Euphrosine [Wed, 27 May 2015 21:41:20 +0000 (21:41 +0000)]
am 738fc3a7: Merge "framework/native/docs: remove doc footer for jd output"

* commit '738fc3a722cc2c753b591298e70b0f86c481bba2':
  framework/native/docs: remove doc footer for jd output

9 years agoMerge "framework/native/docs: remove doc footer for jd output"
Johan Euphrosine [Wed, 27 May 2015 21:30:37 +0000 (21:30 +0000)]
Merge "framework/native/docs: remove doc footer for jd output"

9 years agoSF: Skip render-to-texture for color transforms
Dan Stoza [Mon, 20 Oct 2014 22:46:09 +0000 (15:46 -0700)]
SF: Skip render-to-texture for color transforms

In cases where SurfaceFlinger is applying a color matrix (usually for
accessibility features), we previously would perform a render-to-
texture for the initial composition, and then apply the matrix during
a copy to the framebuffer. This changes that behavior to just apply the
matrix during composition without a render-to-texture pass.

This may result in a perceived change of the image in cases with alpha
blending, since the blending is performed at a different stage of the
pipeline and the system effectively performs non-linear blends.
However, neither this nor the prior render-to-texture pass is strictly
correct in that regard, and this approach is less error-prone and
likely faster.

Change-Id: I2110ff0374f61d76df7b087dde8a1ed98990440c

9 years agoam 7fc3ef0e: Merge "Add hotplug support for primary display." into mnc-dev
Michael Lentine [Wed, 27 May 2015 20:24:54 +0000 (20:24 +0000)]
am 7fc3ef0e: Merge "Add hotplug support for primary display." into mnc-dev

* commit '7fc3ef0eb0077eedaa09a7b505b6ec067e814170':
  Add hotplug support for primary display.

9 years agoam 0e65e6c2: libgui: Fix surface damage on rotated buffers
Dan Stoza [Wed, 27 May 2015 17:42:35 +0000 (17:42 +0000)]
am 0e65e6c2: libgui: Fix surface damage on rotated buffers

* commit '0e65e6c283c96d514c5ecefbb46a976939cfa64a':
  libgui: Fix surface damage on rotated buffers

9 years agoMerge "Add hotplug support for primary display." into mnc-dev
Michael Lentine [Wed, 27 May 2015 17:39:55 +0000 (17:39 +0000)]
Merge "Add hotplug support for primary display." into mnc-dev

9 years agoframework/native/docs: remove doc footer for jd output
Johan Euphrosine [Wed, 27 May 2015 17:13:35 +0000 (10:13 -0700)]
framework/native/docs: remove doc footer for jd output

Change-Id: Ib65a436f4846eb5c02e42c6f1cbda5eab58c68ab

9 years agolibgui: Fix surface damage on rotated buffers
Dan Stoza [Tue, 26 May 2015 20:22:27 +0000 (13:22 -0700)]
libgui: Fix surface damage on rotated buffers

Flips the width and height when the buffer comes in with a 90 degree
rotation so that performing the Y-flip from GL works correctly.

Bug: 20761426
Change-Id: I41c9edc8549c6cbdb534277b996ff20c59034582

9 years agoam f9c83b8f: am 116e7aeb: Merge "frameworks/native/docs: add doxygen configuration"
Johan Euphrosine [Fri, 22 May 2015 22:51:42 +0000 (22:51 +0000)]
am f9c83b8f: am 116e7aeb: Merge "frameworks/native/docs: add doxygen configuration"

* commit 'f9c83b8f889cb3409d60bdfce71d8c6a8ad39941':
  frameworks/native/docs: add doxygen configuration

9 years agoam 116e7aeb: Merge "frameworks/native/docs: add doxygen configuration"
Johan Euphrosine [Fri, 22 May 2015 22:37:05 +0000 (22:37 +0000)]
am 116e7aeb: Merge "frameworks/native/docs: add doxygen configuration"

* commit '116e7aebb68bb0394eb12092db8282981012784e':
  frameworks/native/docs: add doxygen configuration

9 years agoMerge "frameworks/native/docs: add doxygen configuration"
Johan Euphrosine [Fri, 22 May 2015 22:28:24 +0000 (22:28 +0000)]
Merge "frameworks/native/docs: add doxygen configuration"

9 years agoam 20828e63: Merge "Fix surfaceflinger tests." into mnc-dev
Michael Lentine [Fri, 22 May 2015 22:09:01 +0000 (22:09 +0000)]
am 20828e63: Merge "Fix surfaceflinger tests." into mnc-dev

* commit '20828e633dd929b87c0297dadcdebb867f2b41d4':
  Fix surfaceflinger tests.

9 years agoam 01f9e920: Merge "Fix libgui tests." into mnc-dev
Michael Lentine [Fri, 22 May 2015 22:09:00 +0000 (22:09 +0000)]
am 01f9e920: Merge "Fix libgui tests." into mnc-dev

* commit '01f9e920b093c6414b32434cdd6efda7fe578ca5':
  Fix libgui tests.

9 years agoFix EGL shim extension injection for GL ES 3 drivers.
Alistair Strachan [Fri, 22 May 2015 21:10:09 +0000 (14:10 -0700)]
Fix EGL shim extension injection for GL ES 3 drivers.

The Android EGL shim injects GL_EXT_debug_marker into the ES driver
EXTENSIONS string for the OpenGL ES 1.x and 2.0/3.0/3.1 drivers if
the extension is not already provided. This feature is used by
GLES_trace.

In Open GL ES 3.0 it became possible to query an indexed version of
the EXTENSIONS string via GetStringi(). NUM_EXTENSIONS Gets were
also added to the specification (taken from Open GL).

If the shim does not have to inject the extension, then there is no
problem, as glGetString() and glGetStringi() / NUM_EXTENSIONS will
be consistent. However, if the Android EGL shim injects the
extension, NUM_EXTENSIONS and GetStringi() will report one less
extension than is really available.

Consistency between these methods is tested by the dEQP framework
with the dEQP-GLES3.functional.state_query.string.extensions test.
If the driver does not provide GL_EXT_debug_marker, this test
fails.

This change wraps all of the affected entry points so that the
wrapped driver extensions are never visible directly to dEQP,
eliminating the inconsistency.

9 years agoMerge "Fix surfaceflinger tests." into mnc-dev
Michael Lentine [Fri, 22 May 2015 20:16:10 +0000 (20:16 +0000)]
Merge "Fix surfaceflinger tests." into mnc-dev

9 years agoMerge "Fix libgui tests." into mnc-dev
Michael Lentine [Fri, 22 May 2015 20:16:01 +0000 (20:16 +0000)]
Merge "Fix libgui tests." into mnc-dev

9 years agoAdd hotplug support for primary display.
Michael Lentine [Wed, 13 May 2015 01:04:26 +0000 (18:04 -0700)]
Add hotplug support for primary display.

When the primary is connected/disconnected on tv devices HWComposer updates
it's display parameters but doesn't destroy or recreate the display.

Bug: 18698244

Change-Id: I759c8f75d3e3a7462b85eb51973fb5072b71a702

9 years agoFix surfaceflinger tests.
Michael Lentine [Thu, 21 May 2015 20:48:24 +0000 (13:48 -0700)]
Fix surfaceflinger tests.

Update the screenshot code and add correct return values to surface flinger's
capturescreenshot function.

Buf: 18138368

Change-Id: Ieb42d289088589f941502fbd69da7aa939265e07

9 years agoFix libgui tests.
Michael Lentine [Tue, 19 May 2015 22:23:43 +0000 (15:23 -0700)]
Fix libgui tests.

Update IGraphicsBufferProducerTest to the new maximum enum value which is now
NATIVE_WINDOW_BUFFER_AGE. Update SurfaceTextureGLToGL_test to use the correct
counts for GraphicsBuffer refs.

Buf: 18138368

Change-Id: Ie2f7e00b414d63100b16944e3ab36b1ffceecd57

9 years agoam 041b945e: Merge "fix BufferItem flatten/unflatten alignment" into mnc-dev
Chong Zhang [Fri, 22 May 2015 19:28:01 +0000 (19:28 +0000)]
am 041b945e: Merge "fix BufferItem flatten/unflatten alignment" into mnc-dev

* commit '041b945e07168712fd4d2fec06f76aeaeaa5fc9e':
  fix BufferItem flatten/unflatten alignment

9 years agoMerge "fix BufferItem flatten/unflatten alignment" into mnc-dev
Chong Zhang [Fri, 22 May 2015 19:04:05 +0000 (19:04 +0000)]
Merge "fix BufferItem flatten/unflatten alignment" into mnc-dev

9 years agofix BufferItem flatten/unflatten alignment
Chong Zhang [Fri, 22 May 2015 17:54:25 +0000 (10:54 -0700)]
fix BufferItem flatten/unflatten alignment

bug: 21370100
Change-Id: Ia3991dc591c176bdbd1d78d1804aa22777525b62

9 years agoframeworks/native/docs: add doxygen configuration
Johan Euphrosine [Thu, 21 May 2015 08:15:34 +0000 (01:15 -0700)]
frameworks/native/docs: add doxygen configuration

Change-Id: I7803d9beceac46488869e4874f6f5f7a7925a796

9 years agoMerge commit '217a04ba' into manualmerge
Adam Lesinski [Mon, 18 May 2015 22:19:30 +0000 (15:19 -0700)]
Merge commit '217a04ba' into manualmerge

Change-Id: I526cf2be7949fa52ce0f70f9a1f671669140679a

9 years agoam 699a32bc: Merge "Refactor ConsumerBase and it\'s derived classes." into mnc-dev
Michael Lentine [Mon, 18 May 2015 21:52:49 +0000 (21:52 +0000)]
am 699a32bc: Merge "Refactor ConsumerBase and it\'s derived classes." into mnc-dev

* commit '699a32bcdfaf0390a269a275b979d46ca815654a':
  Refactor ConsumerBase and it's derived classes.

9 years agoMerge "Adding round qualifier constant to native API." into mnc-dev
Adam Powell [Mon, 18 May 2015 21:30:15 +0000 (21:30 +0000)]
Merge "Adding round qualifier constant to native API." into mnc-dev

9 years agoMerge "Refactor ConsumerBase and it's derived classes." into mnc-dev
Michael Lentine [Mon, 18 May 2015 21:29:39 +0000 (21:29 +0000)]
Merge "Refactor ConsumerBase and it's derived classes." into mnc-dev

9 years agoRefactor ConsumerBase and it's derived classes.
Michael Lentine [Mon, 18 May 2015 20:41:23 +0000 (13:41 -0700)]
Refactor ConsumerBase and it's derived classes.

Move setDefaultBufferSize, setDefaultBufferFormat, and
setDefaultBufferDataSpace into ConsumerBase and remove them from
CpuConsumer and BufferItemConsumer.

Bug: 19977701

Change-Id: Ic68992464c5da6da7a41c4063a53029a69efcd1b

9 years agoam bfb1f1cc: Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native.
Elliott Hughes [Sat, 16 May 2015 00:49:44 +0000 (00:49 +0000)]
am bfb1f1cc: Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native.

* commit 'bfb1f1cc832840b7232c25a91d49eb39aa79687f':
  Don't use TEMP_FAILURE_RETRY on close in frameworks/native.

9 years agoam b8e6cb08: am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks...
Elliott Hughes [Sat, 16 May 2015 00:43:19 +0000 (00:43 +0000)]
am b8e6cb08: am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."

* commit 'b8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8':
  Don't use TEMP_FAILURE_RETRY on close in frameworks/native.

9 years agoam e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."
Elliott Hughes [Sat, 16 May 2015 00:35:35 +0000 (00:35 +0000)]
am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."

* commit 'e814b43c581b16e144328c405a003ffece9ebf4d':
  Don't use TEMP_FAILURE_RETRY on close in frameworks/native.

9 years agoDon't use TEMP_FAILURE_RETRY on close in frameworks/native.
Elliott Hughes [Sat, 16 May 2015 00:05:40 +0000 (17:05 -0700)]
Don't use TEMP_FAILURE_RETRY on close in frameworks/native.

Bug: http://b/20501816
Change-Id: Id13a62f02243c6c4831e2f47944dc34fa822f5b6
(cherry picked from commit 997abb668b9248c2174c6cf169a0b7c6a02fd2cb)

9 years agoMerge "Don't use TEMP_FAILURE_RETRY on close in frameworks/native."
Elliott Hughes [Sat, 16 May 2015 00:26:09 +0000 (00:26 +0000)]
Merge "Don't use TEMP_FAILURE_RETRY on close in frameworks/native."

9 years agoDon't use TEMP_FAILURE_RETRY on close in frameworks/native.
Elliott Hughes [Sat, 16 May 2015 00:05:40 +0000 (17:05 -0700)]
Don't use TEMP_FAILURE_RETRY on close in frameworks/native.

Bug: http://b/20501816
Change-Id: Id13a62f02243c6c4831e2f47944dc34fa822f5b6

9 years agoAdding round qualifier constant to native API.
Adam Lesinski [Thu, 14 May 2015 21:28:32 +0000 (14:28 -0700)]
Adding round qualifier constant to native API.

Change-Id: I43e6c029412d0ed1d345c16fdce90e2879c52a8e

9 years agoam 2c237ee1: Fix async_stop
John Reck [Fri, 15 May 2015 20:11:14 +0000 (20:11 +0000)]
am 2c237ee1: Fix async_stop

* commit '2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2':
  Fix async_stop

9 years agoFix async_stop
John Reck [Fri, 15 May 2015 17:00:34 +0000 (10:00 -0700)]
Fix async_stop

Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41

9 years agoam 3db36803: Merge "Add ConsumerBase::isAbandoned" into mnc-dev
John Reck [Thu, 14 May 2015 23:54:51 +0000 (23:54 +0000)]
am 3db36803: Merge "Add ConsumerBase::isAbandoned" into mnc-dev

* commit '3db36803b247bfbb582632be58416a0a11d1227b':
  Add ConsumerBase::isAbandoned

9 years agoMerge "Add ConsumerBase::isAbandoned" into mnc-dev
John Reck [Thu, 14 May 2015 23:27:45 +0000 (23:27 +0000)]
Merge "Add ConsumerBase::isAbandoned" into mnc-dev

9 years agoAdd ConsumerBase::isAbandoned
John Reck [Thu, 14 May 2015 22:55:11 +0000 (15:55 -0700)]
Add ConsumerBase::isAbandoned

Bug: 20105644
Change-Id: I21526b5397ea51a15500c44a99daa9d75fc4ea67

9 years agoam 47948791: Merge "SurfaceFlinger: Handle EGL errors more cleanly" into mnc-dev
Dan Stoza [Thu, 14 May 2015 19:30:37 +0000 (19:30 +0000)]
am 47948791: Merge "SurfaceFlinger: Handle EGL errors more cleanly" into mnc-dev

* commit '47948791864ccaecac21d94c30a428b549247b67':
  SurfaceFlinger: Handle EGL errors more cleanly

9 years agoam 51c8c502: Merge "Modify EGL to disconnect the window when the surface gets destroy...
Michael Lentine [Thu, 14 May 2015 19:30:13 +0000 (19:30 +0000)]
am 51c8c502: Merge "Modify EGL to disconnect the window when the surface gets destroyed." into mnc-dev

* commit '51c8c502f63624af8090fe42477b95791faec2c9':
  Modify EGL to disconnect the window when the surface gets destroyed.

9 years agoam 7c000280: Merge changes from topic \'button_actions\' into mnc-dev
Michael Wright [Thu, 14 May 2015 19:29:01 +0000 (19:29 +0000)]
am 7c000280: Merge changes from topic \'button_actions\' into mnc-dev

* commit '7c000280a57f352c2485dcaea1d5bfe20f7bfe63':
  Fix input tests to work with new MotionEvent member
  Revert "Revert "Add new MotionEvent actions for button press and release.""

9 years agoam c921ce26: Merge "Revert "Add new MotionEvent actions for button press and release...
Michael Wright [Thu, 14 May 2015 19:28:18 +0000 (19:28 +0000)]
am c921ce26: Merge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev

* commit 'c921ce268155e8e1d75bd423514bb5a3ee363440':
  Revert "Add new MotionEvent actions for button press and release."

9 years agoam f27e6681: Merge "Add new MotionEvent actions for button press and release." into...
Michael Wright [Thu, 14 May 2015 19:28:10 +0000 (19:28 +0000)]
am f27e6681: Merge "Add new MotionEvent actions for button press and release." into mnc-dev

* commit 'f27e6681048f3ee7a589ab824a1041667ff838e0':
  Add new MotionEvent actions for button press and release.

9 years agoam 81103f12: am 553cbb25: Merge "SurfaceFlinger: Handle EGL errors more cleanly"
Dan Stoza [Thu, 14 May 2015 18:19:03 +0000 (18:19 +0000)]
am 81103f12: am 553cbb25: Merge "SurfaceFlinger: Handle EGL errors more cleanly"

* commit '81103f128d651d705c90b3ab9fe55bff674320ef':
  SurfaceFlinger: Handle EGL errors more cleanly

9 years agoam 553cbb25: Merge "SurfaceFlinger: Handle EGL errors more cleanly"
Dan Stoza [Thu, 14 May 2015 18:06:55 +0000 (18:06 +0000)]
am 553cbb25: Merge "SurfaceFlinger: Handle EGL errors more cleanly"

* commit '553cbb254478e7875aa3e4a95838b1811095e328':
  SurfaceFlinger: Handle EGL errors more cleanly

9 years agoMerge "SurfaceFlinger: Handle EGL errors more cleanly"
Dan Stoza [Thu, 14 May 2015 17:56:27 +0000 (17:56 +0000)]
Merge "SurfaceFlinger: Handle EGL errors more cleanly"

9 years agoSurfaceFlinger: Handle EGL errors more cleanly
Dan Stoza [Thu, 14 May 2015 16:27:25 +0000 (09:27 -0700)]
SurfaceFlinger: Handle EGL errors more cleanly

Adds some more safety checking for cases where we get an error while
trying to create the EGLImage. The checking puts the Layer into a
failed state after detecting an error, since the shadow queue may no
longer be synchronized.

Bug: 20957332
Change-Id: I68b4c40eab3e58731b875ed5752f2c7d17f14bcb
(cherry picked from commit 65476f3332641066a99e22338bf5cf49ce4af642)

9 years agoMerge "SurfaceFlinger: Handle EGL errors more cleanly" into mnc-dev
Dan Stoza [Thu, 14 May 2015 17:42:20 +0000 (17:42 +0000)]
Merge "SurfaceFlinger: Handle EGL errors more cleanly" into mnc-dev

9 years agoSurfaceFlinger: Handle EGL errors more cleanly
Dan Stoza [Thu, 14 May 2015 16:27:25 +0000 (09:27 -0700)]
SurfaceFlinger: Handle EGL errors more cleanly

Adds some more safety checking for cases where we get an error while
trying to create the EGLImage. The checking puts the Layer into a
failed state after detecting an error, since the shadow queue may no
longer be synchronized.

Bug: 20957332
Change-Id: I68b4c40eab3e58731b875ed5752f2c7d17f14bcb

9 years agoMerge "Modify EGL to disconnect the window when the surface gets destroyed." into...
Michael Lentine [Thu, 14 May 2015 16:39:27 +0000 (16:39 +0000)]
Merge "Modify EGL to disconnect the window when the surface gets destroyed." into mnc-dev

9 years agoMerge changes from topic 'button_actions' into mnc-dev
Michael Wright [Thu, 14 May 2015 15:31:10 +0000 (15:31 +0000)]
Merge changes from topic 'button_actions' into mnc-dev

* changes:
  Fix input tests to work with new MotionEvent member
  Revert "Revert "Add new MotionEvent actions for button press and release.""

9 years agoFix input tests to work with new MotionEvent member
Michael Wright [Thu, 14 May 2015 15:29:13 +0000 (16:29 +0100)]
Fix input tests to work with new MotionEvent member

Change-Id: I0dde0f91f693903f26edc116b5dbcbf33bac2b93

9 years agoRevert "Revert "Add new MotionEvent actions for button press and release.""
Michael Wright [Thu, 14 May 2015 13:48:03 +0000 (14:48 +0100)]
Revert "Revert "Add new MotionEvent actions for button press and release.""

This reverts commit 70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3.

9 years agoMerge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev
Michael Wright [Thu, 14 May 2015 13:47:07 +0000 (13:47 +0000)]
Merge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev

9 years agoRevert "Add new MotionEvent actions for button press and release."
Michael Wright [Thu, 14 May 2015 13:46:17 +0000 (14:46 +0100)]
Revert "Add new MotionEvent actions for button press and release."

This reverts commit 48a8a0e4322969e1551536d6183af3a1faa2240b.

9 years agoMerge "Add new MotionEvent actions for button press and release." into mnc-dev
Michael Wright [Thu, 14 May 2015 13:31:24 +0000 (13:31 +0000)]
Merge "Add new MotionEvent actions for button press and release." into mnc-dev

9 years agoAdd new MotionEvent actions for button press and release.
Michael Wright [Mon, 11 May 2015 18:52:27 +0000 (19:52 +0100)]
Add new MotionEvent actions for button press and release.

Introduce ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE as actions to
signal a button press or release. If these actions happen
simulanteously with a DOWN or UP event then they're explicitly
ordered to happen after the DOWN or preceding the UP in order to send
them to the most recently targeted view.

Also, introduce new stylus button constants that differ from the
constants we use for mouse buttons.

Bug: 20704355
Change-Id: Ib960a5004db5429ad2fc8db020704773e2978327

9 years agoam d94d0d00: am 9188b4bb: Merge "Replace JNI primitive array critical calls with...
Hiroshi Yamauchi [Wed, 13 May 2015 23:38:07 +0000 (23:38 +0000)]
am d94d0d00: am 9188b4bb: Merge "Replace JNI primitive array critical calls with non-critical ones."

* commit 'd94d0d001723d66f7cc56afa97cb1f9e270a3520':
  Replace JNI primitive array critical calls with non-critical ones.

9 years agoam 9188b4bb: Merge "Replace JNI primitive array critical calls with non-critical...
Hiroshi Yamauchi [Wed, 13 May 2015 22:59:45 +0000 (22:59 +0000)]
am 9188b4bb: Merge "Replace JNI primitive array critical calls with non-critical ones."

* commit '9188b4bb5d44c219face5a4c1c681700cc838294':
  Replace JNI primitive array critical calls with non-critical ones.

9 years agoMerge "Replace JNI primitive array critical calls with non-critical ones."
Hiroshi Yamauchi [Wed, 13 May 2015 22:47:42 +0000 (22:47 +0000)]
Merge "Replace JNI primitive array critical calls with non-critical ones."

9 years agoModify EGL to disconnect the window when the surface gets destroyed.
Michael Lentine [Wed, 23 Jul 2014 17:19:41 +0000 (10:19 -0700)]
Modify EGL to disconnect the window when the surface gets destroyed.

Bug: 14445579

Change-Id: I1d263ff6cffcb6e448761fca7ca4b06466ad65aa

9 years agoam af3a3778: Merge "Switch libGLESv1_CM/libGLESv2 to hash-style=both" into mnc-dev
Dmitriy Ivanov [Wed, 13 May 2015 22:34:48 +0000 (22:34 +0000)]
am af3a3778: Merge "Switch libGLESv1_CM/libGLESv2 to hash-style=both" into mnc-dev

* commit 'af3a3778c2c17a8064da599bcabb7d141f59f9af':
  Switch libGLESv1_CM/libGLESv2 to hash-style=both

9 years agoMerge "Switch libGLESv1_CM/libGLESv2 to hash-style=both" into mnc-dev
Dmitriy Ivanov [Wed, 13 May 2015 22:11:17 +0000 (22:11 +0000)]
Merge "Switch libGLESv1_CM/libGLESv2 to hash-style=both" into mnc-dev

9 years agoSwitch libGLESv1_CM/libGLESv2 to hash-style=both
Dmitriy Ivanov [Wed, 13 May 2015 22:05:07 +0000 (15:05 -0700)]
Switch libGLESv1_CM/libGLESv2 to hash-style=both

  Old version of unity uses custom linker to link
  itself and libmono. The custom linker does not
  support lookups with gnu-hash style. Switching
  libraries needed by libunity.so to --hash-style=both
  fixes this problem.

Bug: http://b/20093774
Change-Id: I2a4887cf7a5ee80a8976ecaad54b52dc62518e55

9 years agoReplace JNI primitive array critical calls with non-critical ones.
Hiroshi Yamauchi [Wed, 13 May 2015 20:11:30 +0000 (13:11 -0700)]
Replace JNI primitive array critical calls with non-critical ones.

The glgen part.

(cherry pick commit 4e7de461c18278a31be83e7c9074a02fbb6e9475)

Bug: 19235243
Change-Id: I0d1e78acf39feb37a67e857216a6d52f4cede180