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
Romain Guy
1e3a431d07
Remove debug code
...
Change-Id: Idbc54d16adb4d86185d7196ea0297b5019d14ae4
2011-01-13 17:47:15 -08:00
Romain Guy
24bb317fe2
Merge "Remove debug code" into honeycomb
2011-01-13 17:44:28 -08:00
Jason Sams
ef70a20a30
Implement sub updates for mipmap levels and cubmaps.
...
Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
2011-01-13 17:38:18 -08:00
Romain Guy
ffac7fc504
Add debug logs for display lists.
...
Change-Id: I7bae8fd96e9eccb51f29f73e4069b4d3e6bdbdd7
2011-01-13 17:22:58 -08:00
Jason Sams
e9d3da1374
Merge "Re-implement img npot support in HC." into honeycomb
2011-01-13 17:21:02 -08:00
Romain Guy
7f5690bb10
Merge "Add debug logs for display lists." into honeycomb
2011-01-13 17:20:47 -08:00
Jason Sams
9333e64f79
Re-implement img npot support in HC.
...
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
2011-01-13 17:02:35 -08:00
Alex Sakhartchouk
49dc58bf1c
Merge "Docs plus removing some junk per API review." into honeycomb
2011-01-13 16:27:23 -08:00
Alex Sakhartchouk
f5c876e82d
Docs plus removing some junk per API review.
...
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
2011-01-13 14:53:43 -08:00
Jamie Gennis
f7acf162f8
Fix remote GraphicBuffer allocation in SurfaceFlinger.
...
This change fixes a horrible hack that I did to allow application
processes to create GraphicBuffer objects by making a binder call to
SurfaceFlinger. This change introduces a new binder interface
specifically for doing this, and does it in such a way that
SurfaceFlinger will maintain a reference to the buffers until the app is
done with them.
Change-Id: Icb240397c6c206d7f69124c1497a829f051cb49b
2011-01-13 12:19:04 -08:00
Jamie Gennis
e8d0e8a776
Add logging to SurfaceTextureClient.
...
Change-Id: I984c3b9c88f8af613a50138188ff1b770e2de6b4
2011-01-13 12:19:03 -08:00
Romain Guy
c15c7a79a6
Merge "Cleanup implementation of hardware layers." into honeycomb
2011-01-13 12:13:59 -08:00
Jamie Gennis
5865c494a5
Merge "Fix a bug in SurfaceTexture::dequeueBuffer." into honeycomb
2011-01-13 12:13:56 -08:00
Romain Guy
ada830f639
Cleanup implementation of hardware layers.
...
The new implementation relies on OpenGLRenderer's existing layer
code instead of duplicating it. The new code is much cleaner, with
simpler and better APIs and allows tracking of drawn regions inside
layers. Region tracking is not yet enabled but this will be done
in a future CL.
Change-Id: Ie826121a2227de8252c77b992a61218defea5143
2011-01-13 12:13:20 -08:00
Eric Laurent
8eff452421
Merge "Fix issue 3302649." into honeycomb
2011-01-13 11:59:13 -08:00
Jason parks
21f62b9e46
Merge "Add a method enable encryption." into honeycomb
2011-01-13 07:41:53 -08:00
Shih-wei Liao
96100195f0
Fix the build.
...
Change-Id: I36b523d877c5beadf0fce21b9f7534f0ffc23959
2011-01-13 02:20:51 -08:00
Shih-wei Liao
078717be07
Merge "Disable on-device linking" into honeycomb
2011-01-13 02:06:17 -08:00
Shih-wei Liao
0394d2495a
Disable on-device linking
...
Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
2011-01-13 02:05:34 -08:00
Shih-wei Liao
c758f1c6a3
Merge "Fix the build." into honeycomb
2011-01-13 02:04:10 -08:00
Shih-wei Liao
f6dd9c539c
Merge "On-device linking." into honeycomb
2011-01-13 02:04:00 -08:00
Shih-wei Liao
3ae5017b1b
Merge "convert2uchar3." into honeycomb
2011-01-13 02:03:51 -08:00
Shih-wei Liao
3a3dd2b37c
Fix the build.
...
Change-Id: I20ac8700bcc8ccb7905f82bbfea81d007f67a68e
2011-01-13 02:03:00 -08:00
Shih-wei Liao
067e7b261a
On-device linking.
...
Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
2011-01-12 19:14:27 -08:00
Eric Laurent
41f4d4d847
Fix issue 3302649.
...
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: I8b5f6a63feeaeb9a01267380e85f6f1456e7aa01
2011-01-12 18:28:25 -08:00
Jason Sams
ef56ee316c
Merge "WAR driver bug where surfaces of size 0 fail." into honeycomb
2011-01-12 15:28:19 -08:00
Jason Sams
ec30933c1d
WAR driver bug where surfaces of size 0 fail.
...
Change-Id: I72b356c4cfb71f2342479ca21238b763d02e729d
2011-01-12 15:26:25 -08:00
Jason Sams
208a1c68ee
Merge "Implement more of copy2DRange*" into honeycomb
2011-01-12 15:22:09 -08:00
Romain Guy
c038ea358a
Reenable region composition pipeline for layers
...
Bug #3341848
It works this time!
Change-Id: I0d371d8b2c75c67d4ce5009ddb990fe5e55a0a27
2011-01-12 15:08:47 -08:00
Romain Guy
b08ea03c1b
Merge "Reenable region composition pipeline for layers Bug #3341848 " into honeycomb
2011-01-12 15:06:18 -08:00
Jamie Gennis
103198a10c
Merge "Implement crop & transform for SurfaceTexture." into honeycomb
2011-01-12 14:57:29 -08:00
Jason Sams
fb9f82ca4f
Implement more of copy2DRange*
...
Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
2011-01-12 14:53:25 -08:00
Romain Guy
1fc883b271
Add logging to the new layers API.
...
Change-Id: I78b9426eb17de3e775aca9fafe4a50bd9c0785c4
2011-01-12 14:31:55 -08:00
Romain Guy
2e0c52610b
Merge "Add logging to the new layers API." into honeycomb
2011-01-12 14:29:15 -08:00
Jason parks
56aa5321fe
Add a method enable encryption.
...
This is for testing and needs to be cleaned up.
Change-Id: I29958f2a95c7773744e61bbd23a302b752614f87
2011-01-12 16:00:23 -06:00
Eric Laurent
48f400c376
am bec4abaa: Merge "Fix issue 3302649." into gingerbread
...
* commit 'bec4abaa12bf6759f354b54119c5524cf9339e7b':
Fix issue 3302649.
2011-01-12 13:52:42 -08:00
Jason Sams
8f597fdfac
Merge "Cleanup bitmap uploads Implement standalone mipmap generation." into honeycomb
2011-01-12 13:30:41 -08:00
Jason Sams
f7086090cf
Cleanup bitmap uploads
...
Implement standalone mipmap generation.
Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
2011-01-12 13:28:37 -08:00
Romain Guy
853548287f
Merge "Cleanup GL objects on the correct thread." into honeycomb
2011-01-12 12:50:50 -08:00
Romain Guy
57066eb64c
Cleanup GL objects on the correct thread.
...
Change-Id: Iddfea6e08a6591a4fab147151098ef27005f373d
2011-01-12 12:53:32 -08:00
Alex Sakhartchouk
27d116085e
Merge "Adding ability to load cubemaps from individual faces." into honeycomb
2011-01-12 11:53:42 -08:00
Jamie Gennis
a7eacc148a
Fix a bug in SurfaceTexture::dequeueBuffer.
...
This change fixes a bug that allowed the most recently queued buffer to
be returned by dequeueBuffer. At the next updateTexImage call, the
dequeued buffer would be set as the contents of the texture even though
the client could be writing to it.
Change-Id: I53dc14eed13262475627d5551337df57fd78fe00
2011-01-12 11:28:38 -08:00
Jamie Gennis
b598fb9072
Implement crop & transform for SurfaceTexture.
...
This change adds support for the setCrop and setTransform methods of the
SurfaceTexture C++ class. The crop and transform for the current
texture will be accessed by applications as a single texture coordinate
transform matrix.
Change-Id: I6482bf96f680e5c175364e848936db3908d6c8f8
2011-01-12 11:28:38 -08:00