Add basic synchronization capability to Nicosia::Buffer
Created attachment 335401 [details] Patch
Attachment 335401 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:72: More than one command on the same line [whitespace/newline] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 335401 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335401&action=review > Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:58 > + m_painting.state = PaintingState::InProgress; Should we assert here that state as complete? > Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:64 > + m_painting.state = PaintingState::Complete; And here that is in progress?
Comment on attachment 335401 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335401&action=review >> Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:58 >> + m_painting.state = PaintingState::InProgress; > > Should we assert here that state as complete? Makes sense. >> Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:64 >> + m_painting.state = PaintingState::Complete; > > And here that is in progress? Right.
Created attachment 335402 [details] Patch for landing
Comment on attachment 335402 [details] Patch for landing Clearing flags on attachment: 335402 Committed r229454: <https://trac.webkit.org/changeset/229454>
All reviewed patches have been landed. Closing bug.
<rdar://problem/38293587>