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

Method lockBytes

snap_drawing/test/utils/TestBitmap.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void* TestBitmap::lockBytes() {
27 if (_onLock) {
28 _onLock();
29 }
30
31 return _pixels.data();
32}
33
34void TestBitmap::unlockBytes() {}
35

Callers 4

renderMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
expectBitmapIsRedFunction · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected