diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-12-19 15:59:16 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-12-23 10:00:06 -0700 |
| commit | fcdecf3bd0ab162c68b1a5ff1e9ec795cca654a4 (patch) | |
| tree | 2ede5fba763b20525484686760802993c962eec0 /layers/threading.cpp | |
| parent | f5fa44006db86217d79ced17e29ac9cc49546239 (diff) | |
| download | usermoji-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/threading.cpp')
0 files changed, 0 insertions, 0 deletions
