MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / getColorConvertOp

Method getColorConvertOp

java/com/tigervnc/rfb/PixelFormat.java:597–606  ·  view source on GitHub ↗
(ColorSpace src)

Source from the content-addressed store, hash-verified

595 }
596
597 public ColorConvertOp getColorConvertOp(ColorSpace src)
598 {
599 // The overhead associated with initializing ColorConvertOps is
600 // enough to justify maintaining a static lookup table.
601 if (converters.containsKey(src.getType()))
602 return converters.get(src.getType());
603 ColorSpace dst = model.getColorSpace();
604 converters.put(src.getType(), new ColorConvertOp(src, dst, null));
605 return converters.get(src.getType());
606 }
607
608 public ByteOrder getByteOrder()
609 {

Callers 3

maskRectMethod · 0.80
fillRectMethod · 0.80
imageRectMethod · 0.80

Calls 3

getTypeMethod · 0.45
getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected