Add Device::Tick for periodic work
diff --git a/src/backend/common/Device.cpp b/src/backend/common/Device.cpp
index f95e588..ce5ba62 100644
--- a/src/backend/common/Device.cpp
+++ b/src/backend/common/Device.cpp
@@ -130,6 +130,10 @@
return new TextureBuilder(this);
}
+ void DeviceBase::Tick() {
+ TickImpl();
+ }
+
void DeviceBase::CopyBindGroups(uint32_t start, uint32_t count, BindGroupBase* source, BindGroupBase* target) {
// TODO(cwallez@chromium.org): update state tracking then call the backend
}