Commit Graph

48132 Commits

Author SHA1 Message Date
Nick Kralevich
f38b7c16f6 am 98ca63e6: am 22641851: Merge "dumpstate: use correct header file."
* commit '98ca63e6d15e47a9b62971f0db6424c13c226019':
  dumpstate: use correct header file.
2013-03-01 18:12:05 +00:00
Nick Kralevich
98ca63e6d1 am 22641851: Merge "dumpstate: use correct header file."
* commit '22641851c48fee6e79d01adcfab01c0b625cfb3c':
  dumpstate: use correct header file.
2013-03-01 18:05:56 +00:00
Nick Kralevich
ec87d2e912 am 5ec3e781: Merge "installd: use correct header file." into jb-mr2-dev
* commit '5ec3e781c540d660a921a48575e241ae6839a26f':
  installd: use correct header file.
2013-03-01 17:49:47 +00:00
Nick Kralevich
5ec3e781c5 Merge "installd: use correct header file." into jb-mr2-dev 2013-03-01 17:42:32 +00:00
Nick Kralevich
22641851c4 Merge "dumpstate: use correct header file." 2013-03-01 16:39:58 +00:00
Eino-Ville Talvala
19483dacfd am eb0d1296: CpuConsumer: Add optional asynchronous mode
* commit 'eb0d12963d271052c24abb025d698504df9e7573':
  CpuConsumer: Add optional asynchronous mode
2013-03-01 01:53:30 +00:00
Eino-Ville Talvala
12a6311c92 am 64d8b190: CpuConsumer: Don\'t unlock buffers on producer disconnect
* commit '64d8b1903e4b5f2838818eedcf4fef748b38709c':
  CpuConsumer: Don't unlock buffers on producer disconnect
2013-03-01 01:53:30 +00:00
Nick Kralevich
d747129e1e installd: use correct header file.
This is a port of https://android-review.googlesource.com/52540 ,
which doesn't apply cleanly to master.

Change-Id: I2824bb7afd4e343b5dc8bed9f24002ec1dcbf07f
2013-02-28 16:59:13 -08:00
Nick Kralevich
e96b2d0037 dumpstate: use correct header file.
Change-Id: I006d7a219ce6309259f271beff6011cc266f1a61
2013-02-28 16:46:22 -08:00
Eino-Ville Talvala
eb0d12963d CpuConsumer: Add optional asynchronous mode
Bug: 8290146
Bug: 8291751

Change-Id: I9c8ac4bff38b0411e987a204e540d018dba6d0b4
2013-02-28 15:51:24 -08:00
Jesse Hall
21684fc76d am a9a1b006: Initialize DisplayData fences to NO_FENCE, not NULL
* commit 'a9a1b006e48320f5c501473e51e6c4a5f7a17b88':
  Initialize DisplayData fences to NO_FENCE, not NULL
2013-02-28 22:37:49 +00:00
Eino-Ville Talvala
64d8b1903e CpuConsumer: Don't unlock buffers on producer disconnect
Bug: 8291751

Change-Id: I062a3d34b41183d07fb6b9109cdb6bf0c0c75672
2013-02-28 14:20:28 -08:00
Chris Craik
ab555cdd5e am 3e010f31: Add createTJunctionFreeRegion
* commit '3e010f3138593cc6953039ee0e3db8ee31881296':
  Add createTJunctionFreeRegion
2013-02-28 22:16:33 +00:00
Jesse Hall
a9a1b006e4 Initialize DisplayData fences to NO_FENCE, not NULL
Also fix another place that was checking for NULL fence rather than
Fence::isValid().

Bug 8283950

Change-Id: Ie06db327eb416828d8dac139171d96d4470b2e35
2013-02-27 16:48:41 -08:00
Chris Craik
3e010f3138 Add createTJunctionFreeRegion
T-junction free regions are useful for rendering regions with various
geometric transformations, and the Region's span-ordered, sorted rect
list supports T-junction free storage without modification.

This approach creates a T-junction free region by splitting each
rectangle that is part of a vertical T-junction. This approach is two
pass (up and down) so that divisions can trickle up/down to other
adjacent spans.

Change-Id: Ifcf5e6fe0034c96b00ef09a4433b2b0fce8f4300
2013-02-27 11:13:03 -08:00
Igor Murashkin
3b8d0de22a am 68a029ed: Merge "GraphicBuffer.h: Remove redundant friend class declaration causing warnings" into jb-mr2-dev
* commit '68a029edbbd162f2ca783733df37a44d5082ddee':
  GraphicBuffer.h: Remove redundant friend class declaration causing warnings
