MCPcopy Create free account
hub / github.com/HumbleUI/Skija / makeShader

Method makeShader

shared/java/MaskFilter.java:18–25  ·  view source on GitHub ↗
(Shader s)

Source from the content-addressed store, hash-verified

16 }
17
18 public static MaskFilter makeShader(Shader s) {
19 try {
20 Stats.onNativeCall();
21 return new MaskFilter(_nMakeShader(Native.getPtr(s)));
22 } finally {
23 ReferenceUtil.reachabilityFence(s);
24 }
25 }
26
27 public static MaskFilter makeTable(byte[] table) {
28 Stats.onNativeCall();

Callers 1

drawMethod · 0.95

Calls 4

onNativeCallMethod · 0.95
_nMakeShaderMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected