Stephen Hines
0a29fe1be1
am cc2daede: Merge "Properly recover from failed compilation."
...
* commit 'cc2daede56257f0f1f490a1aebf5b9b898d9816a':
Properly recover from failed compilation.
2012-02-02 21:28:17 -08:00
Stephen Hines
cc2daede56
Merge "Properly recover from failed compilation."
2012-02-02 21:25:19 -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
Stephen Hines
862dadb7a7
Properly recover from failed compilation.
...
BUG=5955072
We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.
Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
2012-02-02 13:23:20 -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
Alex Sakhartchouk
d5a62bb802
Adding getters to rs program obejcts.
...
Change-Id: Iff8ccc1835109d303201d6a1adb6e5cbde8ba634
2012-01-06 10:36:06 -08:00
Alex Sakhartchouk
a041adcb85
Merge "Missing getter and additional tests." into graphics-dev
2011-12-27 09:04:40 -08:00
Alex Sakhartchouk
60deb2d9ba
Merge "Adding tests for element/mesh getters. Fixing bugs found by tests." into graphics-dev
2011-12-27 09:03:38 -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
2b07267753
am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
...
* commit '201469f54522436be79d4d6665721049bfc74320':
docs: Add developer guide cross-references, Project ACRE, round 4
2011-12-22 15:59:34 -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
Alex Sakhartchouk
fd79e02e0f
Missing getter and additional tests.
...
Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
2011-12-22 14:30:55 -08:00
Alex Sakhartchouk
3aac0abe79
Adding tests for element/mesh getters.
...
Fixing bugs found by tests.
Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
2011-12-22 13:11:48 -08:00
Alex Sakhartchouk
f5d8ac7cc3
Element getters.
...
Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
2011-12-16 09:44:26 -08:00
Jason Sams
857d0c7017
Private API to support MFF transition.
...
Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
2011-11-23 15:02:15 -08:00
Alex Sakhartchouk
e679e2ebcf
am e693fa3e: am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1
...
* commit 'e693fa3e184f7a49f9bf912a0dac057fb339b8a4':
Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
2011-11-17 04:13:03 -08:00
Alex Sakhartchouk
e693fa3e18
am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1
...
* commit 'a962ef2993099e6c5db3809a7e829e43c8cf084a':
Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
2011-11-17 04:08:30 -08:00
Alex Sakhartchouk
af9dcfe641
am 5a471818: Merge "Expand RS vector3 types to vector4."
...
* commit '5a4718183340a108b55eba7bf755b4432153caa1':
Expand RS vector3 types to vector4.
2011-11-16 10:40:49 -08:00
Alex Sakhartchouk
5a47181833
Merge "Expand RS vector3 types to vector4."
2011-11-16 10:36:02 -08:00
Alex Sakhartchouk
e60149d227
Expand RS vector3 types to vector4.
...
BUG=5609007
The underlying LLVM implementation for vector3 types does this implicitly. If
RS does not adjust its implementation, we will always be misaligned for any
subsequent data after a vector3 type. We previously inserted padding into the
reflected layers from llvm-rs-cc (hence the skip padding part of this change).
We can safely ignore the padding now that the Java/native code is updated to
use the expanded size. The compiler will also need modification to ensure that
we don't mistakenly skip over any end-of-struct padding.
Fixing the 3 component vector padding problem.
Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
2011-11-15 15:15:21 -08:00
Alex Sakhartchouk
38da5086a6
Followup to a bug fix.
...
Addtion of synchronized to the methods triggers an API change.
Per council advice, pushing synch block into the function body.
Change-Id: Iaa395d9720bce499259ab750fe97149715e9f271
2011-11-15 14:21:58 -08:00
Alex Sakhartchouk
8ee964d10e
am b14d771c: am f579bb92: am cde433c5: Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1
...
* commit 'b14d771cf07479e3186a167a219fb2d42d8d4d30':
Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
2011-11-15 04:10:47 -08:00
Alex Sakhartchouk
93c47f1028
Fixing a race condition in RSSurfaceView. Bug 5601083
...
When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
Change-Id: I7a382a701efde3264e5cd9b9a9b428ade5eb4a9a
2011-11-11 11:49:45 -08:00
Jason Sams
f15ed0124e
Path rendering
...
Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
2011-11-10 15:19:16 -08:00
Alex Sakhartchouk
7d5f5e7c89
adding getters to Sampler ProgramRaster, ProgramStore, Element.
...
Element adds ability to get subelement info. Tests for new stuff.
Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
2011-10-18 11:08:31 -07:00
Jason Sams
85397d8dcb
Simplify the way we get the version info.
...
Reduces startup overhead.
Change-Id: Id9556dfe553c23bf3f870a524ca5e687bb9fe777
2011-10-06 17:55:26 -07:00
Jason Sams
94aaed3846
Remove unused fields in ProgramRaster
...
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
2011-09-23 14:18:53 -07:00
Christian Robertson
beb2b5cfdb
Replacing sans serif system font with Roboto
...
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Grace Kloba
402f055303
Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.
...
If returns true, the SurfaceTexture will be released by TextureView.
If returns false, the client needs to release the SurfaceTexture.
Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
2011-08-09 18:47:17 -07:00
Stephen Hines
4382467a80
Start using bcinfo components within librs.
...
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Alex Sakhartchouk
804b3d76c3
Merge "Add getName to renderscript base object"
2011-07-27 09:50:35 -07:00
Alex Sakhartchouk
0400b07c6b
Add getName to renderscript base object
...
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
2011-07-26 14:13:32 -07:00
Jason Sams
684b23513c
Unhide new RS apis.
...
Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
2011-07-26 14:07:19 -07:00
Jason Sams
ac7f69bac3
Merge "Add error checks for AllocationAdapters being used in unsupported ways."
2011-07-11 15:47:36 -07:00
Logan Chien
ef72ff220c
Use resource entry name instead of mangled name.
...
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
2011-07-11 15:32:24 +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
7c1747c13c
Merge "Remove verbose logging, update test app and docs."
2011-06-23 17:07:10 -07:00
Stephen Hines
3d782666d7
Remove verbose logging, update test app and docs.
...
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
Grace Kloba
cf559377b7
Add onSurfaceTextureUpdated to the TextureView listener.
...
The app needs a way to throttle the producer side. Expose this to enable it.
Change-Id: I04b6a3fc444117a9fc2449fb87c3c834247c8ef1
2011-06-22 23:05:40 -07:00
Jason Sams
dbe03ae5d0
Merge "Fix bugs in AllocationAdapter."
2011-06-21 17:14:09 -07:00
Jason Sams
ee2d809ab0
Fix bugs in AllocationAdapter.
...
Change-Id: Ib530fc719de3587f44eed88bd1d16e22dd5af64a
2011-06-21 17:07:23 -07:00
Stephen Hines
419091185f
Merge "Support missing RS vector types."
2011-06-21 16:35:39 -07:00
Stephen Hines
79ad3f25bc
Support missing RS vector types.
...
Change-Id: I87eae3cc79c3963d5a8edf16cc26eee6d93d81d7
2011-06-21 12:00:55 -07:00
Jason Sams
faa32b33b5
First cut at RSTextureView.
...
Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
2011-06-20 16:58:04 -07:00
Stephen Hines
3c0618be2f
Merge "Add support for more vector types to RS."
2011-06-20 12:00:50 -07:00
Stephen Hines
dc12262230
Merge "POSITVE -> POSITIVE typo fix"
2011-06-17 13:53:20 -07:00