Corentin Wallez 50f995851d DeviceBase: Make object creation use ResultOrError<Ref<T>>
This is in preparation for a change that will change all the
CreateFooInternal to be CreateFoo so they can be called in a
reentrant manner without special refcounting.

This also standardizes all the backends (except OpenGL and Null)
to use Object::Create that returns a Ref<T> or ResultOrError<Ref<T>>,
something we wanted to do for a long time.

Bug: dawn:723

Change-Id: I9e0baced333ffeb0affbc6a276c9bd9de082263a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46440
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-31 18:36:32 +00:00
..
2020-06-19 21:39:23 +00:00
2020-04-10 19:04:42 +00:00
2020-12-08 16:32:34 +00:00
2021-02-19 18:31:02 +00:00
2021-02-19 18:17:22 +00:00
2021-02-19 18:17:22 +00:00
2021-02-16 19:55:09 +00:00
2021-02-16 19:55:09 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2021-03-22 21:23:36 +00:00
2020-06-11 00:34:14 +00:00