Commit Graph

716 Commits

Author SHA1 Message Date
8851617aea remove unused code 2009-09-29 22:32:36 -07:00
45094a34f0 remove dead code 2009-09-29 15:26:42 -07:00
bd5b572279 absf() -> fabsf() instead of fabs()
Change-Id: I5571a635757295aa1514aeaff72e80cc3dd8752c
2009-09-29 13:17:27 -07:00
ff966d5f6c Merge change I5235cf3f into eclair
* changes:
  Fix but processing raster state pragma. rename stateFragmentStore to stateStore
2009-09-28 21:34:37 -04:00
5235cf3f41 Fix but processing raster state pragma.
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
fe1a86df8b Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH. 2009-09-28 13:51:59 -07:00
81384bf927 don't emit GL commands when sf is in freeze mode
We were emitting GL commands, calling composition complete and releasing clients
without ever calling eglSwapBuffers(), which is completely wrong on non-direct
renders. This could cause transient drawing artifacts when unfreezing the
screen (upon orientaion change for instance) and could also block the clients
for ever as they are waiting for their previous buffer to be rendered.
2009-09-27 22:47:32 -07:00
960972d465 Merge change 27375 into eclair
* changes:
  Allways dump the list of allocated buffers when an allocation fails.
2009-09-27 21:47:29 -04:00
c4646e654a Allways dump the list of allocated buffers when an allocation fails.
Hopefully this will help us understand cases of failures such as [2148405]
2009-09-27 18:44:09 -07:00
41c64ba73c Merge change 27364 into eclair
* changes:
  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 21:04:09 -04: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
119376ed49 fix "pacakge" typo in error log message 2009-09-27 17:03:12 -07:00
f075b4e713 Fix fountain crash. 2009-09-25 20:24:54 -07:00
0c103af370 Merge change 27171 into eclair
* changes:
  Fix remaining object leaks.  Change FountainView to tear down the rsContext and recreate on rotation to test teardown.
2009-09-25 19:52:41 -04: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
aafc7b547c Merge change 27169 into eclair
* changes:
  Improved object lifecycle tracking and fix leaks.
2009-09-25 19:38:40 -04:00
61f08d6fa7 Improved object lifecycle tracking and fix leaks. 2009-09-25 16:37:33 -07:00
f37b258c88 Merge change 27146 into eclair
* changes:
  Reduce debugging spew and add props to selectivly re-enable it.
2009-09-25 18:27:25 -04:00
66b2771d74 Reduce debugging spew and add props to selectivly re-enable it.
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
2009-09-25 15:25:00 -07:00
2896f7d67a Merge change 27137 into eclair
* changes:
  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 18:00:08 -04: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
8de57d8fa3 Add camera parameter key constants and documentation. 2009-09-25 14:23:56 -07:00
65e7aa56f5 Implement pause/resume for the RS thread. 2009-09-24 17:38:20 -07:00
0d3999f788 Merge change 26942 into eclair
* changes:
  Minor cleanup of profile and compile logging.
2009-09-24 18:46:39 -04:00
d3f2eaf60a Minor cleanup of profile and compile logging. 2009-09-24 15:42:52 -07:00
b9c932ba12 Merge change 26925 into eclair
* changes:
  minor SurfaceFlinger code cleanup and remove unnecessary tests
2009-09-24 18:21:40 -04:00
f2d28b7485 minor SurfaceFlinger code cleanup and remove unnecessary tests 2009-09-24 14:57:26 -07:00
a6a4113d50 Merge change 26917 into eclair
* changes:
  Fix invokables to make sure script pointers are setup before invoking function calls.  Reduce app startup time up to 1s.
2009-09-24 17:56:39 -04: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
a183cb5ebd Merge change 26897 into eclair
* changes:
  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 15:35:17 -04:00
e31c0b5693 Merge change 26708 into eclair
* changes:
  Remove depricated triangleMesh.
2009-09-24 15:34:26 -04: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
4cc86e1ae8 Clear the device's data from the transport when backup is disabled
Turning off backup in the Settings UI constitutes an opt-out of the whole
mechanism.  For privacy reasons we instruct the backend to wipe all of the data
belonging to this device when the user does this.  If the attempt fails it is
rescheduled in the future based on the transport's requestBackupTime()
suggestion.  If network connectivity changes prompt the transport to indicate a
backup pass is appropriate "now," any pending init operation is processed before
the backup schedule is resumed.

The broadcasts used internally to the backup manager are now fully protected;
third party apps can neither send nor receive them.

(Also a minor logging change; don't log 'appropriate' EOF encountered during
parsing of a backup data stream.)
2009-09-24 11:19:04 -07:00
cc934763c3 turn dithering off if it's not needed 2009-09-23 19:16:27 -07:00
44cac13465 fix [2142193] disable GL_LINEAR when not needed 2009-09-23 18:55:02 -07:00
6b9dec00af Remove depricated triangleMesh. 2009-09-23 18:07:45 -07:00
a30071273a Merge change 26728 into eclair
* changes:
  Make the renderscript timing logging available by setting debug.rs.profile=1
2009-09-23 20:27:52 -04:00
9ac2c66f01 Make the renderscript timing logging available by setting debug.rs.profile=1 2009-09-23 17:26:07 -07:00
2e4b68d57b fix [2133214] STOPSHIP: revert I4a06bb4f: workaround for [2113743] Sholes: frozen then runtime restart going to list view
Revert "workaround for [2113743] Sholes: frozen then runtime restart going to list view"

This reverts commit 4a06bb4f33.
2009-09-23 16:59:57 -07:00
bc7261130a fix [2132563] stuck in boot animation (framebuffer_device_open: Failed to create flip chain) 2009-09-23 15:49:32 -07:00
5dd7c726f4 Merge change 26667 into eclair
* changes:
  Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 17:00:22 -04: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
bdeccbba6f Merge change 26623 into eclair
* changes:
  fbDev wasn't initialized of hw_get_module failed, but was then used anyway.
2009-09-23 15:02:49 -04:00
e613468402 fbDev wasn't initialized of hw_get_module failed, but was then used anyway. 2009-09-23 10:56:51 -07:00
59038ca98b Update viewport when height or width change. 2009-09-22 12:26:53 -07:00
f69a3f8dc5 Fix issue 2116700: Ringer screwy while connected over Bluetooth.
There was a regression introduced in AudioFlinger by change 24114 for suspended output:
The suspended output was not reading and mixing audio tracks.
When the phone is ringing, the A2DP output is suspended if the SCO headset and A2DP headset are the same. As the ringtone is played over the duplicated output, the fact that the A2DP output was not reading data was causing the hardware output to be stalled from time to time.
2009-09-22 00:35:48 -07:00
fa0a4bde3f Work around gcc 4.0.3 bug.
This appears to fix the sim-eng build on the gDapper build machines.

Basic problem is that LayerBuffer::OverlaySource has a constructor that
calls SurfaceFlinger.signalEvent().  SurfaceFlinger lists LayerBuffer
as a friend, but that's not enough to convince gcc that the embedded
OverlaySource class is also a friend.  I don't see a way to make them
friendly, so I marked signalEvent() as public.
2009-09-21 14:33:20 -07:00
c6a22beff2 Merge change 26081 into eclair
* changes:
  workaround for [2113743] Sholes: frozen then runtime restart going to list view
2009-09-20 20:12:30 -04:00
4a06bb4f33 workaround for [2113743] Sholes: frozen then runtime restart going to list view 2009-09-20 17:08:45 -07:00
6cca1599f7 Fix issue #1862317: Browser does not appear to honor anchors (#es) in links
Also a little improved debugging output of bad resource identifiers.

Change-Id: I054064ef22855608ffd722e4ccf12ce57d1992b2
2009-09-20 12:40:03 -07:00