Alex Sakhartchouk
b4d7bb6872
API cleanup for renderscript. This will be a multiproject commit.
...
Change-Id: Ida62d3a155285a20725be9daa62217faef1c3734
2010-12-21 14:57:04 -08:00
Patrick Dubroy
96abab264e
Merge "Ensure bitmaps aren't freed while referenced from a display list"
2010-12-20 17:15:31 -08:00
Patrick Dubroy
f890fab5a6
Ensure bitmaps aren't freed while referenced from a display list
...
Also removes the reference queue finalizers. They aren't necessary
anymore now that Bitmaps are allocated in the heap.
2010-12-20 17:02:15 -08:00
Jason Sams
e688213f6f
Merge "Clean up Allocation buffer object api."
2010-12-20 14:28:52 -08:00
Jason Sams
d19524047f
Clean up Allocation buffer object api.
...
Change-Id: Id3e2391a93a99f4c414a805ee33cfd113242a7e6
2010-12-20 12:55:28 -08:00
Shih-wei Liao
eeca435dc6
Stale cache management to address a P1 bug # 3296131.
...
Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
2010-12-20 21:02:32 +08:00
Alex Sakhartchouk
e27cdeeecb
API reaview cleanup
...
Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
2010-12-17 11:41:08 -08:00
Shih-wei Liao
667fb848aa
Whenever LoadBinary fails, recompile. Fixing the multi-instance bug.
...
Change-Id: Ib1565efe1353ed788a3ed3c81c6067e92d8ef0e5
2010-12-16 04:58:35 -08:00
Romain Guy
b146b1214e
Fix text shadow rendering issue.
...
Change-Id: Ic9eb0d38ad684d2f2c95a4f586f865db911cb872
2010-12-15 17:28:30 -08:00
Alex Sakhartchouk
0857196107
Cleanup and refactoring of an earlier cl.
...
Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
2010-12-15 10:11:31 -08:00
Jason Sams
1eb9f161a6
Merge "Fix mipmap bug introduced with Allocation cleanup. Add syncAll to rsg headers."
2010-12-15 02:11:26 -08:00
Jason Sams
6d8eb266dd
Fix mipmap bug introduced with Allocation cleanup.
...
Add syncAll to rsg headers.
Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
2010-12-15 01:41:00 -08:00
Romain Guy
8d0d4783a0
Cleanup OpenGLRenderer::drawLines()
...
Change-Id: I3545a616e964335897c6e4148c431a07a2ce2a8b
2010-12-14 20:13:35 -08:00
Patrick Dubroy
982b71bf47
Merge "Allocate bitmap backing buffers in the Java heap."
2010-12-14 16:56:07 -08:00
Patrick Dubroy
e4ac2d6b57
Allocate bitmap backing buffers in the Java heap.
...
Change-Id: I60f6ccff13357c1c518e9d56b02fe0171637edd1
2010-12-14 16:50:50 -08:00
Romain Guy
a9c9b53235
Merge "Continue cleanup refactoring in OpenGLRenderer."
2010-12-14 16:05:50 -08:00
Romain Guy
86568198f2
Continue cleanup refactoring in OpenGLRenderer.
...
Methods that still need refactoring:
- drawLines
- composeLayerRegion
Change-Id: If546641adf598d49c330988803667264fda50ac2
2010-12-14 16:04:12 -08:00
Mathias Agopian
52e6ada69e
Merge "minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so."
2010-12-14 15:51:32 -08:00
Mathias Agopian
aa0e56f9f2
Merge "dump callstack on Surface use error"
2010-12-14 15:51:22 -08:00
Jason Sams
fc29088e58
Merge "Add support for non-malloc backed textures."
2010-12-14 14:32:36 -08:00
Romain Guy
fa7952dbb8
Colors are in the [0..1] range, not [0..255]
...
This fixes rendering in YouTube and other applications.
Change-Id: Ib5f3df632cde97374113ed42f895f136b2796373
2010-12-14 13:45:54 -08:00
Romain Guy
89f4ec6a83
Merge "Colors are in the [0..1] range, not [0..255]"
2010-12-14 13:45:07 -08:00
Romain Guy
b36ba1d6d7
Merge "OpenGLRenderer would not render colors < ALPHA_THRESHOLD Bug #3282805 "
2010-12-14 11:52:02 -08:00
Shih-wei Liao
6b32fab1db
1. Add Context to a RenderScript or RenderScriptGL instance.
...
This is to allow RenderScript to better interact with the Android environment.
E.g., per-app cache.
2. Plumbing, testing.
3. Added getApplicationContext in RenderScript.java.
Change-Id: I85edeebe38825e20b2e86f4f4815689dfc332ef9
2010-12-14 11:17:20 -08:00
Romain Guy
5536841e54
OpenGLRenderer would not render colors < ALPHA_THRESHOLD
...
Bug #3282805
This bug was introduced with a previous refactoring. This also fixes
issues with setting the alpha when drawing bitmaps.
Change-Id: Id47641d26a4536c7e540041f92243bf6db9fc96d
2010-12-14 10:59:41 -08:00
Brad Fitzpatrick
0bd5243b75
Framework-side support for Dalvik "isSensitiveThread" hook.
...
Used in lock contention stats.
Bug: 3226270
Change-Id: Ie6f58d130a29079a59bdefad40b80304d9bc3623
2010-12-14 09:28:16 -08:00
Jason Sams
f2e69a911a
Merge "More API updates."
2010-12-13 23:53:35 -08:00
Romain Guy
029feb941d
Merge "Refactor OpenGLRenderer to simplify OpenGL drawing code."
2010-12-13 18:30:15 -08:00
Romain Guy
70ca14e08a
Refactor OpenGLRenderer to simplify OpenGL drawing code.
...
This is the first step of the refactoring:
- drawColorRect
- drawTextureMesh
Remaining methods to refactor:
- setupTextureAlpha8
- drawPath
- setupShadow
- drawText
- drawLines
- composeLayerRegion
Change-Id: I0fced6a05b6b6eee10ee7cef0c3fbdaa6cefab20
2010-12-13 18:24:33 -08:00
Jason Sams
5e0035af36
Add support for non-malloc backed textures.
...
Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
2010-12-13 17:11:21 -08:00
Mathias Agopian
06f9ebf4f6
minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so.
...
Change-Id: I3bdca74351c8e480a05084bc412a96c5f685221d
2010-12-13 16:47:31 -08:00
Jason Sams
d4b23b5444
More API updates.
...
Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
2010-12-13 15:32:35 -08:00
Alex Sakhartchouk
6b5222dd53
Perf test
...
Change-Id: I5cfc1b6dd438b13091993d4669e10fb2e49aaa06
2010-12-13 14:48:21 -08:00
Jason Sams
3ccc75fa51
Merge "Add multitouch support to physics test. Fix context state overwrite calling invoke."
2010-12-11 18:52:37 -08:00
Jason Sams
4859f5233c
Add multitouch support to physics test.
...
Fix context state overwrite calling invoke.
Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
2010-12-11 17:42:30 -08:00
Mathias Agopian
0cfb45a423
Merge "[3258939] Need snapshot to limit which layers are included"
2010-12-10 16:30:46 -08:00
Mathias Agopian
3dd25a6bf7
[3258939] Need snapshot to limit which layers are included
...
Change-Id: Id7351a0e3f53dde99b291cffba553d89fd4d7ca9
2010-12-10 16:22:31 -08:00
Jason Sams
54ca458787
Merge "Remove CreateFromBitmapRef and add CopyTo(bitmap) replacement."
2010-12-10 16:06:19 -08:00
Jason Sams
4ef6650bd0
Remove CreateFromBitmapRef and add
...
CopyTo(bitmap) replacement.
Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
2010-12-10 16:03:15 -08:00
Mathias Agopian
f7d63cf2cb
dump callstack on Surface use error
...
Change-Id: I38e260dd47349b9af3a999dda683a083a94be16d
2010-12-10 15:37:48 -08:00
Stephen Hines
cfcea7a1d0
Remove vector array test from RSTest.
...
This test will soon yield an appropriate compile-time error.
Change-Id: I8f9bef7c4c6f954753268a2c1816337f347eae06
2010-12-10 15:27:35 -08:00
Romain Guy
e8a8db1d3b
Merge "Ignore empty layers."
2010-12-10 14:42:21 -08:00
Romain Guy
32963c393a
Ignore empty layers.
...
Change-Id: Ib2f99cdab654881fe079306e27d87c5ef9535700
2010-12-10 14:43:41 -08:00
Romain Guy
a06cdd53d6
Merge "Correctly compare strings in UTF-8 instead of UTF-16 Bug #3272858 "
2010-12-10 12:33:34 -08:00
Romain Guy
25dc3a7dba
Correctly compare strings in UTF-8 instead of UTF-16
...
Bug #3272858
Change-Id: Idacd5d7c2c052b4834a8ddb5906ab32b3f548f73
2010-12-10 12:33:05 -08:00
Jeff Brown
6f7f877cc0
Merge "Fix race condition in fallback key processing."
2010-12-09 18:54:35 -08:00
Jeff Brown
00045a7e6f
Fix race condition in fallback key processing.
...
Need to ensure that the channel is still valid before proceeding.
Bug: 3271482
Change-Id: Ia6863cbedd9b53cbc5c9c8815e9ea90bef3d2218
2010-12-09 18:14:23 -08:00
Romain Guy
af636ebf5f
Don't set the invisible flag when saving an empty layer.
...
Bug #3270371
Change-Id: I65e85671c2fb70d74553c91213e5e759e0ac64ee
2010-12-09 17:47:21 -08:00
Jason Sams
3eb3106137
Merge "Fix a severe cleanup bug where teardown of the GL driver could occur on the wrong thread."
2010-12-09 12:21:19 -08:00
Jason Sams
546f01b6d5
Fix a severe cleanup bug where teardown of the GL
...
driver could occur on the wrong thread.
Change-Id: Icd56182ccbd1371124a247695bf3ebd3085df450
2010-12-09 12:19:46 -08:00