c73ec39bd0
DO NOT MERGE. Implement WAR which should prevent the white square bug from appearing on user devices. If we see a 0 texture id during bind for rendering, attempt to re-upload. If this fails log debug info and restart the app.
2009-12-03 15:43:18 -08:00
9dab667e03
Force a crash under conditions where white square bug in all apps is likely to occur.
2009-11-24 12:26:35 -08:00
361765361a
Fix ref counting bug that could cause memory leak in allApps.
2009-11-23 15:28:55 -08:00
ddac83a516
Fix extended logging for object dumping.
2009-11-19 13:08:17 -08:00
715333b832
Add support for dumping RS objects to aid in debugging of white blocks bug.
2009-11-17 17:26:46 -08:00
7d787b4722
Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-15 12:14:26 -08:00
eb4b031804
Make default vertex program correctly track surface size.
2009-11-12 16:09:45 -08:00
3bc47d4381
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
2009-11-12 15:10:47 -08:00
baed727481
Don't feed the timezone to RenderScript time functions, let the library figure it out.
...
Bug #2211070 .
Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
2009-11-11 15:36:06 -08:00
0e27b5cadb
Fix texture upload bug for narrow texture of less than 32bpp.
2009-11-05 12:44:58 -08:00
efd9b6fb2e
Support applications changing the surface attached to the RS.
2009-11-03 14:15:28 -08:00
9d5e03db99
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-03 11:25:42 -08:00
c4918c3014
Fix a build break. Too many branches to keep track of.
2009-11-02 15:05:04 -08:00
b7a6c4340a
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
2009-11-02 14:25:10 -08:00
911458a081
Fix x offset for boxed textures
2009-10-28 15:10:56 -07:00
7136220b54
Fix egl cleanup code on context teardown.
2009-10-27 14:44:31 -07:00
741a6100a0
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 18:45:45 -07:00
41c19db90e
Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
2009-10-15 16:47:31 -07:00
c7412b3b08
Minor bug fixes and add glError check.
2009-10-15 16:06:42 -07:00
6a17e163a0
Add egl init start message to help debug driver init hangs.
2009-10-15 16:06:42 -07:00
d7fa122dfe
Add new RenderScript sample: ImageProcessing.
...
Change-Id: I5e482bbc34911c940a3a74258f8f8549b1939bc4
2009-10-09 16:05:25 -07:00
bd2197fb00
Add script to script call support. Add exception to catch out of bound index data when added to TriangleMeshBuilder.
2009-10-07 18:14:01 -07:00
996db8dace
Fix tls crash on startup if more than one RS contexts are created in one process.
2009-10-06 17:16:55 -07:00
516c319115
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
...
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.
Change only impacts renderscript and renderscript apps.
2009-10-06 13:58:47 -07:00
7f047786d9
Update the SimpleMesh API to support new attribute types. Also spilt add/set commands to avoid permutation explosion.
2009-10-02 18:18:35 -07:00
9e384dddb8
Add a test pattern as rollo's icon
2009-10-01 16:48:44 -07:00
e9ad9a719d
Implement screen aligned bitmap drawing support.
2009-09-30 17:40:06 -07:00
bd5b572279
absf() -> fabsf() instead of fabs()
...
Change-Id: I5571a635757295aa1514aeaff72e80cc3dd8752c
2009-09-29 13:17:27 -07:00
5235cf3f41
Fix but processing raster state pragma.
...
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
3c0dfbab80
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
2009-09-27 17:50:38 -07:00
f075b4e713
Fix fountain crash.
2009-09-25 20:24:54 -07:00
a57e982785
Fix remaining object leaks. Change FountainView to tear down the rsContext and recreate on rotation to test teardown.
2009-09-25 16:50:36 -07:00
61f08d6fa7
Improved object lifecycle tracking and fix leaks.
2009-09-25 16:37:33 -07:00
66b2771d74
Reduce debugging spew and add props to selectivly re-enable it.
...
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
2009-09-25 15:25:00 -07:00
a9e7a05b84
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
2009-09-25 14:51:22 -07:00
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -07:00
d3f2eaf60a
Minor cleanup of profile and compile logging.
2009-09-24 15:42:52 -07:00
e60446b9c1
Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
2009-09-24 14:55:38 -07:00
b6f2b131c4
Removed last bits of predefined element types from native code. Predefined types are now constructed at the java layer from standard building blocks.
2009-09-24 12:33:45 -07:00
6b9dec00af
Remove depricated triangleMesh.
2009-09-23 18:07:45 -07:00
9ac2c66f01
Make the renderscript timing logging available by setting debug.rs.profile=1
2009-09-23 17:26:07 -07:00
ebfb436a49
Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 13:57:02 -07:00
59038ca98b
Update viewport when height or width change.
2009-09-22 12:26:53 -07:00
d342fd7526
Clean up some debugging and add 2 math lib routines.
2009-09-18 14:24:24 -07:00
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
988f6ebb44
Minor perf tweak for fountain.
2009-09-14 15:00:05 -07:00
fa736d79b7
Remove the FallRS demo, now promoted as a wallpaper.
...
Change-Id: I0e40f2aa4b51f9e9cdbe14d178491b3667662023
2009-09-09 13:10:56 -07:00
ac67ebe667
Merge change 24058 into eclair
...
* changes:
Minor perf improvement to fall and expand use of struct.
2009-09-04 18:21:30 -07:00
a3c745dafa
Merge change 24057 into eclair
...
* changes:
checkpoint
2009-09-04 18:21:18 -07:00
7042cde5e1
Minor perf improvement to fall and expand use of struct.
2009-09-04 18:19:46 -07:00