| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
|
|\ \
| | |
| | |
| | | |
receiving new commands until the timer expired. This change will expire the timer immediatly."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previous a slow app would block from receiving new
commands until the timer expired. This change will
expire the timer immediatly.
Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #5136067
Change-Id: I366e840bef44415436dc7b13d89cfb610feed663
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we would leak a weakref_impl if a RefBase was never incWeak()'ed.
there was also a dangling pointer that would cause memory corruption
and double-delete when a custom destroyer was used to delay the
execution of ~RefBase.
it turns out that the custom destroyer feature caused most of the
problems, so it's now gone. The only client was SurfaceFlinger
who now handles things on its own.
RefBase is essentially back its "gingerbread" state, but the
code was slightly cleaned-up.
Bug: 5151207, 5084978
Change-Id: Id6ef1d707f96d96366f75068f77b30e0ce2722a5
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| | |
Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit a04cda9986366ab480ad8008c4d923271b05d78e.
Conflicts:
include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp
Change-Id: Ib655016462c496ee2a27f7cb33a6e8b18cfe684a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes an issue where the Surface readFromParcel code was leaving
unread parcel data in the case where the Surface was re-used from the
sCachedSurfaces cache. On a cache miss the code is creating a new
Surface from the remainder of the parcel data. On a hit that data was
being left unread, so anything that parcels a Surface followed by
additional arguments may end up reading the wrong values.
Change-Id: I25365159d945c125bd1fcc9f17e39a4f00aece55
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we now make sure to drain the buffer queue on disconnect.
this happens only when in synchrnous mode. in async mode
we clear all buffers except the head of the queue.
for extra safety we also catch the null pointer
in updateTexImage (which should never happen) and return
an error.
Bug: 5111008
Change-Id: I5174a6ecbb0de641c6510ef56a611cbb4e9e1f59
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this simplifies the code a bit and also makes sure
we reevaluate mAbandoned and mConnectedApi each time
we come back from waiting on mDequeueCondition
Change-Id: I1f8538b62ad321b51ed79d953b700036daba796d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- also log a warning when freeAllBuffers is called with a non empty buffer queue
- rename freeAllBuffers to freeAllBuffersLocked
Change-Id: Idb71fdcf233b9ccae62d5a2a7c3c4bad2501d877
|
| | |
| | |
| | |
| | |
| | | |
Bug: 5141729
Change-Id: Ib104d49c8660621180966be099198fe29c5bebf5
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
free all buffers when ANativeWindow::disconnect is called
return correct value from query after connecting a surface
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie06e73e5b44398cda9e99876f78175b5eef765dc
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the first time a surface was connected, the values returned
by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and
NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call
to queueBuffer was performed.
Bug: 5137366, 5121607
Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ia7dd82f890775045e543963d64e6dcd3ea4db825
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
we now output the handle and size of all buffers of each layer.
Change-Id: I8d011ee4ae9199f4198bd07bed770ec3bcf02986
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| | |
Bug: 5111008
Change-Id: I3e7f5b986151e80cbded39e0dec057770da52fc1
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
BUG=3497315
Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
|
| |
| |
| |
| | |
Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2c15106f50de995c63691f27e2c4d89dbffc758e
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Bug #5133876
Change-Id: I3d1fa4e29498044796d725337ac93e6a1e8f0bcb
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
The API are hidden.
bug:5086073
Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
|
| | |
| | |
| | |
| | |
| | | |
Bug: 5063618
Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #5112207
Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
|
| | |
| | |
| | |
| | |
| | | |
bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The API is still hidden.
bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename bccPrepareExecutableEx to bccPrepareExecutable.
(These functions are the same, and we will remove
bccPrepareExecutableEx several commits later.)
Change-Id: I519130bb3b731bf927cb92924f355d7d1ea0242c
|