Eric Laurent
327c27be19
Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
...
Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
2009-08-27 05:58:10 -07:00
Mathias Agopian
a8d49178f9
dumpsys SurfaceFlinger will now always dump SF's state, even if SF is deadlocked
...
(in this case the state is dumped without the proper locks held which could result to a crash)
in addition, the last transaction and swap times are printed to the dump as well as the time spent
*currently* in these function. For instance, if SF is unresponsive because eglSwapBuffers() is stuck,
this will show up here.
2009-08-26 16:55:50 -07:00
Jason Sams
67c6844ea0
Remove bogus comments and logging.
2009-08-25 17:09:59 -07:00
Jason Sams
f5b4596a38
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
2009-08-25 14:49:07 -07:00
Jason Sams
b13ada5071
Add support for selecting the color bit depth and if the application used a depth buffer.
2009-08-25 11:44:30 -07:00
Romain Guy
463a60830f
Remove Galaxy Render Script, replaced by its wallpaper equivalent.
...
Change-Id: I28c91d648fe5ab6e794bf55d11879388b139dbe9
2009-08-24 13:12:40 -07:00
Android (Google) Code Review
6f89172b6e
Merge change 22352 into eclair
...
* changes:
Fix FallRS by keeping a reference to the mesh.
2009-08-21 16:30:13 -07:00
Romain Guy
1965610f3b
Fix FallRS by keeping a reference to the mesh.
2009-08-21 16:29:42 -07:00
Mathias Agopian
9e2be20cc5
fix [2070341] [FAST BLOCKER] can't successfully setup erc52
2009-08-21 15:44:17 -07:00
Android (Google) Code Review
75e6c77139
Merge change 22169 into eclair
...
* changes:
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:54 -07:00
Romain Guy
d22fff7185
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:33 -07:00
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Benny Wong
f99c18083e
Add offset handling in MemoryHeapBase class
2009-08-20 03:55:20 -07:00
Android (Google) Code Review
34484ae708
Merge change 22024 into eclair
...
* changes:
Micro-optimizations for FallRS
2009-08-19 18:08:33 -07:00
Romain Guy
8e7c671db7
Micro-optimizations for FallRS
2009-08-19 18:08:09 -07:00
Android (Google) Code Review
ba5372f818
Merge change 22021 into eclair
...
* changes:
fix a bug that caused the PixelFormat viewed by Surface to be wrong.
2009-08-19 17:48:48 -07:00
Mathias Agopian
18b6b49ea5
fix a bug that caused the PixelFormat viewed by Surface to be wrong.
...
what happened is that the efective pixel format is calculated by SF but Surface nevew had access to it directly.
in particular this caused query(FORMAT) to return the requested format instead of the effective format.
2009-08-19 17:46:26 -07:00
Android (Google) Code Review
b5f2ce6e2f
Merge change 22011 into eclair
...
* changes:
fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:38:45 -07:00
Romain Guy
313b5b8b63
Improved performance in Galaxy and Fall
2009-08-19 17:16:17 -07:00
Mathias Agopian
b2f8450db8
fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:10:18 -07:00
Android (Google) Code Review
6794e1ba38
Merge change 21927 into eclair
...
* changes:
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:18:28 -07:00
Jason Sams
f4d160653f
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:17:14 -07:00
Romain Guy
484d57f435
Move the sky
2009-08-19 12:10:03 -07:00
Romain Guy
8a947bd696
Tweak the water and its texture
2009-08-18 18:38:38 -07:00
Android (Google) Code Review
6c8dd9841f
Merge change 21831 into eclair
...
* changes:
Add reflections to the water
2009-08-18 17:22:02 -07:00
Romain Guy
15b2969818
Add reflections to the water
2009-08-18 17:21:07 -07:00
Jason Sams
730ee65d4d
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
2009-08-18 17:07:09 -07:00
Jason Sams
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -07:00
Romain Guy
cac80a6e13
Tweak the galaxy
2009-08-18 11:39:17 -07:00
Android (Google) Code Review
948ee25127
Merge change 21660 into eclair
...
* changes:
Optimized Galaxy
2009-08-17 20:00:32 -07:00
Romain Guy
4f7136c659
Optimized Galaxy
2009-08-17 19:59:27 -07:00
Android (Google) Code Review
9fb956dbdc
Merge change 21653 into eclair
...
* changes:
Remove global IO context and integrate it into the RS context.
2009-08-17 18:40:38 -07:00
Jason Sams
bc948dedce
Remove global IO context and integrate it into the RS context.
2009-08-17 18:35:48 -07:00
Andreas Huber
2f10ae08d4
Support for marshalling pointers / intptr_t in Parcel.
...
Some refactoring to eliminate code duplication in Parcel implementation.
2009-08-17 15:31:25 -07:00
Jason Sams
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
Android (Google) Code Review
8af2d22552
Merge change 21471 into eclair
...
* changes:
Add Galaxy wallpaper
2009-08-16 23:24:12 -07:00
Romain Guy
81e4640d18
Add Galaxy wallpaper
2009-08-16 23:22:44 -07:00
Mathias Agopian
321abdb092
make sure to update a surface's usage bits when it changes, instead of only the first time.
...
also fixed a few locking issues in Surface and commented how each member is protected.
2009-08-14 18:52:17 -07:00
Mathias Agopian
c4915de8bb
fix a bug that could cause a window to be hidden in some cases.
...
this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.
in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.
2009-08-13 19:08:00 -07:00
Mathias Agopian
317a6280cc
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
...
this also ripples into the window manager API by making some constant there deprecated as well.
2009-08-13 18:19:32 -07:00
Android (Google) Code Review
1e16e4018c
Merge change 21152
...
* changes:
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 14:18:52 -07:00
Jason Sams
fbf0b9ecda
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 12:59:04 -07:00
Android (Google) Code Review
34453aeefb
Merge change 21059
...
* changes:
make sure EGL_ANDROID_swap_rectangle is actually supported before using it
2009-08-12 21:25:15 -07:00
Mathias Agopian
42fd8050ba
make sure EGL_ANDROID_swap_rectangle is actually supported before using it
2009-08-12 21:24:53 -07:00
Android (Google) Code Review
0b66d3019e
Merge change 21057
...
* changes:
Better error handling in EGL extensions
2009-08-12 21:18:35 -07:00
Mathias Agopian
88e3e6bd04
Better error handling in EGL extensions
2009-08-12 21:18:15 -07:00
Jason Sams
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -07:00
Romain Guy
12d6831156
Grass has graduated from an RS experiment to a real live wallpaper.
2009-08-12 15:55:17 -07:00
Dianne Hackborn
90f77218a2
am b8546001: Merge change 20878 into donut
...
Merge commit 'b8546001701405a76dad7e6235046e592296fac2'
* commit 'b8546001701405a76dad7e6235046e592296fac2':
Fix issue #2048263 : More debugging information
2009-08-12 12:36:12 -07:00
Marco Nelissen
3f8f9da85f
Fix the simulator build by removing librs_jni and libRS from it.
...
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
2009-08-12 09:41:07 -07:00