Example #1
0
        public void OnCompleted(OpenGLCommandEntryList entryList)
        {
            lock (_lock)
            {
                entryList.Reset();

                Debug.Assert(!_availableLists.Contains(entryList));
                _availableLists.Add(entryList);

                Debug.Assert(_submittedLists.Contains(entryList));
                _submittedLists.Remove(entryList);
            }
        }
Example #2
0
 internal void Reset()
 {
     _currentCommands.Reset();
 }
Example #3
0
 internal void Reset()
 {
     _commands.Reset();
 }