Home
last modified time | relevance | path

Searched refs:MapState (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DBuffer.cpp88 buffer->mMapState = MapState::MappedAtCreation; in Create()
239 mMapState = MapState::MappedForRead; in OnMapAsyncCallback()
247 mMapState = MapState::MappedForWrite; in OnMapAsyncCallback()
292 if ((mMapState == MapState::MappedForWrite || mMapState == MapState::MappedAtCreation) && in Unmap()
323 if (mMapState == MapState::MappedAtCreation && mDestructWriteHandleOnUnmap) { in Unmap()
335 mMapState = MapState::Unmapped; in Unmap()
368 return mMapState == MapState::MappedForRead; in IsMappedForReading()
372 return mMapState == MapState::MappedForWrite || mMapState == MapState::MappedAtCreation; in IsMappedForWriting()
DBuffer.h66 enum class MapState { enum
97 MapState mMapState = MapState::Unmapped;