summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix to the memory leak problem."Alex Sakhartchouk2011-08-121-0/+16
|\
| * Fix to the memory leak problem.Alex Sakhartchouk2011-08-121-0/+16
| | | | | | | | Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
* | Merge "Fix the RS frame timeout. Previous a slow app would block from ↵Jason Sams2011-08-127-29/+67
|\ \ | | | | | | | | | receiving new commands until the timer expired. This change will expire the timer immediatly."
| * | Fix the RS frame timeout.Jason Sams2011-08-127-29/+67
| | | | | | | | | | | | | | | | | | | | | | | | Previous a slow app would block from receiving new commands until the timer expired. This change will expire the timer immediatly. Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
* | | Merge "Make sure we correctly copy caches keys. Bug #5136067"Romain Guy2011-08-125-71/+27
|\ \ \ | |/ / |/| |
| * | Make sure we correctly copy caches keys.Romain Guy2011-08-125-71/+27
| | | | | | | | | | | | | | | | | | Bug #5136067 Change-Id: I366e840bef44415436dc7b13d89cfb610feed663
* | | Merge "fix a memory leak and memory corruption in RefBase"Mathias Agopian2011-08-121-44/+39
|\ \ \ | |/ / |/| |
| * | fix a memory leak and memory corruption in RefBaseMathias Agopian2011-08-111-44/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Replacing sans serif system font with Roboto"Justin Ho2011-08-121-1/+1
|\ \ \ | |/ / |/| |
| * | Replacing sans serif system font with RobotoChristian Robertson2011-08-111-1/+1
| | | | | | | | | | | | Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
* | | Merge "Remove unnecessary private API"Romain Guy2011-08-112-8/+0
|\ \ \ | |/ / |/| |
| * | Remove unnecessary private APIRomain Guy2011-08-112-8/+0
| |/ | | | | | | Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
* | Revert "error out when SurfaceTexture APIs are called while not connected"Dave Burke2011-08-111-28/+0
| | | | | | | | | | | | | | | | | | | | | | This reverts commit a04cda9986366ab480ad8008c4d923271b05d78e. Conflicts: include/gui/SurfaceTexture.h libs/gui/SurfaceTexture.cpp Change-Id: Ib655016462c496ee2a27f7cb33a6e8b18cfe684a
* | Merge "Read leftover parcel data when a parceled Surface is found in the cache."Mathias Agopian2011-08-101-0/+5
|\ \
| * | Read leftover parcel data when a parceled Surface is found in the cache.Ted Bonkenburg2011-08-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | fix a crasher in SurfaceTexture::updateTexImage()Mathias Agopian2011-08-101-25/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | rework dequeueBuffer()'s main loop.Mathias Agopian2011-08-101-32/+34
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | error out when SurfaceTexture APIs are called while not connectedMathias Agopian2011-08-101-6/+36
| | | | | | | | | | | | | | | | | | | | | - also log a warning when freeAllBuffers is called with a non empty buffer queue - rename freeAllBuffers to freeAllBuffersLocked Change-Id: Idb71fdcf233b9ccae62d5a2a7c3c4bad2501d877
* | | fix a crasher in dumpsysMathias Agopian2011-08-091-4/+10
| | | | | | | | | | | | | | | Bug: 5141729 Change-Id: Ib104d49c8660621180966be099198fe29c5bebf5
* | | Merge changes Ie06e73e5,I7ac6b5b0Mathias Agopian2011-08-093-4/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: free all buffers when ANativeWindow::disconnect is called return correct value from query after connecting a surface
| * | | free all buffers when ANativeWindow::disconnect is calledMathias Agopian2011-08-081-0/+1
| | | | | | | | | | | | | | | | Change-Id: Ie06e73e5b44398cda9e99876f78175b5eef765dc
| * | | return correct value from query after connecting a surfaceMathias Agopian2011-08-083-4/+18
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "add renderscript doc comments for exposed headers"Alex Sakhartchouk2011-08-091-15/+98
|\ \ \
| * | | add renderscript doc comments for exposed headersAlex Sakhartchouk2011-08-091-15/+98
| | | | | | | | | | | | | | | | Change-Id: Ia7dd82f890775045e543963d64e6dcd3ea4db825
* | | | Merge "Start refactoring RS headerfiles for docs."Stephen Hines2011-08-0911-1412/+1673
|\ \ \ \ | |_|/ / |/| | |
| * | | Start refactoring RS headerfiles for docs.Jason Sams2011-08-0911-1412/+1673
| |/ / | | | | | | | | | Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
* | | Merge "improve dumpsys SurfaceFlinger output"Mathias Agopian2011-08-081-3/+8
|\ \ \
| * | | improve dumpsys SurfaceFlinger outputMathias Agopian2011-08-081-3/+8
| | |/ | |/| | | | | | | | | | | | | we now output the handle and size of all buffers of each layer. Change-Id: I8d011ee4ae9199f4198bd07bed770ec3bcf02986
* | | Merge "add some logs to track a crash in eglCreateImageKHR"Mathias Agopian2011-08-081-0/+16
|\ \ \ | |_|/ |/| |
| * | add some logs to track a crash in eglCreateImageKHRMathias Agopian2011-08-081-0/+16
| |/ | | | | | | | | | | Bug: 5111008 Change-Id: I3e7f5b986151e80cbded39e0dec057770da52fc1
* | Merge "Migrate perf-critical functions away from librs."Stephen Hines2011-08-082-54/+9
|\ \
| * | Migrate perf-critical functions away from librs.Stephen Hines2011-08-082-54/+9
| |/ | | | | | | | | | | BUG=3497315 Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
* | Add RS docs for rs_core.rshJason Sams2011-08-081-41/+351
| | | | | | | | Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
* | Merge "Add docs to rs_types.rsh"Jason Sams2011-08-082-34/+484
|\ \
| * | Add docs to rs_types.rshJason Sams2011-08-082-34/+484
| | | | | | | | | | | | Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
* | | Merge "Fixing rs crash when no texture is bound."Alex Sakhartchouk2011-08-083-4/+18
|\ \ \
| * | | Fixing rs crash when no texture is bound.Alex Sakhartchouk2011-08-053-4/+18
| | | | | | | | | | | | | | | | Change-Id: I2c15106f50de995c63691f27e2c4d89dbffc758e
* | | | Prevent crash when purging the gradients cache.Romain Guy2011-08-081-2/+2
| |_|/ |/| | | | | | | | | | | | | | Bug #5133876 Change-Id: I3d1fa4e29498044796d725337ac93e6a1e8f0bcb
* | | Merge "Start using bcinfo components within librs."Stephen Hines2011-08-056-32/+87
|\ \ \ | |/ / |/| |
| * | Start using bcinfo components within librs.Stephen Hines2011-08-036-32/+87
| | | | | | | | | | | | | | | | | | BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
* | | Merge "Add camera bayer image format."Wu-cheng Li2011-08-041-0/+1
|\ \ \
| * | | Add camera bayer image format.Wu-cheng Li2011-08-041-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
* | | Add a 'release' method to the SurfaceTexture public Java APIMathias Agopian2011-08-031-0/+1
| | | | | | | | | | | | | | | Bug: 5063618 Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
* | | Merge "Paint style and stroke width affect text rendering. Bug #5112207"Romain Guy2011-08-022-8/+20
|\ \ \ | |/ / |/| |
| * | Paint style and stroke width affect text rendering.Romain Guy2011-08-022-8/+20
| | | | | | | | | | | | | | | | | | Bug #5112207 Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
* | | Pass camera frame metadata from camera service to Java.Wu-cheng Li2011-08-022-4/+18
| | | | | | | | | | | | | | | bug:4460717 Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
* | | Merge "Add camera recording hint parameter."Wu-cheng Li2011-08-021-0/+1
|\ \ \
| * | | Add camera recording hint parameter.Wu-cheng Li2011-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The API is still hidden. bug:4266229 Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
* | | | Merge "Finish the refactor work of bccPrepareExecutable"Shih-wei Liao2011-08-011-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Finish the refactor work of bccPrepareExecutableLogan Chien2011-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename bccPrepareExecutableEx to bccPrepareExecutable. (These functions are the same, and we will remove bccPrepareExecutableEx several commits later.) Change-Id: I519130bb3b731bf927cb92924f355d7d1ea0242c