Stephen Hines
4382467a80
Start using bcinfo components within librs.
...
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Alex Sakhartchouk
17a8a1939d
More work to make libRS buildable on the host.
...
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-06-03 10:18:01 -07:00
Jason Sams
7e8aae7f76
Start splitting allocation into hal and core.
...
Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
2011-05-26 16:33:01 -07:00
Alex Sakhartchouk
6c72eec06e
Preparing libRS for for compilation on host.
...
Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
2011-05-17 16:42:24 -07:00
Jason Sams
edbfabdb98
Core to client fifo on sockets.
...
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-05-17 15:01:29 -07:00
Alex Sakhartchouk
407cae9503
rsLib cleanup
...
Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
2011-05-06 14:59:45 -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
be8ac6ace9
Move TLS behind hal.
...
Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
2011-04-21 11:46:50 -07:00
Jason Sams
fcf7231249
Create runtime stubs for compute driver.
...
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Jason Sams
803626f615
Migrate most GL from context to driver.
...
Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
2011-04-06 17:52:23 -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
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
2c74ad9aae
Fix for bug 3434228
...
Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
2011-03-16 19:28:25 -07:00
Alex Sakhartchouk
d0f5bd130b
Cleaning up the serialization change.
...
Renaming the define to be more in line with what it does and removing the host stub header file.
Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
2011-01-31 14:53:24 -08:00
Jason Sams
9333e64f79
Re-implement img npot support in HC.
...
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
2011-01-13 17:02:35 -08:00
Stephen Hines
1ac9da6717
Split time functions into rs_time.rsh header.
...
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
2011-01-09 17:04:18 -08:00
Jason Sams
5c68a712da
Fix teardown bug found in books.
...
Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
2010-12-24 14:42:54 -08:00
Alex Sakhartchouk
6b5222dd53
Perf test
...
Change-Id: I5cfc1b6dd438b13091993d4669e10fb2e49aaa06
2010-12-13 14:48:21 -08:00
Jason Sams
5476b450e5
Allocation API update.
...
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-12-08 16:14:36 -08:00
Jason Sams
add9d96332
More error checks
...
Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
2010-11-22 16:20:16 -08:00
Jason Sams
a17af04e62
Create holder inner class for pushing context state.
...
Fix bug with rsForEach corrupting parent context state.
Remove workaround from rsBalls.
Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
2010-11-17 15:29:32 -08:00
Alex Sakhartchouk
ed9f210568
Code cleanup to make formatting consistent
...
across all the renderscript files.
Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-10 11:30:51 -08:00
Jason Sams
1c41517124
Handle user message ID 0
...
Pass RS runtime errors back to java.
throw exceptions for runtime errors.
Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
2010-11-08 17:19:31 -08:00
Jason Sams
d5f0630034
RS Error cleanup.
...
Thow java exception during init if the
GL driver fails rather than native crash.
Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
2010-11-03 14:27:11 -07:00
Alex Sakhartchouk
581cc64028
Adding nvidia extension for limited npot support.
...
Updating a3d loading to be async.
Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
2010-10-27 14:10:07 -07:00
Jason Sams
11c8af9ded
Begin hooking up SurfaceConfig.
...
Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
2010-10-13 15:31:10 -07:00
Alex Sakhartchouk
76322af2a6
Adding average fps counter.
...
Removing rsLight from libRS
Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
2010-10-05 13:28:09 -07:00
Alex Sakhartchouk
feede2aee6
fixing bugs 3053960, 3044804, 3044798
...
shader cleanup and removing unnecessary state setup.
Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
2010-10-01 14:11:52 -07:00
Jason Sams
f166d9b5a2
Add object validity checking.
...
Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
2010-09-30 18:15:52 -07:00
Alex Sakhartchouk
4378f11755
More robust attribute binding
...
Adding attribute and uniform debug logging.
Checking to see if aniso filtering is available.
Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
2010-09-29 09:49:13 -07:00
Jason Sams
f3470edc8a
Fix safe for mp check in ScriptC.
...
Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
2010-09-28 14:41:42 -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
Jason Sams
d081fffab5
Cleanup GL setup code and remove legacy 1.1 paths.
...
Reset pointers to NULL when allocations are unbound.
Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
2010-09-16 18:18:29 -07:00
Jason Sams
d78be37d81
Remove OOB object destruction.
...
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
2010-08-17 19:28:29 -07:00
Alex Sakhartchouk
6de555001b
Adding onscreen frame and script time for debugging.
...
Change-Id: I5780092d14d49dae556b9969b937c7768e705a64
2010-08-03 12:03:16 -07:00
Jason Sams
c7f4e41ecd
Update imageprocessing to remove generated files.
...
Fix thread launch race condition.
Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
2010-07-20 15:09:00 -07:00
Jason Sams
8e6c17fcc4
Threading RS ForEach.
...
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
2010-07-19 15:38:19 -07:00
Alex Sakhartchouk
164aaedf7f
Start of mesh API cleanup.
...
Switched all native code to go through Mesh class.
Removed SimpleMesh
Added java Mesh class
Will need to port all existing code to use java Mesh, then remove java SimpleMesh.
Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
2010-07-01 16:14:12 -07:00
Dianne Hackborn
efcd77407b
am 177c405a: am c6e1d880: Merge "Introduce official public NativeWindow type." into gingerbread
...
Merge commit '177c405a242e811b1010bd8382b5807ab8df31a8'
* commit '177c405a242e811b1010bd8382b5807ab8df31a8':
Introduce official public NativeWindow type.
2010-06-30 16:11:21 -07:00
Dianne Hackborn
8b49bd1a2f
Introduce official public NativeWindow type.
...
Not yet hooked up to anything in the NDK, but requires renaming
the existing android_native_window_t type everywhere.
Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
2010-06-30 15:32:04 -07:00
Alex Sakhartchouk
9b949fce39
Adding freetype font rendering to renderscript.
...
Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
2010-06-24 17:15:34 -07:00
Jason Sams
f17bccc905
Rough implemetation of ForEach.
...
Remove launchID from root graphics script.
Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-28 18:23:22 -07:00
Jason Sams
d79b2e9f8b
Begin naming cleanup for renderscript runtime.
...
Prefix functions with "rs" or "rsg".
Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -07:00
Jason Sams
f603d21255
Change RS to use the passed surface size rather than EGL size.
...
Its possible that during a resize the EGL information could be stale so
caching this is bad. The surface size should always be correct.
Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685
Conflicts:
libs/rs/rsProgramStore.cpp
libs/rs/rsProgramStore.h
2010-05-14 15:30:29 -07:00
Jason Sams
54db59c359
Rename ProgramFragmentStore to ProgramStore.
...
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -07:00
Jason Sams
4d3399337d
Convert renderscript from using ACC to LLVM for its compiler.
...
This will also require application to be updated to support
the new compiler and data passing models.
Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-05-11 14:03:58 -07:00
Jason Sams
c1d726c2d6
Seperate out Mutex and Signal code into reusable classes.
...
Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
2010-03-26 14:20:26 -07:00
Jason Sams
f468700b6d
checkpoint animations
...
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
2010-03-16 12:26:30 -07:00
Jason Sams
156cce6980
Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
2010-03-03 14:14:37 -08:00