Mathias Agopian
0fb9c5dcc7
Merge "improve SurfaceFlinger 'dumpsys' log" into honeycomb
2011-01-19 16:31:32 -08:00
Mathias Agopian
06a61e2fa8
improve SurfaceFlinger 'dumpsys' log
...
list the purgatory, which shows windows that have been closed,
but for which the client still has references.
Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
2011-01-19 16:15:53 -08:00
Romain Guy
514fb18827
Don't attempt to create empty layers.
...
Bug #3369888
Change-Id: Ic17bbd1c04bbf760cb17d0eb9e6767fd6479948c
2011-01-19 14:38:29 -08:00
Romain Guy
9335f5b2fd
Merge "Make embedded hardware layers work. Bug #3369474 " into honeycomb
2011-01-19 13:40:43 -08:00
Romain Guy
42f3a4b7c3
Make embedded hardware layers work.
...
Bug #3369474
Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
2011-01-19 13:42:26 -08:00
Shih-wei Liao
9f7e83b406
Merge "c99 bool support" into honeycomb
2011-01-19 12:21:55 -08:00
Shih-wei Liao
cbcced2d15
c99 bool support
...
Change-Id: I0990425a9362d3ef6ea0b40bf6f00fcc10eed426
2011-01-19 12:17:54 -08:00
Romain Guy
a3311ed7a9
Fix the fix for 9patches.
...
Change-Id: I66dca835d9d0e9766d887746c3265e4b13ae688b
2011-01-19 12:00:08 -08:00
Romain Guy
34829553a8
Merge "Fix the fix for 9patches." into honeycomb
2011-01-19 11:58:21 -08:00
Romain Guy
fdbec3e482
Fix 9patches in Launcher
...
Change-Id: Ieedf36ccaab253909b44ed8c222d523867f095be
2011-01-19 10:37:35 -08:00
Romain Guy
49903d265b
Merge "Fix 9patches in Launcher" into honeycomb
2011-01-19 10:35:46 -08:00
Shih-wei Liao
1ad9612e99
1. fp_mad.rs: Pass C99 check.
...
2. Include C99 header (Will be fixed later at build.git.)
Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
2011-01-19 02:18:45 -08:00
Shih-wei Liao
cbb7279e7b
Fix the build.
...
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
2011-01-18 22:50:18 -08:00
Stephen Hines
688de88b65
Fix bug in modf library function (plus typos).
...
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
2011-01-18 21:04:59 -08:00
Jason Sams
e70b445d2f
Merge "Correctly log debugging info as debug." into honeycomb
2011-01-18 18:22:56 -08:00
Jason Sams
bf2afed1f2
Correctly log debugging info as debug.
...
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-18 18:22:19 -08:00
Jason Sams
e6a97e27bc
Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb
2011-01-18 18:18:06 -08:00
Jason Sams
d1ac981497
Fix race condition between GC thread and
...
the teardown of RS. The RS context was going away while
the objects were being deleted within the finializer.
Add more debugging for playCoreCommands.
Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
2011-01-18 18:12:26 -08:00
Stephen Hines
66934423c8
Merge "Provide mechanism to switch between extern/static." into honeycomb
2011-01-18 17:50:19 -08:00
Stephen Hines
793786c258
Provide mechanism to switch between extern/static.
...
Change-Id: I59b1b45cc335278f92b68581594ca68115b9a590
2011-01-18 16:53:19 -08:00
Mathias Agopian
fc14d42b75
Merge "fix [3361121] hang in glClear() - device unresponsive, OTA fails" into honeycomb
2011-01-18 16:52:33 -08:00
Mathias Agopian
2e102a05ca
fix [3361121] hang in glClear() - device unresponsive, OTA fails
...
Generally we never want to lock a buffer for write access if it is at
the "head" on the surfaceflinger side. The only exception (1) is when
the buffer is not currently in use AND there is at least one queued
buffer -- in which case, SurfaceFlinger will never use said buffer
anymore, because on the next composition around, it will be able to
retire the first queued buffer.
The logic above relies on SurfaceFlinger always retiring
and locking a buffer before composition -- unfortunately this
didn't happen during a screenshot.
This could leave us in a situation where a buffer is locked by the
application for write, and used by SurfaceFlinger for texturing,
causing a hang.
Here, we fix this issue by never assuming the exception (1), it was
intended as an optimization allowing ANativeWindow::lockBuffer() to
return sooner and was justified when most of SF composition was
done in software. The actual buffer locking is now ensured by
gralloc. We could have handled screenshots in a similar way to
a regular composition, but it could have caused glitches on screen,
essentially, taking a screenshot could cause to skip a frame.
Change-Id: I1f226b1ebdf6918439b687c2723955d55b842c55
2011-01-18 15:51:30 -08:00
Stephen Hines
0e5f4e549b
Merge "Validate that version pragma is correct." into honeycomb
2011-01-18 14:26:24 -08:00
Stephen Hines
5dd60be169
Validate that version pragma is correct.
...
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-18 14:10:44 -08:00
Romain Guy
553889a678
Merge "Fix 9patches, again... Bug #3365243 " into honeycomb
2011-01-18 14:00:28 -08:00
Romain Guy
eb6a4a17a0
Fix 9patches, again...
...
Bug #3365243
Change-Id: Id45a1f1fd5e099b1d691e6064401d3de1b0c5c20
2011-01-18 14:02:16 -08:00
Romain Guy
2577db1ec1
Add support for Paint::setTextSkewX in OpenGLRenderer.
...
Bug #3360888
Change-Id: I42e81a1f10bf7b9ae1c63ca8add1878fd59a1e8a
2011-01-18 13:02:38 -08:00
Romain Guy
713440d2ef
Merge "Add support for Paint::setTextSkewX in OpenGLRenderer. Bug #3360888 " into honeycomb
2011-01-18 13:00:41 -08:00
Romain Guy
807daf7df6
Add support for skew()
...
Change-Id: Ia3a9a867f74fd78b61f75179e3788fdc2f0cacd0
2011-01-18 11:19:19 -08:00
Romain Guy
89108d5c31
Merge "Add support for skew()" into honeycomb
2011-01-18 11:17:20 -08:00
Stephen Hines
5ef3dddd0d
Remove erroneous log message.
...
This change also enables pragmas to be checked for scripts that do not have a
root() function.
Change-Id: I4f41300b623581483970050680ac96c54f99d34a
2011-01-17 17:31:58 -08:00
Stephen Hines
a8b78174eb
Clean up simple integer operations.
...
Change-Id: I3bd11c54c49602e4f63310d50bd9b20fae234329
2011-01-17 11:26:29 -08:00
Romain Guy
cfe5dd01f2
Merge "Yet another fix for 9patch rendering. Bug #3362133 " into honeycomb
2011-01-17 10:51:32 -08:00
Romain Guy
7444da5126
Yet another fix for 9patch rendering.
...
Bug #3362133
Change-Id: Ia6521d31a8c208a2ad2506a23b6a01e5e442ad86
2011-01-17 10:53:44 -08:00
Shih-wei Liao
38f79d01db
Merge "Make ImageProcessing work." into honeycomb
2011-01-17 01:18:32 -08:00
Shih-wei Liao
2aad562ab2
Make ImageProcessing work.
...
Change-Id: Id1ab91657ff4ba70a2391b168958e72b68e8a3e0
2011-01-17 01:17:39 -08:00
Jamie Gennis
cf18c4788a
Merge "Implement SurfaceTexture frame-available callback." into honeycomb
2011-01-16 18:15:36 -08:00
Jamie Gennis
41424adec8
Merge "Fix SurfaceTexture transform matrix." into honeycomb
2011-01-16 18:14:07 -08:00
Jamie Gennis
376590d668
Implement SurfaceTexture frame-available callback.
...
This change implements the onFrameAvailable callback for the
SurfaceTexture java class. It includes the C++ SurfaceTexture code as
well as the JNI and Java code to enable the callback.
Change-Id: Ifd8b8e7ad46ee70cba6da1c2e96dab8045d1ea30
2011-01-16 17:28:39 -08:00
Jamie Gennis
0fb736c093
Fix SurfaceTexture transform matrix.
...
Change-Id: I31520c547cafa5cc85cd0f73883ab3a9ff4648e2
2011-01-16 16:35:01 -08:00
Jason Sams
300406abd4
Add some error checking.
...
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2011-01-16 16:11:42 -08:00
Shih-wei Liao
077fd5f6f5
Merge "Fix bug in on-device linking." into honeycomb
2011-01-16 15:41:25 -08:00
Shih-wei Liao
0e7be13973
Fix bug in on-device linking.
...
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
2011-01-16 15:38:13 -08:00
Romain Guy
fb13abd800
Fix 9patch rendering in ExpandableListView.
...
Change-Id: I60843d61a40b0cb7dd09923cb4489a5a76f20486
2011-01-16 15:16:38 -08:00
Romain Guy
94677083ab
Merge "Fix 9patch rendering in ExpandableListView." into honeycomb
2011-01-16 15:14:39 -08:00
Jason Sams
d73989538e
Merge "Implement sub updates for mipmap levels and cubmaps." into honeycomb
2011-01-16 14:47:34 -08:00
Romain Guy
f219da5e32
Don't blend transparent pixels when rendering layers.
...
With this change, the rendere keeps track of what regions are rendered into
and generates a mesh that matches these regions exactly. The mesh is used
to composite the layer on screen.
Change-Id: I1f342576b9134fb29caff7fb8f4c1da179fe956d
2011-01-16 12:54:25 -08:00
Romain Guy
749b9dbaf9
Merge "Don't blend transparent pixels when rendering layers." into honeycomb
2011-01-16 12:52:37 -08:00
Shih-wei Liao
71a2e13d19
On-device linking using bccLinkBC. Note that we switch to getFile interface
...
on the libbcc side.
Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
2011-01-16 03:57:20 -08:00
Jamie Gennis
4559ea41d8
Compare GraphicBuffers using handles.
...
This change fixes a bug in SurfaceTextureClient where GraphicBuffers
were being compared using pointer comparison rather than handles.
Change-Id: Ib8989af94be32d4efd86e020a732f5143088a863
2011-01-15 17:00:06 -08:00