aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/font
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-03-06 11:21:45 +0100
committerSven Gothel <sgothel@jausoft.com>2023-03-06 11:21:45 +0100
commit2920be3622adf2b14cfad7d0261c11dc7e8151db (patch)
treef4f9372f9c74dd17e5c2f8b6281f9588d5fcd1a5 /src/jogl/classes/com/jogamp/graph/font
parent8c441b4fc5a63967cfded3ec58cc0736a0aadb0f (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.java10
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