diff options
author | Sven Gothel <[email protected]> | 2023-03-07 18:25:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-07 18:25:53 +0100 |
commit | 01aac34c2c08d01d728c7906cb1cc132e8e7fab1 (patch) | |
tree | 3ba7c57478d088a4e5c60355eadbf39970d6d256 /src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java | |
parent | 657df3d32a291a74e7eb31c8ccef0fde151afcc1 (diff) |
Graph Perf: Region: split addOutlineShape() -> addOutlineShape0() (fast) and addOutlineShape1() (slow perf+debug), rename growBufferSize() -> growBuffer()
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java')
-rw-r--r-- | src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java index dcd5831d4..20170b4ed 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java +++ b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java @@ -97,12 +97,12 @@ public class VBORegionSPES2 extends GLRegion { } @Override - public void growBufferSize(final int verticeCount, final int indexCount) { indicesBuffer.growIfNeeded(indexCount * indicesBuffer.getCompsPerElem()); gca_VerticesAttr.growIfNeeded(verticeCount * gca_VerticesAttr.getCompsPerElem()); gca_CurveParamsAttr.growIfNeeded(verticeCount * gca_CurveParamsAttr.getCompsPerElem()); if( null != gca_ColorsAttr ) { gca_ColorsAttr.growIfNeeded(verticeCount * gca_ColorsAttr.getCompsPerElem()); + public void growBuffer(final int verticesCount, final int indicesCount) { } } |