Romain Guy
cf894c91a9
Merge "Fix CTS test. Bug #3345445 " into honeycomb
2011-01-12 12:47:30 -08:00
Romain Guy
9454fe1080
Fix CTS test.
...
Bug #3345445
Change-Id: I3e9fa6002d173e6c9182ee5798420829e4bd2e30
2011-01-12 12:50:05 -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
b0ba48c95e
Add getTransformMatrix to the SurfaceTexture API.
...
Change-Id: Icd11ed4982220be9d08b00498aef02531610ce1f
2011-01-12 11:28:38 -08:00
Wei-Ta Chen
4b9adfbe7d
Merge "Correct the API comments." into honeycomb
2011-01-11 23:16:15 -08:00
Wei-Ta Chen
96d3b5e383
Correct the API comments.
...
BitmapRegionDecoder supports PNG as well.
Change-Id: I5f1b95c20c3ae87738f9814cfc16d6a4c5af2bf5
2011-01-11 23:06:56 -08:00
Wei-Ta Chen
25bce3a673
Do not merge.
...
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.
Bug: 3309014
////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."
This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.
Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6
Fix a initialization bug in BitmapRegionDecoder.
Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5
Fix segfault when tring to throw IOException.
Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
Fix 3122139, where previewing an attachment for the second time will
fail.
Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.
Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195
Add inPreferQualityOverSpeed into BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4
Unhide inPreferQualityOverSpeed in BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Related changes: https://android-git.corp.google.com/g/#change,83291 and
https://android-git.corp.google.com/g/#change,83294
Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4
Correct the API comments.
BitmapRegionDecoder supports PNG as well.
2011-01-11 22:54:10 -08:00
Jason Sams
252c07802f
Add error checks to bitmap uploads.
...
Fix java side calculation for pixel sizes.
Change-Id: I2636db2ccdc9a330214fe9d8b26617b33e52ec8e
2011-01-11 17:42:52 -08:00
Alex Sakhartchouk
dcc231955d
Adding ability to load cubemaps from individual faces.
...
Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
2011-01-11 14:47:44 -08:00
Romain Guy
3b703f2d11
Hide Canvas.getGL()
...
Change-Id: I6d81cf9f43ce0c990fe30b3b3159c95ac738ae79
2011-01-10 16:42:55 -08:00
Alex Sakhartchouk
fe852e216f
Updating cubemap loading code.
...
Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
2011-01-10 15:57:57 -08:00
Jason Sams
67e3d206ca
Hide and delete some code that should not be public.
...
Change-Id: Ibe201c235fc81ef1fecb120d6049d6e56222462c
2011-01-09 13:49:31 -08:00
Alex Sakhartchouk
6c191768f1
Merge "Adding comments to the renderscript program classes." into honeycomb
2011-01-09 12:07:00 -08:00
Alex Sakhartchouk
df27202deb
Adding comments to the renderscript program classes.
...
Change-Id: I989575951df1218c1e753dfa12193d560266bf11
2011-01-09 11:34:03 -08:00
Jason Sams
fa445b9353
Cleanup subdata apis
...
Change-Id: I70d0d5e4ca2b42f3a9cbf854fe47917cee8f46df
2011-01-07 17:04:29 -08:00
Alex Sakhartchouk
b0253ea696
Additional loading methods for fonts and a3d files.
...
Cleaned up error messages.
Change-Id: Id33b7149671df23c37cc11375d844a7837dac750
Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
2011-01-07 11:16:08 -08:00
Jamie Gennis
6714efc5e0
Add the SurfaceTexture java class.
...
This class exposes to Java the application-side interface to the
SurfaceTexture C++ class.
Change-Id: I0dba42aad90257c7adbde6fa362658c0717b70d0
2011-01-06 16:05:14 -08:00
Brian Muramatsu
b03ba34b76
Merge "Add MipmapDrawableTest"
2011-01-05 15:19:38 -08:00
Brad Fitzpatrick
70588bf864
resolved conflicts for merge of 3a2c6bf0 to master
...
Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
2011-01-05 14:04:06 -08:00
Brad Fitzpatrick
3a2c6bf0fc
am 69ea4e15: Documentation fixes found over vacation hacking.
...
* commit '69ea4e15e52c456537575d21443ac1efdb03a902':
Documentation fixes found over vacation hacking.
2011-01-05 13:52:53 -08:00
Brad Fitzpatrick
69ea4e15e5
Documentation fixes found over vacation hacking.
...
Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
2011-01-05 13:07:34 -08:00
Jason Sams
cfc2330c4e
fix build
...
Change-Id: I4991e3e11b2f44328ee272dcb498c6b9fd90c5ee
2011-01-04 23:06:28 -08:00
Jason Sams
334108b56c
Random cleanup
...
Change-Id: Ife6f19d51e8229b6cf1ca8689df7baba2fcb4dc9
2011-01-04 22:19:53 -08:00
Jason Sams
a23d4e792c
unhide renderscript
...
Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680
api update
Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
2011-01-04 22:19:44 -08:00
Romain Guy
6b1f6e6ac1
Merge "Keep a reference to the local matrix. Bug #3299324 "
2011-01-04 15:00:48 -08:00
Romain Guy
a9ebfa6bcc
Keep a reference to the local matrix.
...
Bug #3299324
This is needed for ADT, which does not rely on Skia's reference counting
to correctly keep track of the native objects.
Change-Id: Ia2fc5c1ec2b80bad226bc549fefc6bb064784609
2011-01-04 15:02:59 -08:00
Michael Jurka
b341df446b
Merge "Fixed bug with reverseTransition"
2011-01-04 13:14:31 -08:00
Jason Sams
69011ff5e1
Merge "Move adapter2D to a derived class from Allocation."
2010-12-29 16:27:00 -08:00
Jason Sams
49a05d7b82
Move adapter2D to a derived class from Allocation.
...
Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
2010-12-29 14:31:29 -08:00
Alex Sakhartchouk
b3b89f63af
Fixing a bug in the load function.
...
Change-Id: Ie5e72836dec7f77d42c8cb9afb8c3d5591ff35a7
2010-12-29 08:43:49 -08:00
Alex Sakhartchouk
b4d7bb6872
API cleanup for renderscript. This will be a multiproject commit.
...
Change-Id: Ida62d3a155285a20725be9daa62217faef1c3734
2010-12-21 14:57:04 -08:00
Brian Muramatsu
feb8ba4a5e
Add MipmapDrawableTest
...
Move these tests from CTS, because Mipmap is now hidden.
Also remove all the XML inflation code, because that is currently
disabled.
Original change: f445b8a7
Deletion from CTS: Ibfd1b8a5
Change-Id: I816581062778a9cbe868e32c3c6975cc9a74af5b
2010-12-21 12:28:29 -08:00
Michael Jurka
65e293273a
Fixed bug with reverseTransition
...
- calling this multiple times very quickly left the transition showing the wrong drawable
2010-12-20 21:22:50 -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
Carl Shapiro
2118b25ad4
Eliminate tracked allocations and the inNativeAlloc option.
...
Change-Id: Ic10b2b41a26925d799e5d1e50be77fc480ec0f17
2010-12-17 18:03:38 -08:00
Alex Sakhartchouk
e27cdeeecb
API reaview cleanup
...
Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
2010-12-17 11:41:08 -08:00
Chet Haase
27c1d4debb
Fix minor animation and doc issues
...
Change-Id: I0ea077d9434ac3e22e8600f22ca4a24a6a46965c
2010-12-16 15:25:52 -08:00
Jason Sams
e5d3712d9e
Remove outdated texture upload functions.
...
Change-Id: Ie3f9ba64a94425fa96b1924cb4b70dd36b71e294
2010-12-16 12:18:28 -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
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
82d4a3ab85
Merge "Make Drawable.mCallback a WeakReference."
2010-12-14 17:36:28 -08:00
Romain Guy
f2a47782f3
Make Drawable.mCallback a WeakReference.
...
Many memory leaks occur because of long lived drawables. This should
help.
Change-Id: I2e9e8dee26579ec56e8e73f08f6b1d62be7812d9
2010-12-14 17:33:00 -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
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
Jason Sams
d4b23b5444
More API updates.
...
Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
2010-12-13 15:32:35 -08:00