MCPcopy Create free account
hub / github.com/Snapchat/Valdi / lockBytes

Method lockBytes

snap_drawing/src/snap_drawing/cpp/Utils/Bitmap.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void* Bitmap::lockBytes() {
21 const auto& pixmap = _bitmap.pixmap();
22 return pixmap.writable_addr();
23}
24
25void Bitmap::unlockBytes() {}
26

Callers 5

bitmapToDataFunction · 0.45
ScopedBitmapLockMethod · 0.45
prepareCanvasMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected