From 545a9422324f5c8ef47b48a2e3e5419c56f19f14 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 19 Oct 2012 18:08:40 +0200 Subject: FixedFuncPipeline: Add GL_POINT* state tracking; Fix glDrawArrays(): Issued twice (duh!) almost halfed performance :) TODO: Create GL_POINT texture and render w/ glDraw*() --- .../classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders') diff --git a/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl b/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl index 68245a62c..679583cd7 100644 --- a/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl +++ b/src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl @@ -11,6 +11,8 @@ uniform LOWP int mgl_ColorEnabled; uniform vec4 mgl_ColorStatic; uniform LOWP int mgl_AlphaTestFunc; uniform float mgl_AlphaTestRef; +uniform float mgl_PointParams[8]; // sz, smooth, attnMinSz, attnMaxSz, attnCoeff(3), attnAlphaTs + // uniform LOWP int mgl_CullFace; // ES2 supports CullFace implicit .. #if MAX_TEXTURE_UNITS > 0 uniform LOWP int mgl_TextureEnabled[MAX_TEXTURE_UNITS]; -- cgit v1.2.3