summaryrefslogtreecommitdiffstats
path: root/src/com/android/dreams/basic/ColorsGLRenderer.java
Commit message (Collapse)AuthorAgeFilesLines
* Various fixes for the Colors dreamRomain Guy2012-10-071-16/+10
| | | | | | | | | | | | Bug #7171323 1. Various code cleanups 2. Properly destroy TextureView's SurfaceTexture 3. Stop the render thread on destroy (we were leaking threads before this change) 4. Destroy the renderer synchronously 5. Save a bit of memory by not requesting an alpha channel Change-Id: I323e6c87903dbb8a6c79fe384a473b7293caf9ea
* Fix threading and stopping issues in Colors dream.Jeff Brown2012-10-031-0/+439
The colors dream could continue running indefinitely if the system terminated it rather an it ending voluntarily. There were also problems with the GL finish actions being performed on the wrong thread. Refactored the dream to resolve both of these problems cleanly. Bug: 7267653 Change-Id: Id58c473acebdc2eb3be342d792926c54185984a2