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
Romain Guy
2e7fbd97e6
Merge "Preapre region tracking in layers" into honeycomb
2011-01-14 20:04:42 -08:00
Romain Guy
1bd1bad0b4
Preapre region tracking in layers
...
Change-Id: Ied1fa0d36c99ef4e33cb8fde7e3106a793db3a4c
2011-01-14 20:07:20 -08:00
Mathias Agopian
a7393dd66f
Merge "Fix error reporting in Surface::cancelBuffer()" into honeycomb
2011-01-14 19:27:32 -08:00
Romain Guy
739e34a362
Merge "Don't crash Launcher on config change." into honeycomb
2011-01-14 18:49:55 -08:00
Romain Guy
43ccf4663c
Don't crash Launcher on config change.
...
Change-Id: Ibbbd7146c5ff69e9639b433f39041053654d808c
2011-01-14 18:51:01 -08:00
Jeff Brown
77c3e4b9fd
Merge "Make getFallbackAction return false when there is none." into honeycomb
2011-01-14 17:59:56 -08:00
Jeff Brown
fca66d3b71
Make getFallbackAction return false when there is none.
...
Change-Id: Id17c0f7269e4a228f4e5f11c54614fec508222a2
2011-01-14 17:54:38 -08:00
Romain Guy
7777319712
Merge "Don't delete objects twice..." into honeycomb
2011-01-14 15:35:34 -08:00
Romain Guy
1f1fcb70b6
Don't delete objects twice...
...
Change-Id: Ibc67aed098c9300cf45eb46abda1938c418808c3
2011-01-14 15:37:54 -08:00
Romain Guy
24c0021668
Copy shaders when recording them in display lists.
...
Change-Id: I3f22dd35f1e31c9e5102955d76548098b7b0cd8d
2011-01-14 15:31:00 -08:00
Romain Guy
4b26d05766
Merge "Copy shaders when recording them in display lists." into honeycomb
2011-01-14 15:29:36 -08:00
Romain Guy
f5106847fc
Don't add clipped rects to layer regions.
...
Bug #3350208
Change-Id: I9266862f1d4d57b4598852e8dfa202b5f5099cce
2011-01-14 11:27:12 -08:00
Romain Guy
fe5be1b042
Merge "Don't add clipped rects to layer regions. Bug #3350208 " into honeycomb
2011-01-14 11:25:56 -08:00
Mathias Agopian
afc724b907
Fix error reporting in Surface::cancelBuffer()
...
when we validate the surface there, most errors are in fact allowed
because it is legal to cancel a buffer after a surface has been
destroyed (for instance). in that case make sure to not log
error messages as they are very confusing.
Change-Id: Iecdfbaf6d9ee5da54d56cd7ea7a0d430c30934b0
2011-01-14 11:04:34 -08:00
Shih-wei Liao
076b770c2a
bcc interface fixed.
...
Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
2011-01-14 06:21:28 -08:00
Shih-wei Liao
3b5379d84b
Retire librslib_rt.
...
Change-Id: I7f23eb35a8eab1728ef59ea20b429887e76d37fd
2011-01-14 05:00:37 -08:00
Shih-wei Liao
35a17e661e
Move linking stuff to libbcc.
...
Change-Id: I4ad08decfda89c6801c595eb746da8af0625fcce
2011-01-14 04:56:50 -08:00
Shih-wei Liao
307bf62dd5
Avoid converting rslib.bc to things like rslib.h. So we are less error-prone.
...
Change-Id: If9043d8e8b4cbd21393024032da734e58a22e72d
2011-01-14 04:26:30 -08:00