Alex Sakhartchouk
415c842aa6
Merge "rsLib cleanup"
2011-05-12 10:15:17 -07:00
Alex Sakhartchouk
407cae9503
rsLib cleanup
...
Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
2011-05-06 14:59:45 -07:00
Jason Sams
7a22e107d1
Add code for generating fifo command packing.
...
Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
2011-05-06 14:30:52 -07:00
Alex Sakhartchouk
438505431c
Moving samplers behind the hal.
...
Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
2011-05-05 16:56:27 -07:00
Alex Sakhartchouk
a89094aa3b
Code Cleanup and better Sampler creation method
...
Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
2011-05-04 17:45:36 -07:00
Jason Sams
2698536b3f
Fix error checks on compute context creation.
...
Remove GL init for compute scripts.
Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
2011-05-03 17:27:26 -07:00
Jason Sams
629b565162
Merge "Try fixing auto data inlining again."
2011-05-03 14:52:22 -07:00
Jason Sams
b96e9517af
Try fixing auto data inlining again.
...
Change-Id: I95113db85551cbee774250eacb69553af1cf27bc
2011-05-02 16:29:42 -07:00
Alex Sakhartchouk
d224c64a1f
Merge "Moving renderscript GL code into the HAL This change affects - shaders - meshes - fonts - quad rendering"
2011-05-02 14:35:20 -07:00
Jason Sams
0be97d8b5e
Temporarly disable auto-inbanding.
...
Change-Id: Ia83389c094914f0bb69bff8f6965ae445c89de07
2011-05-02 14:31:28 -07:00
Alex Sakhartchouk
4a36b45c72
Moving renderscript GL code into the HAL
...
This change affects
- shaders
- meshes
- fonts
- quad rendering
Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
2011-04-29 16:49:08 -07:00
Jason Sams
eccf6c6483
Fix bug 4355588
...
With auto inbanding the fifo didn't reserve the correct size.
Caused failure on fifo wrap.
Change-Id: Ie78e7bef5286f68c6239f79ee2f284fd99bdacc3
2011-04-29 16:23:40 -07:00
Jason Sams
3ea208a843
Merge "Pipe rsa function though the RS api table."
2011-04-29 14:51:37 -07:00
Jason Sams
7da9ff5b97
Merge "Fix fifo size check code."
2011-04-29 14:50:09 -07:00
Jason Sams
c1f52d3f75
Fix fifo size check code.
...
Change-Id: If4a1874e34409e99c3fe63ff06e2b97e3369049d
2011-04-29 14:46:57 -07:00
Jason Sams
c576537166
Pipe rsa function though the RS api table.
...
Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
2011-04-28 18:26:48 -07:00
Jason Sams
a08526ac42
Start implementing control side forEach.
...
Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
2011-04-27 15:12:49 -07:00
Jason Sams
36f873c765
Merge "Cleanup rs.spec file and code generator."
2011-04-27 13:20:39 -07:00
Jason Sams
65bdaf1c6d
Cleanup rs.spec file and code generator.
...
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
2011-04-26 14:50:40 -07:00
Stephen Hines
64e00980a3
Merge "Start ICS header cleanup and finish type matrix."
2011-04-26 13:45:51 -07:00
Jason Sams
6cc888e77e
Start ICS header cleanup and finish type matrix.
...
Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
2011-04-25 16:09:48 -07:00
Alex Sakhartchouk
e7c4a7565c
Modifying libRS internal communication to handle network rendering.
...
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-25 14:30:27 -07:00
Jason Sams
21cd43cbba
Add matrix logging.
...
Change-Id: I42fb61747cf1ddf9b367faf6ce9109429d34e9cf
2011-04-22 14:25:07 -07:00
Jason Sams
e2b3304e40
Fix rsRand(float, float)
...
Change-Id: I553d83e1e962ad34aacbe6572d47ff25c3d50060
2011-04-22 14:25:07 -07:00
Jason Sams
b86a6ea41d
Merge "Move TLS behind hal."
2011-04-21 15:12:25 -07:00
Jason Sams
be8ac6ace9
Move TLS behind hal.
...
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Stephen Hines
118782298b
Merge "Reduce verbosity of Renderscript logging."
2011-04-20 17:22:36 -07:00
Jason Sams
0ec8c6f9a8
Remove accidental logging.
...
Change-Id: I59073a620c312485a0631069856fbd7ca40b4cbd
2011-04-20 17:14:26 -07:00
Stephen Hines
9c35d790e9
Reduce verbosity of Renderscript logging.
...
Change-Id: I0e20274e01b4068f90ef6ddd6ed7837d42f35813
2011-04-20 17:08:14 -07:00
Jason Sams
fcf7231249
Create runtime stubs for compute driver.
...
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Stephen Hines
97837c9172
Fix broken assert (if input allocation is NULL).
...
Change-Id: If02e86eee4ec059402edd6f8c408fd89b248bc80
2011-04-11 14:02:22 -07:00
Jason Sams
803626f615
Migrate most GL from context to driver.
...
Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
2011-04-06 17:52:23 -07:00
Jason Sams
bd184c5585
Cleanup character limits.
...
Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
2011-04-06 11:44:47 -07:00
Jason Sams
331bf9b14b
Seperate ProgramRaster.
...
Cleanup ProgramRaster and ProgramStore creation.
Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Jason Sams
48f505657a
Seperate GL from RS program store.
...
Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
2011-04-04 17:09:37 -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
Stephen Hines
623cb9585e
Properly handle script teardown.
...
If libbcc optimizes away a global variable, we need to make sure that
RenderScript's ~Context() doesn't attempt to clear away the slot's NULL
pointer that denotes this.
Change-Id: I77d0f740ab333338e53db481e4a3eca338aba411
2011-03-24 20:07:23 -07:00
Stephen Hines
044d7d99f8
Revert "Fix cleanup bug clearing script references."
...
This change was actually incorrect and causes crashes in ~Context.
This reverts commit 88728ecaeab1358e1748cbbf6ed954fd9a960692.
2011-03-24 11:50:40 -07:00
Jason Sams
88728ecaea
Fix cleanup bug clearing script references.
...
Change-Id: I693dd7523658a32837764854c12a6b690e8fb7c6
2011-03-18 17:38:40 -07:00
Jason Sams
80e29cf5c4
Fix bug with hal init uninitialized var.
...
Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603
2011-03-18 17:08:54 -07:00
Jason Sams
55d2a25402
Migrate thread launch to driver.
...
Change-Id: If182c524cceb327547640f22f956856d291d1787
2011-03-17 16:14:27 -07:00
Jason Sams
e4a06c5fc7
Start seperating out RS compute implementation. Create hal
...
layer to seperate from runtime.
Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-17 16:13:03 -07:00
Alex Sakhartchouk
20a9354e52
Fixing a small bug in debug output
...
Default font wasn't reset for debug output but used the last font instead.
Change-Id: I8fd713336febb8258d364845799ade42633907ab
2011-03-17 13:49:38 -07:00
Alex Sakhartchouk
b4a5f95b8e
am 6ff211e0: am 8f6c5226: am 55a9be3d: Merge "Fix for bug 3434228" into honeycomb-mr1
...
* commit '6ff211e08a7c5d51e3899d10be53878c05c244b5':
Fix for bug 3434228
2011-03-16 21:22:10 -07:00
Alex Sakhartchouk
2c74ad9aae
Fix for bug 3434228
...
Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
2011-03-16 19:28:25 -07:00
Stephen Hines
cc0773bd02
am ae2f3b3a: am c2db0d40: Merge "Make RS Matrix functions threadable." into honeycomb-mr1
...
* commit 'ae2f3b3a4629629914e6ad5d410594c7dbc856ee':
Make RS Matrix functions threadable.
2011-03-15 13:01:30 -07:00
Stephen Hines
413bce45ba
Make RS Matrix functions threadable.
...
BUG=4100079
Change-Id: I6cefa0eab42481fa974077d6aed98007f9fd87f7
2011-03-14 19:16:19 -07:00
Iliyan Malchev
3070af0882
frameworks/base: remove LOCAL_PRELINK_MODULE
...
Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-14 14:25:59 -07:00
Stephen Hines
cac8228e9c
Fix a race condition during Context init/teardown.
...
This change makes Context initialization wait properly for all threads to be
available before leaving initContext(). This prevents a case where ~Context()
gets called before all created threads have started/finished their work. This
was triggered/discovered by running some very short-lived tests in CTS.
BUG=4064203
Change-Id: I1dd6f43fa7942c53881008e857df864e2395202e
2011-03-08 16:54:23 -08:00
Stephen Hines
1bf1f8df17
DO NOT MERGE: Almost all warnings are now errors in RS build.
...
Change-Id: Ie4952cdf5c75bf1b7a7899a32b3b1f8747686356
2011-03-03 16:12:43 -08:00