What the calls one logical device deferred report back, and whether they may still run. More...
#include "donner/gpu/browser/BrowserBridge.h"
Public Attributes | |
| std::atomic< bool > | live {true} |
| False once the bridge has begun releasing its logical device; its held calls then do not run. | |
| std::atomic< uint32_t > | refusal {0} |
| Status, as a BridgeStatus value, of the first held write or bind group construction the browser refused; Success while none has been. Permanent: the device treats it as a loss. | |
| std::atomic< uint32_t > | destroyRefusals {0} |
| Held destructions the browser refused. Diagnostic only: releases were never checked, and a refused release cannot leave the device unusable. | |
What the calls one logical device deferred report back, and whether they may still run.
Shared by the bridge and every call it deferred, so a held call can outlive the bridge: a call held on one thread while its device is torn down on another still finds this state, sees the device released, and does not run against a logical device the browser side no longer holds. Logical device handles are never reused, so a released device's calls cannot reach another's objects either way.
| std::atomic<uint32_t> donner::gpu::browser::BrowserDeferredOrigin::destroyRefusals {0} |
Held destructions the browser refused. Diagnostic only: releases were never checked, and a refused release cannot leave the device unusable.
| std::atomic<bool> donner::gpu::browser::BrowserDeferredOrigin::live {true} |
False once the bridge has begun releasing its logical device; its held calls then do not run.
| std::atomic<uint32_t> donner::gpu::browser::BrowserDeferredOrigin::refusal {0} |
Status, as a BridgeStatus value, of the first held write or bind group construction the browser refused; Success while none has been. Permanent: the device treats it as a loss.