summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* am 72abf01a: Merge "Fix the ISurfaceComposer onTransact switch." into ↵Mathias Agopian2011-01-271-2/+2
|\ | | | | | | | | | | | | gingerbread * commit '72abf01a8b6958ac1f86d36302a8462c4f51fd9d': Fix the ISurfaceComposer onTransact switch.
| * Fix the ISurfaceComposer onTransact switch.Jamie Gennis2011-01-161-2/+2
| | | | | | | | | | | | | | | | Two of the cases in the ISurfaceComposer onTransact switch statement were missing 'break' statements at the end, and would fall through to the next case block. This change adds those break statements. Change-Id: I6dcc84263d3ea03d94612c667103283846b3dee1
| * Fix issue 3302649.Eric Laurent2011-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | The cause of the problem is that AudioTrack::start() can fail if it is called from a newly created thread that has the same ID as the AudioTrack callback thread that has just been stopped and not yet exited. This is possible as the thread ID used by the Thread class is not the TID. The fix consists in clearing the thread ID before exiting the thread loop. Change-Id: I66e679665c384403cb3ba2c31746f5de72d5836d
* | Use optimized display lists for all hwaccelerated renderingChet Haase2011-01-246-51/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, display lists were used only if hardware acceleration was enabled for an application (hardwareAccelerated=true) *and* if setDrawingCacheEnabled(true) was called. This change makes the framework use display lists for all views in an application if hardware acceleration is enabled. In addition, display list renderering has been optimized so that any view's recreation of its own display list (which is necessary whenever the visuals of that view change) will not cause any other display list in its parent hierarchy to change. Instead, when there are any visual changes in the hierarchy, only those views which need to have new display list content will recreate their display lists. This optimization works by caching display list references in each parent display list (so the container of some child will refer to its child's display list by a reference to the child's display list). Then when a view needs to recreate its display list, it will do so inside the same display list object. This will cause the content to get refreshed, but not the reference to that content. Then when the view hierarchy is redrawn, it will automatically pick up the new content from the old reference. This optimization will not necessarily improve performance when applications need to update the entire view hierarchy or redraw the entire screen, but it does show significant improvements when redrawing only a portion of the screen, especially when the regions that are not refreshed are complex and time- consuming to redraw. Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
* | Fix bitmap meshes to work in display lists.Romain Guy2011-01-232-2/+3
| | | | | | | | Change-Id: Ie226d049840942d9ad9cf58e0c19132f49d62a75
* | Add support for arcs.Romain Guy2011-01-237-0/+127
| | | | | | | | Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
* | Add support for ovals and stroked rectangles.Romain Guy2011-01-237-15/+177
| | | | | | | | Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
* | Always render text underline extra.Romain Guy2011-01-232-3/+8
| | | | | | | | | | | | Bug #3381287 Change-Id: Ibfbc9c51c8dccef216daccc37d835e5dbf143a6a
* | Collapse sucessive calls to restoreToCount() in display lists.Romain Guy2011-01-232-2/+19
| | | | | | | | Change-Id: Icb3d3dc2c579436d375269a9cb0b821a931c5a79
* | Fix potential crash in display lists.Romain Guy2011-01-231-0/+1
| | | | | | | | Change-Id: I868821cbe69f7e71d93701b9cdb528a2ef796cd4
* | Fix regression with hardware layers.Romain Guy2011-01-222-26/+29
| | | | | | | | | | | | | | | | | | | | | | The renderer was checking whether the layer's region is a rect to draw it with a simple quad. This test was done against the layer's region structure, which was cleared after generating the mesh. Unfortunately Region::isRect() returns true when the region is empty, which was causing the renderer to always use a quad to draw a mesh on screen. Change-Id: If4b874579ee0cedcb67367c9efa5c0c98ca55231
* | Merge "Log only 1 line per process when using OpenGLRenderer." into honeycombRomain Guy2011-01-2110-25/+47
|\ \
| * | Log only 1 line per process when using OpenGLRenderer.Romain Guy2011-01-2110-25/+47
| | | | | | | | | | | | Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
* | | Merge "Handle fatal errors from calling bccRegisterSymbolCallback (if any)." ↵Shih-wei Liao2011-01-201-1/+4
|\ \ \ | |/ / |/| | | | | into honeycomb
| * | Handle fatal errors from calling bccRegisterSymbolCallback (if any).Shih-wei Liao2011-01-201-1/+4
| | | | | | | | | | | | Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
* | | Merge "Add support for drawBitmapMesh()." into honeycombRomain Guy2011-01-204-0/+90
|\ \ \
| * | | Add support for drawBitmapMesh().Romain Guy2011-01-204-0/+90
| | | | | | | | | | | | | | | | Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
* | | | Merge "clean-up unneeded code" into honeycombMathias Agopian2011-01-201-36/+2
|\ \ \ \
| * | | | clean-up unneeded codeMathias Agopian2011-01-201-36/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now that we removed the notion of a "inUse" buffer in surfaceflinger a lot of code can be simplified / removed. noteworthy, the whole concept of "unlockClient" wrt. "compositionComplete" is also gone. Change-Id: I210413d4c8c0998dae05c8620ebfc895d3e6233d
* | | | | Merge "Remove unnecessary library functions." into honeycombStephen Hines2011-01-203-401/+348
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Remove unnecessary library functions.Stephen Hines2011-01-203-401/+348
| | | | | | | | | | | | | | | | | | | | Change-Id: I47fadb2b9e8b9e9ef5f139470366ce43c75fadbb
* | | | | Remove unnecessary code.Romain Guy2011-01-206-340/+91
| |_|/ / |/| | | | | | | | | | | Change-Id: I83eba3406c26a4028af08b4d4c95ecd02803e75a
* | | | Merge "Add rounded rects and circles support to OpenGLRenderer." into honeycombRomain Guy2011-01-1911-27/+638
|\ \ \ \
| * | | | Add rounded rects and circles support to OpenGLRenderer.Romain Guy2011-01-1911-27/+638
| | | | | | | | | | | | | | | | | | | | Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
* | | | | Merge "Use EGL_NATIVE_VISUAL_ID to select EGLConfig" into honeycombMathias Agopian2011-01-191-19/+4
|\ \ \ \ \
| * | | | | Use EGL_NATIVE_VISUAL_ID to select EGLConfigMathias Agopian2011-01-191-19/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EGLUtils::selectConfigForPixelFormat() now uses EGL_NATIVE_VISUAL_ID to select a config with the proper format. this is more robust and future proof. Change-Id: I7245d904adab1e339f062b9b498ddd9324cfe7a4
* | | | | Merge "Remove some old logging code." into honeycombJason Sams2011-01-191-2/+0
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Remove some old logging code.Jason Sams2011-01-191-2/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ide5d91aadbc9f5b475da38762bc350ac237347d1
* | | | | Merge "Clean up RS math fp library functions." into honeycombStephen Hines2011-01-194-155/+407
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Clean up RS math fp library functions.Stephen Hines2011-01-194-155/+407
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibe87b06a7f40a3889d63310641359d98bdff066c
* | | | | Merge "fix [3367893] Rotating device on YouTube's home screen several times ↵Mathias Agopian2011-01-191-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | kills system_server" into honeycomb
| * | | | | fix [3367893] Rotating device on YouTube's home screen several times kills ↵Mathias Agopian2011-01-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system_server A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly, EGLSurfaces where not destroyed explicitely. Everything worked properly when only one RS context was used, as eglTerminate() would clean-up everything. however in the present case, there seem to be more than one RS context and eglTerminate() is not called. Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
* | | | | | Merge "Check and propogate errors from llvm." into honeycombJason Sams2011-01-192-11/+16
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Check and propogate errors from llvm.Jason Sams2011-01-192-11/+16
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
* | | | | Merge "improve SurfaceFlinger 'dumpsys' log" into honeycombMathias Agopian2011-01-191-1/+1
|\ \ \ \ \
| * | | | | improve SurfaceFlinger 'dumpsys' logMathias Agopian2011-01-191-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | list the purgatory, which shows windows that have been closed, but for which the client still has references. Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
* | | | | Don't attempt to create empty layers.Romain Guy2011-01-192-18/+28
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Bug #3369888 Change-Id: Ic17bbd1c04bbf760cb17d0eb9e6767fd6479948c
* | | | Merge "Make embedded hardware layers work. Bug #3369474" into honeycombRomain Guy2011-01-194-5/+22
|\ \ \ \ | |_|/ / |/| | |
| * | | Make embedded hardware layers work.Romain Guy2011-01-194-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | Bug #3369474 Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
* | | | Merge "c99 bool support" into honeycombShih-wei Liao2011-01-191-6/+1
|\ \ \ \
| * | | | c99 bool supportShih-wei Liao2011-01-191-6/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I0990425a9362d3ef6ea0b40bf6f00fcc10eed426
* | | | | Merge "Fix the fix for 9patches." into honeycombRomain Guy2011-01-191-8/+0
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | |
| * | | Fix the fix for 9patches.Romain Guy2011-01-191-8/+0
| | | | | | | | | | | | | | | | Change-Id: I66dca835d9d0e9766d887746c3265e4b13ae688b
* | | | Merge "Fix 9patches in Launcher" into honeycombRomain Guy2011-01-191-3/+15
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Fix 9patches in LauncherRomain Guy2011-01-191-3/+15
| | | | | | | | | | | | Change-Id: Ieedf36ccaab253909b44ed8c222d523867f095be
* | | 1. fp_mad.rs: Pass C99 check.Shih-wei Liao2011-01-194-6/+15
| | | | | | | | | | | | | | | | | | 2. Include C99 header (Will be fixed later at build.git.) Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
* | | Fix the build.Shih-wei Liao2011-01-181-1/+1
| | | | | | | | | | | | Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
* | | Fix bug in modf library function (plus typos).Stephen Hines2011-01-185-5/+143
| | | | | | | | | | | | Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
* | | Merge "Correctly log debugging info as debug." into honeycombJason Sams2011-01-181-19/+19
|\ \ \
| * | | Correctly log debugging info as debug.Jason Sams2011-01-181-19/+19
| | | | | | | | | | | | | | | | Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d