Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
void* Bitmap::lockBytes() {
21
const auto& pixmap = _bitmap.pixmap();
22
return pixmap.writable_addr();
23
}
24
25
void Bitmap::unlockBytes() {}
26
Callers
5
bitmapToData
Function · 0.45
ScopedBitmapLock
Method · 0.45
prepareCanvas
Method · 0.45
blitDeltaBitmapToOutputBitmap
Method · 0.45
getOrCreateRasterImageForExternalSurfaceSnapshot
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected