MCPcopy Create free account
hub / github.com/Tencent/libpag / lockPixels

Method lockPixels

src/rendering/utils/BitmapBuffer.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void* BitmapBuffer::lockPixels() {
50 return hardwareBuffer != nullptr ? tgfx::HardwareBufferLock(hardwareBuffer) : pixels;
51}
52
53void BitmapBuffer::unlockPixels() {
54 if (hardwareBuffer != nullptr) {

Callers 5

getImageMethod · 0.80
getCurrentPixelMapMethod · 0.80
readFrameMethod · 0.80
writeFrameMethod · 0.80
presentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected