Jason Sams
31a7e42f4b
Begin adding async allocation creation.
...
Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8
Implement async bitmap upload and clean up types.
Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
2010-10-26 13:09:17 -07:00
Alex Sakhartchouk
98bfe5d02a
Some cleanup
...
Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
2010-10-18 17:18:50 -07:00
Jason Sams
9c25aee526
Fix object cast.
...
Change-Id: Idcf1b43392d43b6b46040b59551b73df6d6e42a9
2010-10-14 17:57:30 -07:00
Jason Sams
3b9c52ab8c
Async type creation.
...
Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
2010-10-14 17:48:46 -07:00
Alex Sakhartchouk
838c6a1578
Merge "Changing scenegraph sample to use arrays."
2010-10-14 09:34:56 -07:00
Bjorn Bringert
c9332fa3e9
Delete unused WebView drag tracking code
...
This also removes android.graphics.utils.BoundaryPatch
which was only used by the Browser for the unused drag
tracking (and by a demo app that I'm also removing).
Change-Id: I48253ae005ab11cb4c70d132bc1ea4f2692e2bd2
2010-10-14 09:39:25 +01:00
Jason Sams
0726fd9e83
Merge "Begin hooking up SurfaceConfig."
2010-10-13 15:33:00 -07:00
Jason Sams
11c8af9ded
Begin hooking up SurfaceConfig.
...
Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
2010-10-13 15:31:10 -07:00
Alex Sakhartchouk
9e401bcd88
Changing scenegraph sample to use arrays.
...
Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
2010-10-13 14:33:44 -07:00
Romain Guy
41030da168
Add a getNativeMatrix() API.
...
This API can be used by WebView to apply the appropriate transform
on its rendering.
Change-Id: I79aa39a29805f462fb08226370328815e74bdc52
2010-10-13 13:40:37 -07:00
Romain Guy
4bb942083a
Optimize 9patch rendering.
...
This change detects empty quads in 9patches and removes them from
the mesh to avoid unnecessary blending.
Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
2010-10-12 15:59:26 -07:00
Romain Guy
9db91243c5
Simplify black texture fragment shader.
...
Change-Id: If2d43f92f4c98ec128692761a670b0f31207a3c0
2010-10-12 13:13:09 -07:00
Stephen Hines
52d836332f
Support for unsigned long and unsigned long long.
...
Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
2010-10-11 16:10:42 -07:00
Alex Sakhartchouk
26ae3904e8
Update allocation from bitmap.
...
GL attribute cleanup in type.
Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
2010-10-11 14:04:09 -07:00
Stephen Hines
031ec58cfc
Fix support for 64-bit integers.
...
Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
2010-10-11 12:32:33 -07:00
Jason Sams
2222aa9003
Cleanup error message for null binding address.
...
Only print the debug if script debugging is enabled.
Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6
Implement inner utiliy class to specify surface formats.
Remove boxed bitmap upload functions.
Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
2010-10-10 17:58:25 -07:00
Alex Sakhartchouk
38d509697c
Merge "changing vec4 to vec2 for perf reasons."
2010-10-06 16:09:36 -07:00
Alex Sakhartchouk
d2091639be
changing vec4 to vec2 for perf reasons.
...
Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
2010-10-06 11:15:01 -07:00
Jason Sams
68159aabb3
Merge "Implement allocation resizing."
2010-10-05 13:35:47 -07:00
Jason Sams
5edc608a07
Implement allocation resizing.
...
Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
2010-10-05 13:32:49 -07:00
Brad Fitzpatrick
5e9f64ce24
am b12bfbd4: am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbread
...
Merge commit 'b12bfbd4df985041ab0e584ef5a746328baac038'
* commit 'b12bfbd4df985041ab0e584ef5a746328baac038':
Document Bitmap.createScaledBitmap
2010-10-04 14:28:35 -07:00
Romain Guy
95930e13fa
Apply all Canvas transformations to ColorDrawable.
...
Change-Id: I29252c58224b236d0770ec005da9842990ef2c06
2010-10-04 13:46:02 -07:00
Brad Fitzpatrick
b12bfbd4df
am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbread
...
Merge commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802' into gingerbread-plus-aosp
* commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802':
Document Bitmap.createScaledBitmap
2010-10-04 12:23:58 -07:00
Brad Fitzpatrick
02d9102b3b
Document Bitmap.createScaledBitmap
...
Change-Id: Ife6a42bc08d17c56274e78a1f5d2c100c2fe4dc8
2010-10-04 10:52:18 -07:00
Brad Fitzpatrick
2b282d312d
am 3d019a37: am 83d52229: Doc fix: duplicate word \'of\'
...
Merge commit '3d019a374fa41a11fb7b718770076e61235d1c45'
* commit '3d019a374fa41a11fb7b718770076e61235d1c45':
Doc fix: duplicate word 'of'
2010-10-03 21:19:12 -07:00
Brad Fitzpatrick
3d019a374f
am 83d52229: Doc fix: duplicate word \'of\'
...
Merge commit '83d522290e56f614d0d9373d47c2b54b9e207795' into gingerbread-plus-aosp
* commit '83d522290e56f614d0d9373d47c2b54b9e207795':
Doc fix: duplicate word 'of'
2010-10-03 21:13:51 -07:00
Brad Fitzpatrick
83d522290e
Doc fix: duplicate word 'of'
...
Change-Id: I45a4ca443becc2f2cf02cbca2bd61ef2ee590b5c
2010-10-03 21:07:21 -07:00
Stephen Hines
42ca268c6a
Merge "Support for 64-bit integer type."
2010-10-01 17:46:37 -07:00
Stephen Hines
ef1dac28d3
Support for 64-bit integer type.
...
b/3050131 exported renderscript structures don't appear to support int64_t
Change-Id: I9aea676425b694a3a6457e63e38b00e591847e20
2010-10-01 15:39:33 -07:00
Wei-Ta Chen
eeac43ad3c
am f7681f84: Do not merge.
...
Merge commit 'f7681f84918c27f6a626681ce37ed2a236c44e82' into gingerbread-plus-aosp
* commit 'f7681f84918c27f6a626681ce37ed2a236c44e82':
Do not merge.
2010-10-01 12:36:05 -07:00
Wei-Ta Chen
f7681f8491
Do not merge.
...
Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release.
Bug: 3052285
Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977
2010-10-01 12:16:38 -07:00
Romain Guy
be0488db81
Merge "Make simple paths made of lines work."
2010-09-30 16:59:29 -07:00
Romain Guy
d799912770
Make simple paths made of lines work.
...
Bug #3041098
Change-Id: Ife9c3f01ded10e2bb35b1cdf1a54734d8347fee4
2010-09-30 16:57:13 -07:00
Stephen Hines
02f4170519
Finish plumbing for double RS elements.
...
Change-Id: Ic708dcaeda4966bb2121ecb6834f56cfa68ad58e
2010-09-30 16:04:46 -07:00
Alex Sakhartchouk
f5b3510c70
Adding anisotropic filtering and related samples.
...
Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
2010-09-30 11:36:37 -07:00
Stephen Hines
ab98bb6e8b
Fix RS bug with message ID 0.
...
Clamp RSTest list to nice viewable range.
Change-Id: I0909511e16984ec78150cda17c22e22af1fa0cdb
2010-09-28 10:28:12 -07:00
Sonia Serafimova
d45a33554c
Prevent unhandled exception in NinePatchDrawable
...
Added null check in computeBitmapSize() to avoid unhandled
exception "java.lang.NullPointerException" at
android.graphics.Rect.<init>(Rect.java:72).
This problem was discovered in the wild.
Change-Id: I9d40629a052f1390e1811288af6209d8cc3f679b
2010-09-26 09:07:02 -07:00
Jean-Baptiste Queru
81859bc3d4
am ca3f968c: am 7d9c73fb: Merge "Prevent unhandled exception in NinePatchDrawable"
...
Merge commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86'
* commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86':
Prevent unhandled exception in NinePatchDrawable
2010-09-26 08:44:16 -07:00
Jean-Baptiste Queru
ca3f968c6f
am 7d9c73fb: Merge "Prevent unhandled exception in NinePatchDrawable"
...
Merge commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564' into gingerbread-plus-aosp
* commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564':
Prevent unhandled exception in NinePatchDrawable
2010-09-26 08:39:03 -07:00
Alex Sakhartchouk
04b5dd4b04
Merge "Adding support for all allowed textures. Cleaning up unused code Adding error messages"
2010-09-24 09:42:47 -07:00
Alex Sakhartchouk
b89aaacb2c
Adding support for all allowed textures.
...
Cleaning up unused code
Adding error messages
Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
2010-09-23 16:16:33 -07:00
Wei-Ta Chen
a23cdda0a5
am ac487f70: am 6b849e21: Unhide BitmapRegionDecoder.
...
Merge commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe'
* commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe':
Unhide BitmapRegionDecoder.
2010-09-22 23:06:55 -07:00
Wei-Ta Chen
ac487f708f
am 6b849e21: Unhide BitmapRegionDecoder.
...
Merge commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952' into gingerbread-plus-aosp
* commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952':
Unhide BitmapRegionDecoder.
2010-09-22 23:03:30 -07:00
Wei-Ta Chen
6b849e2123
Unhide BitmapRegionDecoder.
...
1. Rename LargeBitmap to BitmapRegionDecoder
2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory.
3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build.
4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions.
Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 .
However, that change broke the master build due to (3) and was reverted eventually.
So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one.
Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
2010-09-23 13:56:52 +08:00
Jason Sams
353a48e8ed
Merge "Fix two minor RS bugs. 1: index set size was populated with bad value in java, 2: bad error check in uploadToBufferObject."
2010-09-22 14:27:50 -07:00
Jason Sams
1bfccb45df
Fix two minor RS bugs.
...
1: index set size was populated with bad value in java,
2: bad error check in uploadToBufferObject.
Change-Id: I5946053cdfba0b2fbbaa34d562a9ec53e26ce9f2
2010-09-22 14:20:08 -07:00
Romain Guy
76f6091185
Merge "Add support for circular gradients to the GL renderer."
2010-09-21 16:50:50 -07:00
Romain Guy
ddb80bebb0
Add support for circular gradients to the GL renderer.
...
This change also adds full support for local transformation matrices on
sweep and radial gradients.
Change-Id: Id8773bc0766575190e3f3d51984fc5e57b266c3f
2010-09-21 16:48:50 -07:00
Jason Sams
7aa150c096
Detect and throw exception for using
...
objects after explicitly destroying them.
Change-Id: Ic50d6974c80672846140c7f9435ec9468855f0bc
2010-09-21 14:52:29 -07:00
Stephen Hines
a86c1a622f
Merge "Add support for Float64 (double) to RenderScript."
2010-09-21 10:29:48 -07:00