summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-03-26 15:03:16 -0700
committerWink Saville <wink@google.com>2012-03-26 15:03:16 -0700
commitcea056f5894543819898a0e62f98dc7870b27758 (patch)
treeaf283944fe4237ca19253af7170c6b9771886644 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4355b001cb736d4aa312231ce129506a3c7f6808 (diff)
Add SM_INIT_CMD.
The enter methods of the initial states are now executed in response to a message and therefore run in the handler associated with the StateMachine. Previously these would run in the thread that start() was called from. I ran into a problem where in an Activities onCreate I called StateMachine#start(), which called the default states enter, which invoked Context#bindService. But bindService never completed because onCreate hadn't returned. But invoking the enter methods on the StateMachines handler this problem does not occur. Change-Id: I2c2e52e5de29a987c098196a0efdba446cbc29d0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions