| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
gingerbread
* commit '72abf01a8b6958ac1f86d36302a8462c4f51fd9d':
Fix the ISurfaceComposer onTransact switch.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: Ie226d049840942d9ad9cf58e0c19132f49d62a75
|
| |
| |
| |
| | |
Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
|
| |
| |
| |
| | |
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
|
| |
| |
| |
| |
| |
| | |
Bug #3381287
Change-Id: Ibfbc9c51c8dccef216daccc37d835e5dbf143a6a
|
| |
| |
| |
| | |
Change-Id: Icb3d3dc2c579436d375269a9cb0b821a931c5a79
|
| |
| |
| |
| | |
Change-Id: I868821cbe69f7e71d93701b9cdb528a2ef796cd4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
|
|\ \ \
| |/ /
|/| |
| | | |
into honeycomb
|
| | |
| | |
| | |
| | | |
Change-Id: I53f35b6efd26abc1e8559f6f1e37abb55a1df7db
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I47fadb2b9e8b9e9ef5f139470366ce43c75fadbb
|
| |_|/ /
|/| | |
| | | |
| | | | |
Change-Id: I83eba3406c26a4028af08b4d4c95ecd02803e75a
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ide5d91aadbc9f5b475da38762bc350ac237347d1
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ibe87b06a7f40a3889d63310641359d98bdff066c
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
kills system_server" into honeycomb
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
list the purgatory, which shows windows that have been closed,
but for which the client still has references.
Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Bug #3369888
Change-Id: Ic17bbd1c04bbf760cb17d0eb9e6767fd6479948c
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug #3369474
Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0990425a9362d3ef6ea0b40bf6f00fcc10eed426
|
|\ \ \ \ \
| | |/ / /
| |/| / /
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I66dca835d9d0e9766d887746c3265e4b13ae688b
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ieedf36ccaab253909b44ed8c222d523867f095be
|
| | |
| | |
| | |
| | |
| | |
| | | |
2. Include C99 header (Will be fixed later at build.git.)
Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
|
| | |
| | |
| | |
| | | |
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
|
| | |
| | |
| | |
| | | |
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
|