aboutsummaryrefslogtreecommitdiff
path: root/layers/unique_objects.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-12-19 15:59:16 -0700
committerTobin Ehlis <tobine@google.com>2016-12-23 10:00:06 -0700
commitfcdecf3bd0ab162c68b1a5ff1e9ec795cca654a4 (patch)
tree2ede5fba763b20525484686760802993c962eec0 /layers/unique_objects.cpp
parentf5fa44006db86217d79ced17e29ac9cc49546239 (diff)
downloadusermoji-fcdecf3bd0ab162c68b1a5ff1e9ec795cca654a4.tar.xz
layers:Separate state update from addCmd()
Update addCmd() function to only perform validation and rename it to ValidateCmd(). Separate out the state update of last_cmd in cmd buffer to new UpdateCmdBufferLastCmd() function. Made sure that everywhere ValidateCmd() is called now also calls UpdateCmdBufferLastCmd(). Currently just calling them back-to-back but will continue with further updates that put the ValidateCmd() call into the PreCallValidate*() function and the UpdateCmdBufferLastCmd() into the PostCallRecord*() function. Also included some comments on work that needs to be done while breaking up CmdDraw() for pre/post functions.
Diffstat (limited to 'layers/unique_objects.cpp')
0 files changed, 0 insertions, 0 deletions