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

Method makeBlend

shared/java/Shader.java:377–385  ·  view source on GitHub ↗
(BlendMode mode, Shader dst, Shader src)

Source from the content-addressed store, hash-verified

375 }
376
377 public static Shader makeBlend(BlendMode mode, Shader dst, Shader src) {
378 try {
379 Stats.onNativeCall();
380 return new Shader(_nMakeBlend(mode.ordinal(), Native.getPtr(dst), Native.getPtr(src)));
381 } finally {
382 ReferenceUtil.reachabilityFence(dst);
383 ReferenceUtil.reachabilityFence(src);
384 }
385 }
386
387 @ApiStatus.Internal
388 public Shader(long ptr) {

Callers 2

drawShadersMethod · 0.95
drawBlendingMethod · 0.95

Calls 4

onNativeCallMethod · 0.95
_nMakeBlendMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected