-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetFilter #851
SetFilter #851
Commits on May 28, 2014
-
Consolidated FilteredSceneProcessor filter access into helper methods.
At a later date this will give us a single place to control the Context in which filter queries are made.
Configuration menu - View commit details
-
Copy full SHA for 50a09a6 - Browse repository at this point
Copy the full SHA 50a09a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e143de - Browse repository at this point
Copy the full SHA 5e143deView commit details -
Configuration menu - View commit details
-
Copy full SHA for fced40c - Browse repository at this point
Copy the full SHA fced40cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ba8bc - Browse repository at this point
Copy the full SHA d3ba8bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad982d - Browse repository at this point
Copy the full SHA 6ad982dView commit details -
This includes a useful right click menu for populating the set plug with the names of sets available in the connected scenes.
Configuration menu - View commit details
-
Copy full SHA for 7c6d17a - Browse repository at this point
Copy the full SHA 7c6d17aView commit details -
Replaced custom Filter context with field in standard context.
Now we have an optimised Context implementation, the performance difference appears negligible, and using the standard Context for everything is preferable over having special cases. I did consider modifying the Context class to allow RunTimeTyped storage rather than just Data storage, so that the scene plug could be stored without encoding as uint64_t, but decided against it. Because RunTimeTyped (or GraphComponent, or Plug) doesn't have a copy() method, it would make implementing the ownership semantics the Context requires impossible, or would require documenting special cases for non-copyable types. It seems preferable to have one nasty isolated cast for an isolated use case than to confuse an API which is central to everything.
Configuration menu - View commit details
-
Copy full SHA for e44813e - Browse repository at this point
Copy the full SHA e44813eView commit details -
Added context argument to FilteredSceneProcessor utility methods.
Since we already have access to the context, it doesn't make sense to pull it out of thread local storage again.
Configuration menu - View commit details
-
Copy full SHA for cfba43d - Browse repository at this point
Copy the full SHA cfba43dView commit details -
Removed unnecessary Context construction in Prune and Isolate.
Also improved documentation in FilteredSceneProcessor to reduce the chance of doing it again.
Configuration menu - View commit details
-
Copy full SHA for 972a609 - Browse repository at this point
Copy the full SHA 972a609View commit details -
Implemented UnionFilter::sceneAffectsMatch().
UnionFilter is now compatible with SetFilter inputs. Fixes GafferHQ#92.
Configuration menu - View commit details
-
Copy full SHA for 6dca1c4 - Browse repository at this point
Copy the full SHA 6dca1c4View commit details