2013-02-27 00:49:18 +00:00
Igor Murashkin
68a029edbb Merge "GraphicBuffer.h: Remove redundant friend class declaration causing warnings" into jb-mr2-dev 2013-02-27 00:43:20 +00:00
Igor Murashkin
89592bbede GraphicBuffer.h: Remove redundant friend class declaration causing warnings
Change-Id: I8a4b0e0b4d0a1cf472de820553c31f2d42044543
2013-02-26 14:23:11 -08:00
Mathias Agopian
09b708b2ba am 30055f1e: Merge "Added a test that checks the error behavior of ConsumerBase::abandon" into jb-mr2-dev
* commit '30055f1e96f5a04c6ff5fc7f7d5812fca38c2759':
  Added a test that checks the error behavior of ConsumerBase::abandon
2013-02-26 00:58:18 +00:00
Mathias Agopian
5e3420d969 am d6f549f9: Merge "add some missing parameter validation in GLES java bindings" into jb-mr2-dev
* commit 'd6f549f92541d8ab947fe35e3b3c21133eed2a6f':
  add some missing parameter validation in GLES java bindings
2013-02-26 00:58:17 +00:00
Mathias Agopian
30055f1e96 Merge "Added a test that checks the error behavior of ConsumerBase::abandon" into jb-mr2-dev 2013-02-26 00:53:28 +00:00
Mathias Agopian
d6f549f925 Merge "add some missing parameter validation in GLES java bindings" into jb-mr2-dev 2013-02-26 00:53:13 +00:00
Mathias Agopian
993e14fe10 Added a test that checks the error behavior of ConsumerBase::abandon
We check that calling eglSwapBuffers() on an abandonned BufferQueue
return EGL_BAD_SURFACE -- this is to ensure consistancy between
drivers.

Change-Id: Ibb548e0cf767ceee69f2fc4a85811d15a6522277
2013-02-25 16:51:31 -08:00
Mathias Agopian
bf13ba5e77 add some missing parameter validation in GLES java bindings
- added support for comments in checks.spec
- added most missing checks
- added and commented with // special-cased functions
- added and commented with # functions that are still missing validation checks
- moved glGet* to a special case and updated all the "pnames" from the khronos spec
- changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file
  and handle unknown pnames automatically (they'll be validated against 1 value, if
  it happens to need more, the call will go through but the validation will not
  happen).
- refactored the cpp headers in to a common header + GLES version specific
  header

Bug: 7402895
Change-Id: Ib5c68ca0ca416407b4cfa36e3a21901b2d6263ab
2013-02-25 16:50:51 -08:00
Jamie Gennis
6c6d1fd07b am 789a6c3f: SurfaceFlinger: fix a couple NULL fence checks
* commit '789a6c3f1dfe22a1ffea7f39b2098d7842cd1f30':
  SurfaceFlinger: fix a couple NULL fence checks
2013-02-25 23:40:36 +00:00
Jamie Gennis
789a6c3f1d SurfaceFlinger: fix a couple NULL fence checks
This change replaces checks for a NULL fence pointer with calls to
Fence::isValid.  There should no longer be NULL fences.

Change-Id: If17c9c132fcb1801531bf7588f8ba53476c57dad
2013-02-25 15:34:30 -08:00
Mathias Agopian
499905642c Merge "Added a test that checks the error behavior of ConsumerBase::abandon" 2013-02-25 22:52:01 +00:00
Mathias Agopian
871d6f2dfd Added a test that checks the error behavior of ConsumerBase::abandon
We check that calling eglSwapBuffers() on an abandonned BufferQueue
return EGL_BAD_ALLOC -- this is to ensure consistancy between
drivers.

Change-Id: If84b082bc6bdea21673b16e5e717658c78edf405
2013-02-25 13:45:08 -08:00
Mathias Agopian
006c792d99 add some missing parameter validation in GLES java bindings
- added support for comments in checks.spec
- added most missing checks
- added and commented with // special-cased functions
- added and commented with # functions that are still missing validation checks
- moved glGet* to a special case and updated all the "pnames" from the khronos spec
- changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file
  and handle unknown pnames automatically (they'll be validated against 1 value, if
  it happens to need more, the call will go through but the validation will not
  happen).
- refactored the cpp headers in to a common header + GLES version specific
  header

