Stephen Hines
5f528becb0
Check Element in all API levels for copy2DRangeFrom().
...
Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c
2013-02-08 21:03:51 -08:00
Stephen Hines
a9a7b37405
Fix copyFrom() to use proper dimensions for copying.
...
This change actually fixes several bugs related to stride:
* copyFrom() needs to call the 2D or 1D version, depending on the dimensions
of the corresponding Allocation.
* Add an internal-only copy2DRangeFromUnchecked(), since we don't really
want to expose it as another public API (only via copyFromUnchecked()).
* Call the proper 1D/2D version in copyFromUnchecked() based on the
Allocation dimensions.
* Add Element checks to the "checked" copy2DRangeFrom() routines.
Change-Id: I690706d36884ee749bf90937c715855f6c07368c
2013-02-08 20:56:00 -08:00
Jason Sams
3c6721899e
Merge "Implement rs.sendMessage()"
2013-02-07 02:17:53 +00:00
Scott Main
e68c1ce1d4
am 11f1c5b8: am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev
...
# Via Android Git Automerger (4) and others
* commit '11f1c5b89a98cb6794f2b1f158b8c22e38af975f':
docs: fix renderscript links that currently require redirect
2013-02-06 12:31:26 -08:00
Jason Sams
455d644266
Implement rs.sendMessage()
...
Change-Id: Ib4f4bb7bb4f697d0b5405ad55721394ed2456c65
2013-02-05 19:20:18 -08:00
Scott Main
b47fa1699a
docs: fix renderscript links that currently require redirect
...
Change-Id: Ie12ff2c4be5ca22ac43dfe3a16868c7bef8e4ae8
2013-02-05 14:23:13 -08:00
Stephen Hines
d34dc85f8f
We can only optimize bitmaps that have USAGE_SHARED.
...
Change-Id: I1149a9e25738da5ee348e3c18e7fdd7c1948e89e
2012-12-19 19:34:17 -08:00
Tim Murray
00bb454bd0
Add USAGE_SHARED for Allocations.
...
Change-Id: I61efafffaa649df68762d9ae29e029cd1e1bc6bc
2012-12-19 13:01:03 -08:00
Tim Murray
a314551d69
Add support for Bitmap-backed Allocations in Java.
...
Change-Id: Iab38a275aa6cdac91c76fa0d134fbc1e8f387913
Bug: 7256604
2012-12-04 18:27:07 -08:00
Tim Murray
f671fb0b35
Add copyFrom(Allocation a).
...
Change-Id: Ibc334326083b5471584dcf1c068e4e810aede20f
2012-10-05 16:45:45 -07:00
Tim Murray
bc254b9597
add resize2D to Java API
...
Change-Id: I91c0d2292486d63b93f8b07a9ec0137fe020ac21
2012-10-05 16:15:16 -07:00
Stephen Hines
9c9ad3f8c2
Revert "Deprecate"
...
This reverts commit a0c2eb27b4 .
Conflicts:
api/current.txt
graphics/java/android/renderscript/Element.java
graphics/java/android/renderscript/Script.java
Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
2012-05-07 15:34:29 -07:00
Alex Sakhartchouk
a0c2eb27b4
Deprecate
...
Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
2012-04-19 16:30:58 -07:00
Alex Sakhartchouk
918e840628
Unhiding J API's for Renderscript.
...
Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
2012-04-11 14:04:23 -07:00
Jason Sams
e07694b24f
Validate context when using RS objects.
...
BUG=6035422
Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
2012-04-03 15:36:36 -07:00
Jason Sams
c5f519c5ec
Rename ioReceive and ioSend
...
First checkin of Allocation IO test
Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
2012-03-29 17:58:15 -07:00
Jason Sams
fb9aa9f3ef
Convert from SurfaceTexture to Surface
...
Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
2012-03-28 15:30:07 -07:00
Jason Sams
36c0f64658
Add getSizeBytes and cleanup docs.
...
Change-Id: I854a41f50378590b58bfbb205906ed4bee440411
2012-03-23 15:48:37 -07:00
Jason Sams
03d2d00dc8
Cleanup Allocation docs and getter funcs.
...
Change-Id: Ic6fb92e0675d64016f0d471c1d9e5328101e4b36
2012-03-23 13:51:56 -07:00
Jason Sams
fe1d5ffd1b
Implement USAGE_IO_INPUT
...
Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
2012-03-23 11:47:26 -07:00
Jason Sams
f70b0fc880
start new headers
...
Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf
cpp
2012-02-22 15:22:41 -08:00
Jason Sams
163766cbe7
Beging IO stream out from allocation to surface texture.
...
Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
2012-02-15 12:04:24 -08:00
Stephen Hines
0599d6ede3
Merge "Fix typos/spacing with new APIs."
2012-02-14 13:38:43 -08:00
Stephen Hines
9069ee88cb
Fix typos/spacing with new APIs.
...
Change-Id: I26b772e8e29b12381042fb50c6dfa9df012b3f63
2012-02-13 18:25:54 -08:00
Jason Sams
532efd3ce2
Start implementing SurfaceTexture streaming into RS allocations.
...
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
Conflicts:
libs/rs/rsAllocation.h
2012-02-10 13:24:18 -08:00
Alex Sakhartchouk
98bea4a3ec
am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size."
...
* commit '7042613c653fd0de253f2f659901318902fa4584':
Fix an incorrect assert that doesn't account for element array size.
2012-02-02 14:56:34 -08:00
Alex Sakhartchouk
bf3c3f2ab1
Fix an incorrect assert that doesn't account for element array size.
...
Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
2012-02-02 09:47:26 -08:00
Jason Sams
615e7cee03
Start implementing SurfaceTexture streaming into RS allocations.
...
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
2012-01-13 14:01:20 -08:00
Joe Fernandez
fc8d7a960a
am 2b072677: am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
...
* commit '2b072677538de979961b5bf527109fdab1713731':
docs: Add developer guide cross-references, Project ACRE, round 4
2011-12-22 16:01:48 -08:00
Joe Fernandez
3aef8e1d1b
docs: Add developer guide cross-references, Project ACRE, round 4
...
Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
2011-12-22 15:08:23 -08:00
Jason Sams
857d0c7017
Private API to support MFF transition.
...
Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
2011-11-23 15:02:15 -08:00
Jason Sams
48fe534838
Add error checks for AllocationAdapters being used in unsupported ways.
...
Change-Id: If6506e04d65a7b3d79203ac7a20a7961368ef04f
2011-07-08 13:52:30 -07:00
Jason Sams
ad37cb26cd
Fix more type info caching bugs.
...
Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
2011-07-07 16:17:36 -07:00
Jason Sams
452a7661e8
Fix defered type creation when loading from A3D.
...
Change-Id: I09387c0859dcc9fe77014bc7486109d81742f298
2011-07-07 16:05:18 -07:00
Jason Sams
ba862d1544
AllocationAdapter cleanup.
...
Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
2011-07-07 15:24:42 -07:00
Stephen Hines
3c0618be2f
Merge "Add support for more vector types to RS."
2011-06-20 12:00:50 -07:00
Stephen Hines
20fbd01335
POSITVE -> POSITIVE typo fix
...
Change-Id: Ib26eb35fad0c93543f69f6c200820f04c435c2af
2011-06-16 19:31:55 -07:00
Alex Sakhartchouk
304b1f5497
Allocation copy functions.
...
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Alex Sakhartchouk
85dae045a2
Unhiding render target code for renderscript
...
Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9
2011-06-06 09:25:17 -07:00
Stephen Hines
836c4a58a7
Add support for more vector types to RS.
...
Change-Id: If1bc34ef6670b6b5de3c1b6b3b3325637b8c7b43
2011-06-01 15:34:46 -07:00
Alex Sakhartchouk
8e90f2bc1f
First draft of fbo in renderscript.
...
Updating samples and benchmark
Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
2011-04-01 14:19:01 -07:00
Robert Ly
11518acc8c
clean up and add javadocs
...
Change-Id: I7f628106247de887cd91c4a4b4b55d3ebfa700c8
2011-02-09 16:24:12 -08:00
Jason Sams
ed5bab93c6
fix bug 3375251
...
Copying arrays of objects would generate an exception
due to excessive internal type checking.
Change-Id: Ic89c24962408f1a95dc0385b74618a70d6ff5859
2011-01-21 13:08:02 -08:00
Jason Sams
4fa3eed8e0
Expose unchecked copyFrom variants.
...
Change-Id: I452d082bb4adbd578b6300bf5829dc59e91e517a
2011-01-19 15:44:38 -08:00
Jason Sams
b97b251c26
Add error checks to the copyFrom functions.
...
Change-Id: Iac064c52eb58b05a94fa1c432304c6216256555b
2011-01-16 16:11:42 -08:00
Jason Sams
21b4103e42
unhide functions used by reflected files for SDK.
...
Change-Id: I7cfbfa94cb21207cc5c91e08a60a7184da3f583a
2011-01-16 15:05:52 -08:00
Alex Sakhartchouk
f5c876e82d
Docs plus removing some junk per API review.
...
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
2011-01-13 14:53:43 -08:00
Alex Sakhartchouk
623c54dd16
Documentation
...
Change-Id: Idb5f87f9d2c0f7fb4677b1b45c232502d66b4668
2011-01-12 17:32:36 -08:00
Jason Sams
fb9f82ca4f
Implement more of copy2DRange*
...
Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
2011-01-12 14:53:25 -08:00
Jason Sams
f7086090cf
Cleanup bitmap uploads
...
Implement standalone mipmap generation.
Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
2011-01-12 13:28:37 -08:00