MCPcopy Create free account
hub / github.com/JetBrains/skija / notifyContentWillChange

Method notifyContentWillChange

shared/java/Surface.java:549–556  ·  view source on GitHub ↗

Notifies that Surface contents will be changed by code outside of Skia. Subsequent calls to generationID() return a different value. @see https://fiddle.skia.org/c/@Surface_notifyContentWillChange

(ContentChangeMode mode)

Source from the content-addressed store, hash-verified

547 * @see <a href="https://fiddle.skia.org/c/@Surface_notifyContentWillChange">https://fiddle.skia.org/c/@Surface_notifyContentWillChange</a>
548 */
549 public void notifyContentWillChange(ContentChangeMode mode) {
550 try {
551 Stats.onNativeCall();
552 _nNotifyContentWillChange(_ptr, mode.ordinal());
553 } finally {
554 Reference.reachabilityFence(this);
555 }
556 }
557
558 /**
559 * <p>Returns the recording context being used by the Surface.</p>

Calls 2

onNativeCallMethod · 0.95

Tested by 1

executeMethod · 0.64