gzz.gfx.gl
Class GLRen

java.lang.Object
  |
  +--gzz.gfx.gl.GL
        |
        +--gzz.gfx.gl.GLRen

public class GLRen
extends GL


Nested Class Summary
static class GLRen.BasisPaperQuad
           
static class GLRen.BevelConnection
           
static class GLRen.CalendarPaper
           
static class GLRen.CallList
           
static class GLRen.CallListBoxCoorded
           
static class GLRen.CallListCoorded
           
static class GLRen.ClipSquare
           
static class GLRen.ContinuousLine
           
static class GLRen.CopyPixels
           
static class GLRen.CopyTexSubImage2D
           
static class GLRen.CulledPaperQuad
           
static class GLRen.DrawPixels
           
static class GLRen.HorizText
           
static class GLRen.HorizText_Squished
           
static class GLRen.HorizText2
           
static class GLRen.IrregularEdge
           
static class GLRen.IrregularQuad
           
static class GLRen.LABColorMap
           
static class GLRen.LABSlice
           
static class GLRen.LineConnector
           
static class GLRen.MotionCallList
           
static class GLRen.PaperQuad
           
static class GLRen.ProgramLocalParameter
           
static class GLRen.ReadPixels
           
static class GLRen.SetMatrix
           
static class GLRen.SimpleDiced
           
static class GLRen.SmoothConnector
           
static class GLRen.SqFilletConnection
           
static class GLRen.SquareFrame
           
static class GLRen.StopClipSquare
           
static class GLRen.StupidLinestrip
           
static class GLRen.TDecor
           
static class GLRen.TexSubImage2D
           
static class GLRen.VertexAttribPointer
           
static class GLRen.VertexProgramParam
           
 
Nested classes inherited from class gzz.gfx.gl.GL
GL.ByteVector, GL.DisplayList, GL.EventHandler, GL.Font, GL.Image, GL.ImageCache, GL.NonRenderableJavaObject, GL.Program, GL.RenderingSurface, GL.ShaderRect, GL.TexRect, GL.Texture, GL.Window
 
Field Summary
static int IRREGU_CS2_TO_SCREEN
           
static int IRREGU_SHIFTS
           
static int PAPERQUAD_CS2_TO_SCREEN
           
static int PAPERQUAD_USE_VERTEX_PROGRAM
           
 
Fields inherited from class gzz.gfx.gl.GL
CSFLAG_ACTIVE, CSFLAGS, dbg, RENDERABLE0, RENDERABLE1, RENDERABLE2, RENDERABLE3, workaroundStupidBuggyAtiDrivers
 
Constructor Summary
GLRen()
           
 
Method Summary
static GLRen.BasisPaperQuad createBasisPaperQuad(Paper paper, float x0_0, float y0_0, float x0_1, float y0_1, float x1_0, float y1_0, float x1_1, float y1_1, java.lang.String tex0, java.lang.String tex1, java.lang.String isect)
           
static GLRen.BevelConnection createBevelConnection(int objid, int profile, int drawConn, float profw)
           
static GLRen.CalendarPaper createCalendarPaper(GL.Font f_date, GL.Font f, float linewidth, int empty_days, int days, int first_week_number, java.lang.String t1, java.lang.String t2, java.lang.String t3, java.lang.String t4, java.lang.String t5, java.lang.String t6, java.lang.String t7, java.lang.String t8, float sc0, float sc1, float sc2, float sc3, float sh0, float sh1, float sh2, float sh3, float week_num_w, float weekday_h, float month_name_h)
           
static GLRen.CallList createCallList(GL.DisplayList list)
           
static Vob createCallList(java.lang.String s)
           
static GLRen.CallListBoxCoorded createCallListBoxCoorded(GL.DisplayList list)
           
static Vob createCallListBoxCoorded(java.lang.String s)
           
static GLRen.CallListCoorded createCallListCoorded(GL.DisplayList list)
           
static Vob createCallListCoorded(java.lang.String s)
           
static GLRen.ClipSquare createClipSquare()
           
static GLRen.ContinuousLine createContinuousLine(int textId, float width, float[] points, float[] colors)
           
static GLRen.CopyPixels createCopyPixels(int w, int h, java.lang.String type)
           
static GLRen.CopyTexSubImage2D createCopyTexSubImage2D(java.lang.String target, int level, int x, int y, int w, int h)
           
static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float dicefactor)
           
static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float scale, float dicefactor, int flags)
           
static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float dicefactor, int flags)
           
static GLRen.DrawPixels createDrawPixels(int w, int h, java.lang.String format, java.lang.String type, GL.ByteVector bytes)
           
static GLRen.HorizText_Squished createHorizText_Squished(GL.Font f, java.lang.String text, float x, float y, float z, float widthmul, float heightmul, float squishx)
           
static GLRen.HorizText createHorizText(GL.Font f, java.lang.String text, float x, float y, float z, int flags)
           
static GLRen.HorizText2 createHorizText2(GL.Font f, java.lang.String text, float height, float ascent, float scale, int magic)
           
static GLRen.IrregularEdge createIrregularEdge(int shape, float texscale, float linewidth, float refsize, float scale_pow, float border0, float border1, float texslicing, java.lang.String const0, java.lang.String const1, int angles, int multi, int flags, java.lang.String setupcode, float dicefactor)
           
static GLRen.IrregularQuad createIrregularQuad(float x0, float y0, float x1, float y1, float border, float ripple_period, int flags, java.lang.String setupcode, float dicefactor)
           
static GLRen.LABColorMap createLABColorMap(GL.ByteVector pixels, int size)
           
static GLRen.LABSlice createLABSlice(int axis, float value)
           
static GLRen.LineConnector createLineConnector(float dz1, float dz2)
           
static GLRen.LineConnector createLineConnector(float px1, float py1, float px2, float py2, float dz1, float dz2, float red, float green, float blue, float alpha)
           
static GLRen.MotionCallList createMotionCallList(GL.DisplayList still, GL.DisplayList motion)
           
static Vob createMotionCallList(java.lang.String still, java.lang.String motion)
           
static GLRen.PaperQuad createPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float dicefactor)
           
static GLRen.PaperQuad createPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float scale, float dicefactor, int flags)
           
static GLRen.PaperQuad createPaperQuad(Paper paper, float x0, float y0, float x1, float y1, float dicefactor, int flags)
           
static GLRen.ProgramLocalParameter createProgramLocalParameter(java.lang.String target, int index)
           
static GLRen.ReadPixels createReadPixels(int w, int h, java.lang.String format, java.lang.String type, GL.ByteVector bytes)
           
static GLRen.SetMatrix createSetMatrix(java.lang.String matrix)
           
static GLRen.SimpleDiced createSimpleDiced(int flags, int ndice)
           
static GLRen.SmoothConnector createSmoothConnector(GL.TexRect imgstart, float startb, GL.TexRect imgend, float endb, float x1l, float y1l, float x1r, float y1r, float x1li, float y1li, float x1ri, float y1ri, float x2l, float y2l, float x2r, float y2r, float x2li, float y2li, float x2ri, float y2ri, float eps)
           
static GLRen.SqFilletConnection createSqFilletConnection(float width, int flags, float blendw, int power)
           
static GLRen.SquareFrame createSquareFrame(float width)
           
static GLRen.StopClipSquare createStopClipSquare()
           
static GLRen.StupidLinestrip createStupidLinestrip(float[] arr)
           
static GLRen.TDecor createTDecor(boolean horizontal, int dir, float dz, float red, float green, float blue, float alpha)
           
static GLRen.TexSubImage2D createTexSubImage2D(java.lang.String target, int level, int x, int y, int w, int h, java.lang.String format, java.lang.String type, GL.ByteVector bytes)
           
static GLRen.VertexAttribPointer createVertexAttribPointer(GL.ByteVector vec, int offset, int index, int size, java.lang.String type, int normalized, int stride)
           
static GLRen.VertexProgramParam createVertexProgramParam(int ind)
           
static void init()
          Init the library - to be called once during startup.
 
Methods inherited from class gzz.gfx.gl.GL
addDeletable, bitsPerTexel, call, call, createByteVector, createByteVector, createDisplayList, createDisplayList, createFont, createImage, createProgram, createProgram, createShaderRect, createStableRenderingSurface, createTexRect, createTexture, createWindow, eventLoop, freeQueue, getAllCSAt, getDebugVar, getDebugVarNames, getGLFloat, getGLProgram, getGLProgrami, getGLString, getGLTexLevelParameterFloat, getGLTexParameterFloat, getGLTokenString, hasExtension, interruptEventloop, loadLib, render, setDebugVar, startBackgroundImageLoader, timeRender, transform, transform2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAPERQUAD_USE_VERTEX_PROGRAM

public static final int PAPERQUAD_USE_VERTEX_PROGRAM
See Also:
Constant Field Values

PAPERQUAD_CS2_TO_SCREEN

public static final int PAPERQUAD_CS2_TO_SCREEN
See Also:
Constant Field Values

IRREGU_SHIFTS

public static final int IRREGU_SHIFTS
See Also:
Constant Field Values

IRREGU_CS2_TO_SCREEN

public static final int IRREGU_CS2_TO_SCREEN
See Also:
Constant Field Values
Constructor Detail

GLRen

public GLRen()
Method Detail

init

public static void init()
Description copied from class: GL
Init the library - to be called once during startup.


createPaperQuad

public static GLRen.PaperQuad createPaperQuad(Paper paper,
                                              float x0,
                                              float y0,
                                              float x1,
                                              float y1,
                                              float dicefactor)

createPaperQuad

public static GLRen.PaperQuad createPaperQuad(Paper paper,
                                              float x0,
                                              float y0,
                                              float x1,
                                              float y1,
                                              float dicefactor,
                                              int flags)

createCulledPaperQuad

public static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper,
                                                          float x0,
                                                          float y0,
                                                          float x1,
                                                          float y1,
                                                          float dicefactor)

createCulledPaperQuad

public static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper,
                                                          float x0,
                                                          float y0,
                                                          float x1,
                                                          float y1,
                                                          float dicefactor,
                                                          int flags)

createLineConnector

public static GLRen.LineConnector createLineConnector(float dz1,
                                                      float dz2)

createCallList

public static Vob createCallList(java.lang.String s)

createMotionCallList

public static Vob createMotionCallList(java.lang.String still,
                                       java.lang.String motion)

createCallListCoorded

public static Vob createCallListCoorded(java.lang.String s)

createCallListBoxCoorded

public static Vob createCallListBoxCoorded(java.lang.String s)

createStupidLinestrip

public static GLRen.StupidLinestrip createStupidLinestrip(float[] arr)

createCallList

public static GLRen.CallList createCallList(GL.DisplayList list)

createMotionCallList

public static GLRen.MotionCallList createMotionCallList(GL.DisplayList still,
                                                        GL.DisplayList motion)

createCallListCoorded

public static GLRen.CallListCoorded createCallListCoorded(GL.DisplayList list)

createCallListBoxCoorded

public static GLRen.CallListBoxCoorded createCallListBoxCoorded(GL.DisplayList list)

createDrawPixels

public static GLRen.DrawPixels createDrawPixels(int w,
                                                int h,
                                                java.lang.String format,
                                                java.lang.String type,
                                                GL.ByteVector bytes)

createReadPixels

public static GLRen.ReadPixels createReadPixels(int w,
                                                int h,
                                                java.lang.String format,
                                                java.lang.String type,
                                                GL.ByteVector bytes)

createTexSubImage2D

public static GLRen.TexSubImage2D createTexSubImage2D(java.lang.String target,
                                                      int level,
                                                      int x,
                                                      int y,
                                                      int w,
                                                      int h,
                                                      java.lang.String format,
                                                      java.lang.String type,
                                                      GL.ByteVector bytes)

createCopyTexSubImage2D

public static GLRen.CopyTexSubImage2D createCopyTexSubImage2D(java.lang.String target,
                                                              int level,
                                                              int x,
                                                              int y,
                                                              int w,
                                                              int h)

createCopyPixels

public static GLRen.CopyPixels createCopyPixels(int w,
                                                int h,
                                                java.lang.String type)

createSetMatrix

public static GLRen.SetMatrix createSetMatrix(java.lang.String matrix)

createLABSlice

public static GLRen.LABSlice createLABSlice(int axis,
                                            float value)

createLABColorMap

public static GLRen.LABColorMap createLABColorMap(GL.ByteVector pixels,
                                                  int size)

createClipSquare

public static GLRen.ClipSquare createClipSquare()

createStopClipSquare

public static GLRen.StopClipSquare createStopClipSquare()

createTDecor

public static GLRen.TDecor createTDecor(boolean horizontal,
                                        int dir,
                                        float dz,
                                        float red,
                                        float green,
                                        float blue,
                                        float alpha)

createSmoothConnector

public static GLRen.SmoothConnector createSmoothConnector(GL.TexRect imgstart,
                                                          float startb,
                                                          GL.TexRect imgend,
                                                          float endb,
                                                          float x1l,
                                                          float y1l,
                                                          float x1r,
                                                          float y1r,
                                                          float x1li,
                                                          float y1li,
                                                          float x1ri,
                                                          float y1ri,
                                                          float x2l,
                                                          float y2l,
                                                          float x2r,
                                                          float y2r,
                                                          float x2li,
                                                          float y2li,
                                                          float x2ri,
                                                          float y2ri,
                                                          float eps)

createLineConnector

public static GLRen.LineConnector createLineConnector(float px1,
                                                      float py1,
                                                      float px2,
                                                      float py2,
                                                      float dz1,
                                                      float dz2,
                                                      float red,
                                                      float green,
                                                      float blue,
                                                      float alpha)

createSqFilletConnection

public static GLRen.SqFilletConnection createSqFilletConnection(float width,
                                                                int flags,
                                                                float blendw,
                                                                int power)

createSquareFrame

public static GLRen.SquareFrame createSquareFrame(float width)

createBevelConnection

public static GLRen.BevelConnection createBevelConnection(int objid,
                                                          int profile,
                                                          int drawConn,
                                                          float profw)

createPaperQuad

public static GLRen.PaperQuad createPaperQuad(Paper paper,
                                              float x0,
                                              float y0,
                                              float x1,
                                              float y1,
                                              float scale,
                                              float dicefactor,
                                              int flags)

createCulledPaperQuad

public static GLRen.CulledPaperQuad createCulledPaperQuad(Paper paper,
                                                          float x0,
                                                          float y0,
                                                          float x1,
                                                          float y1,
                                                          float scale,
                                                          float dicefactor,
                                                          int flags)

createBasisPaperQuad

public static GLRen.BasisPaperQuad createBasisPaperQuad(Paper paper,
                                                        float x0_0,
                                                        float y0_0,
                                                        float x0_1,
                                                        float y0_1,
                                                        float x1_0,
                                                        float y1_0,
                                                        float x1_1,
                                                        float y1_1,
                                                        java.lang.String tex0,
                                                        java.lang.String tex1,
                                                        java.lang.String isect)

createIrregularQuad

public static GLRen.IrregularQuad createIrregularQuad(float x0,
                                                      float y0,
                                                      float x1,
                                                      float y1,
                                                      float border,
                                                      float ripple_period,
                                                      int flags,
                                                      java.lang.String setupcode,
                                                      float dicefactor)

createVertexAttribPointer

public static GLRen.VertexAttribPointer createVertexAttribPointer(GL.ByteVector vec,
                                                                  int offset,
                                                                  int index,
                                                                  int size,
                                                                  java.lang.String type,
                                                                  int normalized,
                                                                  int stride)

createProgramLocalParameter

public static GLRen.ProgramLocalParameter createProgramLocalParameter(java.lang.String target,
                                                                      int index)

createSimpleDiced

public static GLRen.SimpleDiced createSimpleDiced(int flags,
                                                  int ndice)

createIrregularEdge

public static GLRen.IrregularEdge createIrregularEdge(int shape,
                                                      float texscale,
                                                      float linewidth,
                                                      float refsize,
                                                      float scale_pow,
                                                      float border0,
                                                      float border1,
                                                      float texslicing,
                                                      java.lang.String const0,
                                                      java.lang.String const1,
                                                      int angles,
                                                      int multi,
                                                      int flags,
                                                      java.lang.String setupcode,
                                                      float dicefactor)

createContinuousLine

public static GLRen.ContinuousLine createContinuousLine(int textId,
                                                        float width,
                                                        float[] points,
                                                        float[] colors)

createCalendarPaper

public static GLRen.CalendarPaper createCalendarPaper(GL.Font f_date,
                                                      GL.Font f,
                                                      float linewidth,
                                                      int empty_days,
                                                      int days,
                                                      int first_week_number,
                                                      java.lang.String t1,
                                                      java.lang.String t2,
                                                      java.lang.String t3,
                                                      java.lang.String t4,
                                                      java.lang.String t5,
                                                      java.lang.String t6,
                                                      java.lang.String t7,
                                                      java.lang.String t8,
                                                      float sc0,
                                                      float sc1,
                                                      float sc2,
                                                      float sc3,
                                                      float sh0,
                                                      float sh1,
                                                      float sh2,
                                                      float sh3,
                                                      float week_num_w,
                                                      float weekday_h,
                                                      float month_name_h)

createHorizText

public static GLRen.HorizText createHorizText(GL.Font f,
                                              java.lang.String text,
                                              float x,
                                              float y,
                                              float z,
                                              int flags)

createHorizText2

public static GLRen.HorizText2 createHorizText2(GL.Font f,
                                                java.lang.String text,
                                                float height,
                                                float ascent,
                                                float scale,
                                                int magic)

createHorizText_Squished

public static GLRen.HorizText_Squished createHorizText_Squished(GL.Font f,
                                                                java.lang.String text,
                                                                float x,
                                                                float y,
                                                                float z,
                                                                float widthmul,
                                                                float heightmul,
                                                                float squishx)

createVertexProgramParam

public static GLRen.VertexProgramParam createVertexProgramParam(int ind)