diff options
author | Sven Gothel <[email protected]> | 2011-03-30 07:28:56 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-30 07:28:56 +0200 |
commit | e952e7dbac7a6b746b8465aa63423f1aa138ca27 (patch) | |
tree | 1734f6c93d166aa0c43a62eb896a6aefed5e2e2a /src/com/jogamp/graph | |
parent | 4644863fbf6e8223b7843c63f9c5466f34fc8eeb (diff) |
Renamed Hw*Renderer -> *Renderer
Diffstat (limited to 'src/com/jogamp/graph')
-rwxr-xr-x | src/com/jogamp/graph/curve/opengl/RegionRenderer.java (renamed from src/com/jogamp/graph/curve/opengl/HwRegionRenderer.java) | 10 | ||||
-rw-r--r-- | src/com/jogamp/graph/curve/opengl/TextRenderer.java (renamed from src/com/jogamp/graph/curve/opengl/HwTextRenderer.java) | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/com/jogamp/graph/curve/opengl/HwRegionRenderer.java b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java index 9fa67a0be..e75ca25cd 100755 --- a/src/com/jogamp/graph/curve/opengl/HwRegionRenderer.java +++ b/src/com/jogamp/graph/curve/opengl/RegionRenderer.java @@ -51,7 +51,7 @@ import com.jogamp.opengl.util.glsl.ShaderCode; import com.jogamp.opengl.util.glsl.ShaderProgram;
import com.jogamp.opengl.util.glsl.ShaderState;
-public class HwRegionRenderer {
+public class RegionRenderer {
protected static final boolean DEBUG = Debug.debug("RegionRenderer");
private ShaderState st;
@@ -76,7 +76,7 @@ public class HwRegionRenderer { * @param context OpenGL rendering context
* @param factory optional Point.Factory for Vertex construction. Default is Vertex.Factory.
*/
- public HwRegionRenderer(GLContext context) {
+ public RegionRenderer(GLContext context) {
this.context = context;
init(context, 0.5f);
}
@@ -84,7 +84,7 @@ public class HwRegionRenderer { * @param context OpenGL rendering context
* @param type region type (single or multipass)
*/
- public HwRegionRenderer(GLContext context, int type) {
+ public RegionRenderer(GLContext context, int type) {
this.context = context;
this.regionType = type;
init(context, 0.5f);
@@ -227,9 +227,9 @@ public class HwRegionRenderer { }
private void initShader(GL2ES2 gl) {
- ShaderCode rsVp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, HwRegionRenderer.class,
+ ShaderCode rsVp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, RegionRenderer.class,
"shader", "shader/bin", "curverenderer");
- ShaderCode rsFp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, HwRegionRenderer.class,
+ ShaderCode rsFp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, RegionRenderer.class,
"shader", "shader/bin", "curverenderer");
ShaderProgram sp = new ShaderProgram();
diff --git a/src/com/jogamp/graph/curve/opengl/HwTextRenderer.java b/src/com/jogamp/graph/curve/opengl/TextRenderer.java index f9a104ad0..703f82373 100644 --- a/src/com/jogamp/graph/curve/opengl/HwTextRenderer.java +++ b/src/com/jogamp/graph/curve/opengl/TextRenderer.java @@ -51,7 +51,7 @@ import com.jogamp.opengl.util.glsl.ShaderCode; import com.jogamp.opengl.util.glsl.ShaderProgram; import com.jogamp.opengl.util.glsl.ShaderState; -public class HwTextRenderer { +public class TextRenderer { protected static final boolean DEBUG = Debug.debug("TextRenderer"); static final boolean FONTTOOL_CUSTOM = false; @@ -84,7 +84,7 @@ public class HwTextRenderer { * @param context OpenGL rendering context * @param factory optional Point.Factory for Vertex construction. Default is Vertex.Factory. */ - public HwTextRenderer(Vertex.Factory<? extends Vertex> factory, int type) { + public TextRenderer(Vertex.Factory<? extends Vertex> factory, int type) { this.pointFactory = (null != factory) ? factory : SVertex.factory(); this.regionType = type; } @@ -124,9 +124,9 @@ public class HwTextRenderer { gl.glEnable(GL2ES2.GL_BLEND); gl.glBlendFunc(GL2ES2.GL_SRC_ALPHA, GL2ES2.GL_ONE_MINUS_SRC_ALPHA); - ShaderCode rsVp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, HwTextRenderer.class, + ShaderCode rsVp = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, 1, TextRenderer.class, "shader", "shader/bin", "curverenderer"); - ShaderCode rsFp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, HwTextRenderer.class, + ShaderCode rsFp = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, 1, TextRenderer.class, "shader", "shader/bin", "curverenderer"); ShaderProgram sp = new ShaderProgram(); |