Robert Ly
861d5ecc7c
am b962b98b: am 67a15457: am e5e11fd6: Merge "docs: fixing bug 5942573" into ics-mr1
...
* commit 'b962b98bef33eba634aec41cf9d84527ce9db3bb':
docs: fixing bug 5942573
2012-03-02 09:11:54 -08:00
Jason Sams
1a4e1f3efd
Make compute work without an app context.
...
Change-Id: I644b4711135d6f5d9866b6c2e5e6f6a5ceb1f3d4
2012-02-24 17:51:24 -08:00
Jason Sams
a6f338ca5f
Do RS caching the same way HardwareRenderer does.
...
Eliminates the need for an application context for caching.
Change-Id: I4374738083b5eb4ce983d2cb5409428e3668c423
2012-02-24 16:22:16 -08:00
Robert Ly
f11ffc1178
docs: fixing bug 5942573
...
Change-Id: I2479dc8916f98a8bf7dbec95dc29cbd871c51be5
2012-02-22 16:35:42 -08:00
Jason Sams
f70b0fc880
start new headers
...
Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf
cpp
2012-02-22 15:22:41 -08:00
Alex Sakhartchouk
791c0d188a
Merge "Piping texture names through shader builder. Fixing uint size_t mismatch."
2012-02-16 09:28:21 -08:00
Stephen Hines
3beb60e67a
Vectors of non-primitive types are not allowed.
...
BUG=6016669
Change-Id: Ibab2dfc5ce3d9ceb5513e6b5ffc53d5df8b7c6e7
2012-02-15 19:07:43 -08:00
Alex Sakhartchouk
2123b46ba8
Piping texture names through shader builder.
...
Fixing uint size_t mismatch.
Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
2012-02-15 16:21:46 -08:00
Stephen Hines
f6fb3ab8c0
Merge "Update Element.isCompatible() to work with NONE."
2012-02-15 15:21:01 -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
2094811371
Update Element.isCompatible() to work with NONE.
...
In the past, we used a null reference to signify a user-created Element. The
use of DataType.NONE for user-created Elements thus required an update to our
Element compatibility check.
Change-Id: I3293a645eff85c9040487c22f3a3240862f74350
2012-02-14 19:42:42 -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
Stephen Hines
0b1ad704f4
am e05bc81c: Merge "We should not throw for non-fatal errors."
...
* commit 'e05bc81c19838801b91de2642dc275a16dd7cf71':
We should not throw for non-fatal errors.
2012-02-03 15:37:52 -08:00
Stephen Hines
be74bdd234
We should not throw for non-fatal errors.
...
BUG=5955072
Change-Id: I731242805957a057aaff1ba96a58c69d6e474a59
2012-02-03 15:29:36 -08:00
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