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
Jason Sams
5585e36a41
Balls test app.
...
Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
2010-10-29 10:28:13 -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
Alex Sakhartchouk
98bfe5d02a
Some cleanup
...
Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
2010-10-18 17:18:50 -07:00
Jason Sams
3b9c52ab8c
Async type creation.
...
Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
2010-10-14 17:48:46 -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
10825a07ae
Adding text metrics to renderscript.
...
Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
2010-10-05 11:33:27 -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
Stephen Hines
01f0ad7c13
Fix clear() operation for rsScriptC.
...
- This removes a memory leak where some elements were not getting tracked
properly (and then triggering an assert when a context is destroyed).
- Convert ScriptCState to use a tracked object reference for mScript.
- Add a missing clear to FontState.
- Clean up synchronization in RSTest so that our graphics context outlives
any subtest context.
Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
2010-09-29 16:58:17 -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
cfc0436699
Fix partial NP2 support and restrict mipmaps and clamp
...
modes on HW that does not support proper NP2
bug 2965170
Change-Id: If9a3ac45264861fc75b9616e98957e12a5464411
2010-09-14 14:59:37 -07:00
Jason Sams
1d45c47975
Add matrix component types.
...
Fix potental overflow in script -> java messages.
Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
2010-08-25 14:41:20 -07:00
Jason Sams
d0cb106ff2
Fix bug looping non-blocking fifos.
...
Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
2010-08-18 12:38:03 -07:00
Jason Sams
d78be37d81
Remove OOB object destruction.
...
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
2010-08-17 19:28:29 -07:00
Jason Sams
b39a8272f5
Fix behavior where the non-blocking sendToCliend would block
...
when there was enough room for the message but not the message header.
Change-Id: I600db04b91e76fa7966c7d8a98e5c56593e1806d
2010-08-05 15:17:15 -07:00
Alex Sakhartchouk
55e8198356
Fixing fonts to use constant color instead of variable.
...
Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
2010-08-05 11:24:14 -07:00
Alex Sakhartchouk
518f033b68
Adding more matrix math functions.
...
Fixing build.
Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
2010-08-05 10:28:43 -07:00
Alex Sakhartchouk
fb10c16a05
Added ability to set font color.
...
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
2010-08-04 14:45:48 -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
17966517a1
Cleanup sendToClient and add rsGetDt().
...
Remove legacy implemtation of matrix calls which were moved to llvm bc.
Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
2010-07-28 11:17:53 -07:00
Jason Sams
7f4d0c9705
Query the CPU count and use the result to determine
...
if and how many worker threads we use.
Change-Id: I8fc1fb17aff835cfe8ed7c474287bccd532cbb29
2010-07-26 17:12:55 -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
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
96ed4cfa62
Remove InvokeData and add ContextFinish to generate a sync point.
...
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-15 12:15:57 -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
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
Jason Sams
2978bfc6ad
beging np2 extension check work.
2010-02-22 15:37:51 -08:00
Mathias Agopian
128ce4b24a
real fix for [2440014] launcher2 crashing in loop during boot
...
Surface* cannot be casted to void* and then to android_native_window_t*
2010-02-12 14:04:35 -08:00
Mathias Agopian
5cbb940cf6
Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
...
This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
2010-02-12 12:00:38 -08:00
Jack Palevich
a0659aa36c
Revert "RenderScript should not depend on libsurfaceflinger_client.so"
...
This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
2010-02-12 18:21:26 +08:00
Mathias Agopian
88b55fb090
RenderScript should not depend on libsurfaceflinger_client.so
2010-02-11 14:57:11 -08:00
Mathias Agopian
000479f9e3
split libsurfaceflinger_client and libcamera_client out of libui
2010-02-11 13:16:22 -08:00
Jason Sams
704ff64b09
Preview seperating RenderScript into RenderScript and RenderScriptGL
2010-02-09 16:05:07 -08:00
Jason Sams
a09a6e145b
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
2010-01-06 12:01:51 -08:00
Jason Sams
e17964e150
Add RS support for generic attribs as input to vertex programs.
2010-01-04 16:52:27 -08:00
Jason Sams
718cd1f322
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
...
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Jason Sams
5dad8b4d1f
Place shader logging behind prop to declutter logs.
2009-12-15 19:10:11 -08:00