viz: Simplify ScopedRenderPassTexture interactions.
Pass in the ContextProvider instead of each capability individually. And in the DirectRenderer classes, the FrameBuffer hint is always used so stop making it conditional (this is a leftover from ResourceProvider code this was based on) and just pass mipmap as a bool so that new bitflags can't be added without child classes knowing about it. Last, pass RenderPassRequirements consistently to both methods that receive them, instead of unpacking it for one of them, so that the relationship is more clear in the APIs. R=piman@chromium.org Bug: 738190 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ie53c2041183207561efae7d10c0c32e42daf1bd2 Reviewed-on: https://chromium-review.googlesource.com/843162 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#526059}
Showing
Please register or sign in to comment