Bug: 7402895
Change-Id: Ie8fcc713188dd4819dfa55e5398e6b53ae9a14af
2013-02-25 13:28:06 -08:00
Jesse Hall
f5c7cb316c Merge changes Ic344ef63,If9bb02be,Ic8f94634
* changes:
  Symlink /system/lib/libGLESv3.so -> libGLESv2.so
  Add ES3 support to libGLESv2 and tracing tools
  Import OpenGL ES 3.0 headers from Khronos SVN
2013-02-24 00:18:56 +00:00
Jesse Hall
751402c866 Merge changes I45836219,I70a4075e
* changes:
  Regenerate API/trace files for constness change
  Import constness fix from gl3.h into gl2.h.
2013-02-23 04:56:32 +00:00
Mathias Agopian
0f589bedca Merge "sort the check file in alphabetical order" 2013-02-23 04:14:19 +00:00
Mathias Agopian
e22948d76d Merge "update glgen to take into account recent changes" 2013-02-23 04:13:57 +00:00
Mathias Agopian
1e602df420 sort the check file in alphabetical order
this simplifies a lot comparing it to the spec files.

Change-Id: I4b9b5e7469338a626100472d360ea26a902017bc
2013-02-22 20:09:52 -08:00
Mathias Agopian
54c2818abe update glgen to take into account recent changes
- it looks like UserId has been renamed to UserHandle in the
framework.
- also for some reason I don't understand glgen didn't seem
to be up to date with respect to the generated bindings in the tree.
It's like the bindings were generated with a more recent version of
glgen (maybe it was never checked in). So we fix that here.

Change-Id: Ie49522ebf67fcab9213246b4d93500e37a3cbc05
2013-02-22 20:04:22 -08:00
Dmitry Shmidt
5b8176471c Remove obsolte 'su' from 'ping' call (to work on user build)
Change-Id: I2d391bbd39fc591eef33b9c9e4b4cdbda29e41e7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-02-22 11:27:58 -08:00
Michael Wright
9a867a8798 Change SurfaceControl setPosition to take floats
Bug: 8153162
Change-Id: If3c4b7a3e124ace25999eb9a569dc9a806a1fbc2
2013-02-21 22:42:07 -08:00
Mathias Agopian
a7121cf44b Merge "get rid of Surface::getISurfaceTexture()" 2013-02-21 23:23:21 +00:00
Ed Heyl
b2b7356645 Merge remote-tracking branch 'goog/jb-mr2-release' 2013-02-20 13:47:29 -08:00
Mathias Agopian
cf0b8c85fb get rid of Surface::getISurfaceTexture()
this was there just for legacy reasons.

Change-Id: I0a48d6e04d7efa65033f9f10c91bba557f16ae8b
2013-02-19 18:24:40 -08:00
Eino-Ville Talvala
e88a85e0d0 Fixes to native app ops services
Bug: 8181262
Change-Id: I3d3f20453f6c6f2756c988363c5b5453ef309cb6
2013-02-19 18:10:05 -08:00
The Android Automerger
3359cc00bf merge in jb-mr2-release history after reset to master 2013-02-19 09:51:24 -08:00
Mathias Agopian
c4905eb49d fix build: SurfaceTextureClient to Surface rename
Change-Id: I0041e6f49bc637bc52161c83f0bd44101246f480
2013-02-15 16:34:04 -08:00
Mathias Agopian
f25c5086cf fix build: SurfaceTextureClient to Surface rename
Change-Id: I54d68241f1080eef640aefe71f33912ad79345ef
2013-02-15 14:59:09 -08:00
Mathias Agopian
b7daa0dade fix build: SurfaceTextureClient to Surface rename
Change-Id: Ibcf98337940f9195bcff7b5e8bddb6e912e65163
2013-02-15 14:48:52 -08:00
Mathias Agopian
e3c697fb92 Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
2013-02-14 19:19:05 -08:00
Mathias Agopian
82052cff2c Merge "remove access ANDROID_VIEW_SURFACE_JNI_ID" 2013-02-14 20:28:24 +00:00
Mathias Agopian
9a86704c22 Merge "get rid of Surface identity and token" 2013-02-14 20:24:37 +00:00
Elliott Hughes
bbb7322c36 am 45b0e435: Merge "Simplify OpenGL TLS access on ARM."
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '45b0e4350d3404bd194edc569e36ecca017c3d76':
  Simplify OpenGL TLS access on ARM.
2013-02-14 11:42:06 -08:00
Elliott Hughes
45b0e4350d Merge "Simplify OpenGL TLS access on ARM." 2013-02-14 18:31:20 +00:00