diff options
author | Sven Gothel <sgothel@jausoft.com> | 2023-03-06 11:21:45 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2023-03-06 11:21:45 +0100 |
commit | 2920be3622adf2b14cfad7d0261c11dc7e8151db (patch) | |
tree | f4f9372f9c74dd17e5c2f8b6281f9588d5fcd1a5 /src/jogl/classes/com/jogamp/graph/font | |
parent | 8c441b4fc5a63967cfded3ec58cc0736a0aadb0f (diff) |
Graph: Use PerfCounterCtrl interface and Instant/Duration & Clock.getMonotonicTime() ...
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/font')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/Font.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java index c9571da75..907bbde8a 100644 --- a/src/jogl/classes/com/jogamp/graph/font/Font.java +++ b/src/jogl/classes/com/jogamp/graph/font/Font.java @@ -29,6 +29,7 @@ package com.jogamp.graph.font; import java.io.PrintStream; +import com.jogamp.common.util.PerfCounterCtrl; import com.jogamp.graph.curve.OutlineShape; import com.jogamp.graph.geom.plane.AffineTransform; import com.jogamp.opengl.math.geom.AABBox; @@ -419,14 +420,7 @@ public interface Font { final CharSequence string, final AffineTransform temp1, final AffineTransform temp2); - /** Enable or disable performance counter for {@link #processString(com.jogamp.graph.curve.OutlineShape.Visitor, AffineTransform, CharSequence, AffineTransform, AffineTransform)}. */ - void enablePerf(final boolean enable); - - /** Clear performance counter for {@link #processString(com.jogamp.graph.curve.OutlineShape.Visitor, AffineTransform, CharSequence, AffineTransform, AffineTransform)}. */ - void clearPerf(); - - /** Print performance counter for {@link #processString(com.jogamp.graph.curve.OutlineShape.Visitor, AffineTransform, CharSequence, AffineTransform, AffineTransform)}. */ - void printPerf(final PrintStream out); + PerfCounterCtrl perfCounter(); /** Returns {@link #getFullFamilyName()} */ @Override |