class NoopPipeline extends Pipeline
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
NoopPipeline.NoopContext
Dummy context for noop pipeline
|
Pipeline.Type| Modifier and Type | Field and Description |
|---|---|
private boolean |
cgLibraryAvailable |
| Modifier | Constructor and Description |
|---|---|
protected |
NoopPipeline()
Constructor for singleton NoopPipeline instance
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
accum(Context ctx,
float value) |
(package private) void |
accumReturn(Context ctx) |
(package private) void |
activeTextureUnit(Context ctx,
int texUnitIndex) |
(package private) void |
beginScene(Context ctx) |
(package private) ShaderError |
bindGLSLVertexAttrName(Context ctx,
ShaderProgramId shaderProgramId,
java.lang.String attrName,
int attrIndex) |
(package private) void |
bindTexture2D(Context ctx,
int objectId,
boolean enable) |
(package private) void |
bindTexture3D(Context ctx,
int objectId,
boolean enable) |
(package private) void |
bindTextureCubeMap(Context ctx,
int objectId,
boolean enable) |
(package private) void |
buildGA(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean updateAlpha,
float alpha,
boolean ignoreVertexColors,
int startVIndex,
int vcount,
int vformat,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetMapOffset,
int vertexAttrCount,
int[] vertexAttrSizes,
double[] xform,
double[] nxform,
float[] varray) |
(package private) void |
buildGAForByRef(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean updateAlpha,
float alpha,
boolean ignoreVertexColors,
int vcount,
int vformat,
int vdefined,
int coordIndex,
float[] vfcoords,
double[] vdcoords,
int colorIndex,
float[] cfdata,
byte[] cbdata,
int normalIndex,
float[] ndata,
int vertexAttrCount,
int[] vertexAttrSizes,
int[] vertexAttrIndex,
float[][] vertexAttrData,
int texcoordmaplength,
int[] texcoordoffset,
int[] texIndex,
int texstride,
java.lang.Object[] texCoords,
double[] xform,
double[] nxform) |
(package private) void |
buildIndexedGeometry(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean updateAlpha,
float alpha,
boolean ignoreVertexColors,
int initialIndexIndex,
int validIndexCount,
int vertexCount,
int vformat,
int vertexAttrCount,
int[] vertexAttrSizes,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetMapOffset,
double[] xform,
double[] nxform,
float[] varray,
int[] indexCoord) |
(package private) void |
callDisplayList(Context ctx,
int id,
boolean isNonUniformScale) |
(package private) void |
cleanupRenderer() |
(package private) void |
clear(Context ctx,
float r,
float g,
float b,
boolean clearStencil) |
(package private) void |
clearAccum(Context ctx) |
(package private) ShaderError |
compileCgShader(Context ctx,
ShaderId shaderId,
java.lang.String program) |
(package private) ShaderError |
compileGLSLShader(Context ctx,
ShaderId shaderId,
java.lang.String program) |
(package private) ShaderError |
createCgShader(Context ctx,
int shaderType,
ShaderId[] shaderId) |
(package private) ShaderError |
createCgShaderProgram(Context ctx,
ShaderProgramId[] shaderProgramId) |
(package private) DrawingSurfaceObject |
createDrawingSurfaceObject(Canvas3D cv) |
(package private) ShaderError |
createGLSLShader(Context ctx,
int shaderType,
ShaderId[] shaderId) |
(package private) ShaderError |
createGLSLShaderProgram(Context ctx,
ShaderProgramId[] shaderProgramId) |
(package private) Context |
createNewContext(Canvas3D cv,
long display,
Drawable drawable,
long fbConfig,
Context shareCtx,
boolean isSharedCtx,
boolean offScreen,
boolean glslLibraryAvailable,
boolean cgLibraryAvailable) |
(package private) Drawable |
createOffScreenBuffer(Canvas3D cv,
Context ctx,
long display,
long fbConfig,
int width,
int height) |
(package private) void |
createQueryContext(Canvas3D cv,
long display,
Drawable drawable,
long fbConfig,
boolean offScreen,
int width,
int height,
boolean glslLibraryAvailable,
boolean cgLibraryAvailable) |
(package private) void |
ctxUpdateEyeLightingEnable(Context ctx,
boolean localEyeLightingEnable) |
(package private) boolean |
decal1stChildSetup(Context ctx) |
(package private) void |
decalNthChildSetup(Context ctx) |
(package private) void |
decalReset(Context ctx,
boolean depthBufferEnable) |
(package private) ShaderError |
destroyCgShader(Context ctx,
ShaderId shaderId) |
(package private) ShaderError |
destroyCgShaderProgram(Context ctx,
ShaderProgramId shaderProgramId) |
(package private) void |
destroyContext(long display,
Drawable drawable,
Context ctx) |
(package private) ShaderError |
destroyGLSLShader(Context ctx,
ShaderId shaderId) |
(package private) ShaderError |
destroyGLSLShaderProgram(Context ctx,
ShaderProgramId shaderProgramId) |
(package private) void |
destroyOffScreenBuffer(Canvas3D cv,
Context ctx,
long display,
long fbConfig,
Drawable drawable) |
(package private) void |
disableFog(Context ctx) |
(package private) void |
disableGlobalAlpha(Context ctx,
GeometryArrayRetained geo,
int vformat,
boolean useAlpha,
boolean ignoreVertexColors) |
(package private) void |
disableModelClip(Context ctx) |
(package private) void |
endDisplayList(Context ctx) |
(package private) void |
endScene(Context ctx) |
(package private) void |
execute(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean useAlpha,
boolean ignoreVertexColors,
int startVIndex,
int vcount,
int vformat,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetOffset,
int numActiveTexUnitState,
int vertexAttrCount,
int[] vertexAttrSizes,
float[] varray,
float[] cdata,
int cdirty) |
(package private) void |
executeIndexedGeometry(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean useAlpha,
boolean ignoreVertexColors,
int initialIndexIndex,
int indexCount,
int vertexCount,
int vformat,
int vertexAttrCount,
int[] vertexAttrSizes,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetOffset,
int numActiveTexUnitState,
float[] varray,
float[] cdata,
int cdirty,
int[] indexCoord) |
(package private) void |
executeIndexedGeometryBuffer(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean useAlpha,
boolean ignoreVertexColors,
int initialIndexIndex,
int indexCount,
int vertexCount,
int vformat,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetOffset,
int numActiveTexUnitState,
java.lang.Object varray,
float[] cdata,
int cdirty,
int[] indexCoord) |
(package private) void |
executeIndexedGeometryVA(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean ignoreVertexColors,
int initialIndexIndex,
int validIndexCount,
int vertexCount,
int vformat,
int vdefined,
float[] vfcoords,
double[] vdcoords,
float[] cfdata,
byte[] cbdata,
float[] ndata,
int vertexAttrCount,
int[] vertexAttrSizes,
float[][] vertexAttrData,
int texcoordmaplength,
int[] texcoordoffset,
int numActiveTexUnitState,
int texstride,
java.lang.Object[] texCoords,
int cdirty,
int[] indexCoord) |
(package private) void |
executeIndexedGeometryVABuffer(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean ignoreVertexColors,
int initialIndexIndex,
int validIndexCount,
int vertexCount,
int vformat,
int vdefined,
java.lang.Object vcoords,
java.lang.Object cdataBuffer,
float[] cfdata,
byte[] cbdata,
java.lang.Object normal,
int vertexAttrCount,
int[] vertexAttrSizes,
java.lang.Object[] vertexAttrData,
int texcoordmaplength,
int[] texcoordoffset,
int numActiveTexUnitState,
int texstride,
java.lang.Object[] texCoords,
int cdirty,
int[] indexCoord) |
(package private) void |
executeInterleavedBuffer(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean useAlpha,
boolean ignoreVertexColors,
int startVIndex,
int vcount,
int vformat,
int texCoordSetCount,
int[] texCoordSetMap,
int texCoordSetMapLen,
int[] texCoordSetOffset,
int numActiveTexUnitState,
java.lang.Object varray,
float[] cdata,
int cdirty) |
(package private) void |
executeRasterDepth(Context ctx,
float posX,
float posY,
float posZ,
int srcOffsetX,
int srcOffsetY,
int rasterWidth,
int rasterHeight,
int depthWidth,
int depthHeight,
int depthType,
java.lang.Object depthData) |
(package private) void |
executeVA(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean ignoreVertexColors,
int vcount,
int vformat,
int vdefined,
int coordIndex,
float[] vfcoords,
double[] vdcoords,
int colorIndex,
float[] cfdata,
byte[] cbdata,
int normalIndex,
float[] ndata,
int vertexAttrCount,
int[] vertexAttrSizes,
int[] vertexAttrIndex,
float[][] vertexAttrData,
int texcoordmaplength,
int[] texcoordoffset,
int numActiveTexUnitState,
int[] texIndex,
int texstride,
java.lang.Object[] texCoords,
int cdirty) |
(package private) void |
executeVABuffer(Context ctx,
GeometryArrayRetained geo,
int geo_type,
boolean isNonUniformScale,
boolean ignoreVertexColors,
int vcount,
int vformat,
int vdefined,
int coordIndex,
java.lang.Object vcoords,
int colorIndex,
java.lang.Object cdataBuffer,
float[] cfdata,
byte[] cbdata,
int normalIndex,
java.lang.Object ndata,
int vertexAttrCount,
int[] vertexAttrSizes,
int[] vertexAttrIndex,
java.lang.Object[] vertexAttrData,
int texcoordmaplength,
int[] texcoordoffset,
int numActiveTexUnitState,
int[] texIndex,
int texstride,
java.lang.Object[] texCoords,
int cdirty) |
(package private) void |
freeD3DArray(GeometryArrayRetained geo,
boolean deleteVB) |
(package private) void |
freeDisplayList(Context ctx,
int id) |
(package private) void |
freeDrawingSurface(Canvas3D cv,
DrawingSurfaceObject drawingSurfaceObject) |
(package private) void |
freeDrawingSurfaceNative(java.lang.Object o) |
(package private) void |
freeTexture(Context ctx,
int id) |
(package private) long |
getAWT() |
(package private) java.awt.GraphicsConfiguration |
getBestConfiguration(GraphicsConfigTemplate3D gct,
java.awt.GraphicsConfiguration[] gc) |
(package private) long |
getDisplay() |
(package private) long |
getFbConfig(GraphicsConfigInfo gcInfo) |
(package private) java.awt.GraphicsConfiguration |
getGraphicsConfig(java.awt.GraphicsConfiguration gconfig) |
(package private) int |
getMaximumLights() |
(package private) int |
getNumCtxLights(Context ctx) |
(package private) int |
getScreen(java.awt.GraphicsDevice graphicsDevice) |
(package private) int |
getStencilSize(Canvas3D cv) |
(package private) boolean |
hasDoubleBuffer(Canvas3D cv) |
(package private) boolean |
hasSceneAntialiasingAccum(Canvas3D cv) |
(package private) boolean |
hasSceneAntialiasingMultisample(Canvas3D cv) |
(package private) boolean |
hasStereo(Canvas3D cv) |
(package private) void |
initialize(Pipeline.Type pipelineType)
Initialize the pipeline
|
(package private) boolean |
initializeJ3D(boolean disableXinerama) |
(package private) boolean |
initTexturemapping(Context ctx,
int texWidth,
int texHeight,
int objectId) |
(package private) boolean |
isCgLibraryAvailable()
Returns true if the Cg library is loaded and available.
|
(package private) boolean |
isGLSLLibraryAvailable()
Returns true if the GLSL library is loaded and available.
|
(package private) boolean |
isGraphicsConfigSupported(GraphicsConfigTemplate3D gct,
java.awt.GraphicsConfiguration gc) |
(package private) ShaderError |
linkCgShaderProgram(Context ctx,
ShaderProgramId shaderProgramId,
ShaderId[] shaderIds) |
(package private) ShaderError |
linkGLSLShaderProgram(Context ctx,
ShaderProgramId shaderProgramId,
ShaderId[] shaderIds) |
(package private) void |
loadLibraries(int globalShadingLanguage)
Load all of the required libraries
|
(package private) void |
lookupCgShaderAttrNames(Context ctx,
ShaderProgramId shaderProgramId,
int numAttrNames,
java.lang.String[] attrNames,
ShaderAttrLoc[] locArr,
int[] typeArr,
int[] sizeArr,
boolean[] isArrayArr) |
(package private) void |
lookupCgVertexAttrNames(Context ctx,
ShaderProgramId shaderProgramId,
int numAttrNames,
java.lang.String[] attrNames,
boolean[] errArr) |
(package private) void |
lookupGLSLShaderAttrNames(Context ctx,
ShaderProgramId shaderProgramId,
int numAttrNames,
java.lang.String[] attrNames,
ShaderAttrLoc[] locArr,
int[] typeArr,
int[] sizeArr,
boolean[] isArrayArr) |
(package private) void |
newDisplayList(Context ctx,
int displayListId) |
(package private) void |
readOffScreenBuffer(Canvas3D cv,
Context ctx,
int format,
int type,
java.lang.Object data,
int width,
int height) |
(package private) void |
readRaster(Context ctx,
int type,
int xSrcOffset,
int ySrcOffset,
int width,
int height,
int hCanvas,
int imageDataType,
int imageFormat,
java.lang.Object imageBuffer,
int depthFormat,
java.lang.Object depthBuffer) |
(package private) void |
resetColoringAttributes(Context ctx,
float r,
float g,
float b,
float a,
boolean enableLight) |
(package private) void |
resetLineAttributes(Context ctx) |
(package private) void |
resetPointAttributes(Context ctx) |
(package private) void |
resetPolygonAttributes(Context ctx) |
(package private) void |
resetRenderingAttributes(Context ctx,
boolean depthBufferWriteEnableOverride,
boolean depthBufferEnableOverride) |
(package private) void |
resetTexCoordGeneration(Context ctx) |
(package private) void |
resetTextureAttributes(Context ctx) |
(package private) void |
resetTextureNative(Context ctx,
int texUnitIndex) |
(package private) void |
resetTransparency(Context ctx,
int geometryType,
int polygonMode,
boolean lineAA,
boolean pointAA) |
(package private) int |
resizeD3DCanvas(Canvas3D cv,
Context ctx) |
(package private) void |
setBlendColor(Context ctx,
float red,
float green,
float blue,
float alpha) |
(package private) void |
setBlendFunc(Context ctx,
int src,
int dst) |
(package private) ShaderError |
setCgUniform1f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float value) |
(package private) ShaderError |
setCgUniform1fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setCgUniform1i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int value) |
(package private) ShaderError |
setCgUniform1iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setCgUniform2f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setCgUniform2fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setCgUniform2i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setCgUniform2iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setCgUniform3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setCgUniform3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setCgUniform3i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setCgUniform3iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setCgUniform4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setCgUniform4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setCgUniform4i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setCgUniform4iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setCgUniformMatrix3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setCgUniformMatrix3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setCgUniformMatrix4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setCgUniformMatrix4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) void |
setDepthBufferWriteEnable(Context ctx,
boolean mode) |
(package private) void |
setFogEnableFlag(Context ctx,
boolean enableFlag) |
(package private) void |
setFullSceneAntialiasing(Context ctx,
boolean enable) |
(package private) void |
setGlobalAlpha(Context ctx,
float alpha) |
(package private) ShaderError |
setGLSLUniform1f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float value) |
(package private) ShaderError |
setGLSLUniform1fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setGLSLUniform1i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int value) |
(package private) ShaderError |
setGLSLUniform1iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setGLSLUniform2f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setGLSLUniform2fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setGLSLUniform2i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setGLSLUniform2iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setGLSLUniform3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setGLSLUniform3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setGLSLUniform3i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setGLSLUniform3iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setGLSLUniform4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setGLSLUniform4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setGLSLUniform4i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value) |
(package private) ShaderError |
setGLSLUniform4iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value) |
(package private) ShaderError |
setGLSLUniformMatrix3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setGLSLUniformMatrix3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) ShaderError |
setGLSLUniformMatrix4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value) |
(package private) ShaderError |
setGLSLUniformMatrix4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value) |
(package private) void |
setLightEnables(Context ctx,
long enableMask,
int maxLights) |
(package private) void |
setModelViewMatrix(Context ctx,
double[] viewMatrix,
double[] modelMatrix) |
(package private) void |
setProjectionMatrix(Context ctx,
double[] projMatrix) |
(package private) void |
setRenderMode(Context ctx,
int mode,
boolean doubleBuffer) |
(package private) void |
setSceneAmbient(Context ctx,
float red,
float green,
float blue) |
(package private) void |
setVertexFormat(Context ctx,
GeometryArrayRetained geo,
int vformat,
boolean useAlpha,
boolean ignoreVertexColors) |
(package private) void |
setViewport(Context ctx,
int x,
int y,
int width,
int height) |
(package private) int |
swapBuffers(Canvas3D cv,
Context ctx,
long dpy,
Drawable drawable) |
(package private) void |
syncRender(Context ctx,
boolean wait)
This native method makes sure that the rendering for this canvas
gets done now.
|
(package private) void |
textureFillBackground(Context ctx,
float texMinU,
float texMaxU,
float texMinV,
float texMaxV,
float mapMinX,
float mapMaxX,
float mapMinY,
float mapMaxY,
boolean useBiliearFilter) |
(package private) void |
textureFillRaster(Context ctx,
float texMinU,
float texMaxU,
float texMinV,
float texMaxV,
float mapMinX,
float mapMaxX,
float mapMinY,
float mapMaxY,
float mapZ,
float alpha,
boolean useBiliearFilter) |
(package private) void |
texturemapping(Context ctx,
int px,
int py,
int xmin,
int ymin,
int xmax,
int ymax,
int texWidth,
int texHeight,
int rasWidth,
int format,
int objectId,
byte[] image,
int winWidth,
int winHeight) |
(package private) int |
toggleFullScreenMode(Canvas3D cv,
Context ctx) |
(package private) void |
updateColoringAttributes(Context ctx,
float dRed,
float dGreen,
float dBlue,
float red,
float green,
float blue,
float alpha,
boolean lEnable,
int shadeModel) |
(package private) void |
updateCombiner(Context ctx,
int combineRgbMode,
int combineAlphaMode,
int[] combineRgbSrc,
int[] combineAlphaSrc,
int[] combineRgbFcn,
int[] combineAlphaFcn,
int combineRgbScale,
int combineAlphaScale) |
(package private) void |
updateDirectionalLight(Context ctx,
int lightSlot,
float red,
float green,
float blue,
float x,
float y,
float z) |
(package private) void |
updateExponentialFog(Context ctx,
float red,
float green,
float blue,
float density) |
(package private) void |
updateLinearFog(Context ctx,
float red,
float green,
float blue,
double fdist,
double bdist) |
(package private) void |
updateLineAttributes(Context ctx,
float lineWidth,
int linePattern,
int linePatternMask,
int linePatternScaleFactor,
boolean lineAntialiasing) |
(package private) void |
updateMaterial(Context ctx,
float red,
float green,
float blue,
float alpha,
float ared,
float agreen,
float ablue,
float ered,
float egreen,
float eblue,
float dred,
float dgreen,
float dblue,
float sred,
float sgreen,
float sblue,
float shininess,
int colorTarget,
boolean enable) |
(package private) void |
updateMaterialColor(Context ctx,
float r,
float g,
float b,
float a) |
(package private) void |
updateModelClip(Context ctx,
int planeNum,
boolean enableFlag,
double A,
double B,
double C,
double D) |
(package private) void |
updatePointAttributes(Context ctx,
float pointSize,
boolean pointAntialiasing) |
(package private) void |
updatePointLight(Context ctx,
int lightSlot,
float red,
float green,
float blue,
float ax,
float ay,
float az,
float px,
float py,
float pz) |
(package private) void |
updatePolygonAttributes(Context ctx,
int polygonMode,
int cullFace,
boolean backFaceNormalFlip,
float polygonOffset,
float polygonOffsetFactor) |
(package private) void |
updateRegisterCombiners(Context ctx,
double[] transform,
boolean isIdentity,
int textureMode,
int perspCorrectionMode,
float red,
float green,
float blue,
float alpha,
int textureFormat,
int combineRgbMode,
int combineAlphaMode,
int[] combineRgbSrc,
int[] combineAlphaSrc,
int[] combineRgbFcn,
int[] combineAlphaFcn,
int combineRgbScale,
int combineAlphaScale) |
(package private) void |
updateRenderingAttributes(Context ctx,
boolean depthBufferWriteEnableOverride,
boolean depthBufferEnableOverride,
boolean depthBufferEnable,
boolean depthBufferWriteEnable,
int depthTestFunction,
float alphaTestValue,
int alphaTestFunction,
boolean ignoreVertexColors,
boolean rasterOpEnable,
int rasterOp,
boolean userStencilAvailable,
boolean stencilEnable,
int stencilFailOp,
int stencilZFailOp,
int stencilZPassOp,
int stencilFunction,
int stencilReferenceValue,
int stencilCompareMask,
int stencilWriteMask) |
(package private) void |
updateSeparateSpecularColorEnable(Context ctx,
boolean control) |
(package private) void |
updateSpotLight(Context ctx,
int lightSlot,
float red,
float green,
float blue,
float ax,
float ay,
float az,
float px,
float py,
float pz,
float spreadAngle,
float concentration,
float dx,
float dy,
float dz) |
(package private) void |
updateTexCoordGeneration(Context ctx,
boolean enable,
int genMode,
int format,
float planeSx,
float planeSy,
float planeSz,
float planeSw,
float planeTx,
float planeTy,
float planeTz,
float planeTw,
float planeRx,
float planeRy,
float planeRz,
float planeRw,
float planeQx,
float planeQy,
float planeQz,
float planeQw,
double[] trans)
This method updates the native context:
trans contains eyeTovworld transform in d3d
trans contains vworldToEye transform in ogl
|
(package private) void |
updateTexture2DAnisotropicFilter(Context ctx,
float degree) |
(package private) void |
updateTexture2DBoundary(Context ctx,
int boundaryModeS,
int boundaryModeT,
float boundaryRed,
float boundaryGreen,
float boundaryBlue,
float boundaryAlpha) |
(package private) void |
updateTexture2DFilter4Func(Context ctx,
int numFilter4FuncPts,
float[] filter4FuncPts) |
(package private) void |
updateTexture2DFilterModes(Context ctx,
int minFilter,
int magFilter) |
(package private) void |
updateTexture2DImage(Context ctx,
int numLevels,
int level,
int textureFormat,
int imageFormat,
int width,
int height,
int boundaryWidth,
int imageDataType,
java.lang.Object data,
boolean useAutoMipMap) |
(package private) void |
updateTexture2DLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ) |
(package private) void |
updateTexture2DLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod) |
(package private) void |
updateTexture2DSharpenFunc(Context ctx,
int numSharpenTextureFuncPts,
float[] sharpenTextureFuncPts) |
(package private) void |
updateTexture2DSubImage(Context ctx,
int level,
int xoffset,
int yoffset,
int textureFormat,
int imageFormat,
int imgXOffset,
int imgYOffset,
int tilew,
int width,
int height,
int imageDataType,
java.lang.Object data,
boolean useAutoMipMap) |
(package private) void |
updateTexture3DAnisotropicFilter(Context ctx,
float degree) |
(package private) void |
updateTexture3DBoundary(Context ctx,
int boundaryModeS,
int boundaryModeT,
int boundaryModeR,
float boundaryRed,
float boundaryGreen,
float boundaryBlue,
float boundaryAlpha) |
(package private) void |
updateTexture3DFilter4Func(Context ctx,
int numFilter4FuncPts,
float[] filter4FuncPts) |
(package private) void |
updateTexture3DFilterModes(Context ctx,
int minFilter,
int magFilter) |
(package private) void |
updateTexture3DImage(Context ctx,
int numLevels,
int level,
int textureFormat,
int imageFormat,
int width,
int height,
int depth,
int boundaryWidth,
int imageDataType,
java.lang.Object imageData,
boolean useAutoMipMap) |
(package private) void |
updateTexture3DLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ) |
(package private) void |
updateTexture3DLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod) |
(package private) void |
updateTexture3DSharpenFunc(Context ctx,
int numSharpenTextureFuncPts,
float[] sharpenTextureFuncPts) |
(package private) void |
updateTexture3DSubImage(Context ctx,
int level,
int xoffset,
int yoffset,
int zoffset,
int textureFormat,
int imageFormat,
int imgXoffset,
int imgYoffset,
int imgZoffset,
int tilew,
int tileh,
int width,
int height,
int depth,
int imageTypeData,
java.lang.Object imageData,
boolean useAutoMipMap) |
(package private) void |
updateTextureAttributes(Context ctx,
double[] transform,
boolean isIdentity,
int textureMode,
int perspCorrectionMode,
float red,
float green,
float blue,
float alpha,
int textureFormat) |
(package private) void |
updateTextureColorTable(Context ctx,
int numComponents,
int colorTableSize,
int[] colorTable) |
(package private) void |
updateTextureCubeMapAnisotropicFilter(Context ctx,
float degree) |
(package private) void |
updateTextureCubeMapBoundary(Context ctx,
int boundaryModeS,
int boundaryModeT,
float boundaryRed,
float boundaryGreen,
float boundaryBlue,
float boundaryAlpha) |
(package private) void |
updateTextureCubeMapFilter4Func(Context ctx,
int numFilter4FuncPts,
float[] filter4FuncPts) |
(package private) void |
updateTextureCubeMapFilterModes(Context ctx,
int minFilter,
int magFilter) |
(package private) void |
updateTextureCubeMapImage(Context ctx,
int face,
int numLevels,
int level,
int textureFormat,
int imageFormat,
int width,
int height,
int boundaryWidth,
int imageDataType,
java.lang.Object imageData,
boolean useAutoMipMap) |
(package private) void |
updateTextureCubeMapLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ) |
(package private) void |
updateTextureCubeMapLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod) |
(package private) void |
updateTextureCubeMapSharpenFunc(Context ctx,
int numSharpenTextureFuncPts,
float[] sharpenTextureFuncPts) |
(package private) void |
updateTextureCubeMapSubImage(Context ctx,
int face,
int level,
int xoffset,
int yoffset,
int textureFormat,
int imageFormat,
int imgXOffset,
int imgYOffset,
int tilew,
int width,
int height,
int imageDataType,
java.lang.Object imageData,
boolean useAutoMipMap) |
(package private) void |
updateTextureUnitState(Context ctx,
int unitIndex,
boolean enableFlag) |
(package private) void |
updateTransparencyAttributes(Context ctx,
float alpha,
int geometryType,
int polygonMode,
boolean lineAA,
boolean pointAA,
int transparencyMode,
int srcBlendFunction,
int dstBlendFunction) |
(package private) ShaderError |
useCgShaderProgram(Context ctx,
ShaderProgramId shaderProgramId) |
(package private) boolean |
useCtx(Context ctx,
long display,
Drawable drawable) |
(package private) ShaderError |
useGLSLShaderProgram(Context ctx,
ShaderProgramId shaderProgramId) |
(package private) boolean |
validGraphicsMode() |
checkNativeBufferAccess, createPipeline, getPipeline, getPipelineName, getPipelineType, getRendererName, releaseCtx, useNativeOglprotected NoopPipeline()
void initialize(Pipeline.Type pipelineType)
initialize in class Pipelinevoid loadLibraries(int globalShadingLanguage)
loadLibraries in class Pipelineboolean isCgLibraryAvailable()
isCgLibraryAvailable in class Pipelineboolean isGLSLLibraryAvailable()
isGLSLLibraryAvailable in class Pipelinevoid freeD3DArray(GeometryArrayRetained geo, boolean deleteVB)
freeD3DArray in class Pipelinevoid execute(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, int vertexAttrCount, int[] vertexAttrSizes, float[] varray, float[] cdata, int cdirty)
void executeVA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
void executeVABuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, java.lang.Object vcoords, int colorIndex, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, int normalIndex, java.lang.Object ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
executeVABuffer in class Pipelinevoid executeInterleavedBuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty)
executeInterleavedBuffer in class Pipelinevoid setVertexFormat(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
setVertexFormat in class Pipelinevoid disableGlobalAlpha(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
disableGlobalAlpha in class Pipelinevoid buildGA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, int vertexAttrCount, int[] vertexAttrSizes, double[] xform, double[] nxform, float[] varray)
void buildGAForByRef(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int[] texIndex, int texstride, java.lang.Object[] texCoords, double[] xform, double[] nxform)
buildGAForByRef in class Pipelinevoid executeIndexedGeometry(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, float[] varray, float[] cdata, int cdirty, int[] indexCoord)
executeIndexedGeometry in class Pipelinevoid executeIndexedGeometryBuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty, int[] indexCoord)
executeIndexedGeometryBuffer in class Pipelinevoid executeIndexedGeometryVA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, float[] vfcoords, double[] vdcoords, float[] cfdata, byte[] cbdata, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
executeIndexedGeometryVA in class Pipelinevoid executeIndexedGeometryVABuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, java.lang.Object vcoords, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, java.lang.Object normal, int vertexAttrCount, int[] vertexAttrSizes, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
executeIndexedGeometryVABuffer in class Pipelinevoid buildIndexedGeometry(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, double[] xform, double[] nxform, float[] varray, int[] indexCoord)
buildIndexedGeometry in class Pipelinevoid readRaster(Context ctx, int type, int xSrcOffset, int ySrcOffset, int width, int height, int hCanvas, int imageDataType, int imageFormat, java.lang.Object imageBuffer, int depthFormat, java.lang.Object depthBuffer)
readRaster in class PipelineShaderError setCgUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
setCgUniform1i in class PipelineShaderError setCgUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
setCgUniform1f in class PipelineShaderError setCgUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform2i in class PipelineShaderError setCgUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform2f in class PipelineShaderError setCgUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform3i in class PipelineShaderError setCgUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform3f in class PipelineShaderError setCgUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform4i in class PipelineShaderError setCgUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform4f in class PipelineShaderError setCgUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniformMatrix3f in class PipelineShaderError setCgUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniformMatrix4f in class PipelineShaderError setCgUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform1iArray in class PipelineShaderError setCgUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform1fArray in class PipelineShaderError setCgUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform2iArray in class PipelineShaderError setCgUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform2fArray in class PipelineShaderError setCgUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform3iArray in class PipelineShaderError setCgUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform3fArray in class PipelineShaderError setCgUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform4iArray in class PipelineShaderError setCgUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform4fArray in class PipelineShaderError setCgUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniformMatrix3fArray in class PipelineShaderError setCgUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniformMatrix4fArray in class PipelineShaderError createCgShader(Context ctx, int shaderType, ShaderId[] shaderId)
createCgShader in class PipelineShaderError destroyCgShader(Context ctx, ShaderId shaderId)
destroyCgShader in class PipelineShaderError compileCgShader(Context ctx, ShaderId shaderId, java.lang.String program)
compileCgShader in class PipelineShaderError createCgShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
createCgShaderProgram in class PipelineShaderError destroyCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
destroyCgShaderProgram in class PipelineShaderError linkCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
linkCgShaderProgram in class Pipelinevoid lookupCgVertexAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, boolean[] errArr)
lookupCgVertexAttrNames in class Pipelinevoid lookupCgShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
lookupCgShaderAttrNames in class PipelineShaderError useCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
useCgShaderProgram in class PipelineShaderError setGLSLUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
setGLSLUniform1i in class PipelineShaderError setGLSLUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
setGLSLUniform1f in class PipelineShaderError setGLSLUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform2i in class PipelineShaderError setGLSLUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform2f in class PipelineShaderError setGLSLUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform3i in class PipelineShaderError setGLSLUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform3f in class PipelineShaderError setGLSLUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform4i in class PipelineShaderError setGLSLUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform4f in class PipelineShaderError setGLSLUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniformMatrix3f in class PipelineShaderError setGLSLUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniformMatrix4f in class PipelineShaderError setGLSLUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform1iArray in class PipelineShaderError setGLSLUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform1fArray in class PipelineShaderError setGLSLUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform2iArray in class PipelineShaderError setGLSLUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform2fArray in class PipelineShaderError setGLSLUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform3iArray in class PipelineShaderError setGLSLUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform3fArray in class PipelineShaderError setGLSLUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform4iArray in class PipelineShaderError setGLSLUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform4fArray in class PipelineShaderError setGLSLUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniformMatrix3fArray in class PipelineShaderError setGLSLUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniformMatrix4fArray in class PipelineShaderError createGLSLShader(Context ctx, int shaderType, ShaderId[] shaderId)
createGLSLShader in class PipelineShaderError destroyGLSLShader(Context ctx, ShaderId shaderId)
destroyGLSLShader in class PipelineShaderError compileGLSLShader(Context ctx, ShaderId shaderId, java.lang.String program)
compileGLSLShader in class PipelineShaderError createGLSLShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
createGLSLShaderProgram in class PipelineShaderError destroyGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
destroyGLSLShaderProgram in class PipelineShaderError linkGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
linkGLSLShaderProgram in class PipelineShaderError bindGLSLVertexAttrName(Context ctx, ShaderProgramId shaderProgramId, java.lang.String attrName, int attrIndex)
bindGLSLVertexAttrName in class Pipelinevoid lookupGLSLShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
lookupGLSLShaderAttrNames in class PipelineShaderError useGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
useGLSLShaderProgram in class Pipelinevoid cleanupRenderer()
cleanupRenderer in class Pipelinevoid updateColoringAttributes(Context ctx, float dRed, float dGreen, float dBlue, float red, float green, float blue, float alpha, boolean lEnable, int shadeModel)
updateColoringAttributes in class Pipelinevoid updateDirectionalLight(Context ctx, int lightSlot, float red, float green, float blue, float x, float y, float z)
updateDirectionalLight in class Pipelinevoid updatePointLight(Context ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz)
updatePointLight in class Pipelinevoid updateSpotLight(Context ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz, float spreadAngle, float concentration, float dx, float dy, float dz)
updateSpotLight in class Pipelinevoid updateExponentialFog(Context ctx, float red, float green, float blue, float density)
updateExponentialFog in class Pipelinevoid updateLinearFog(Context ctx, float red, float green, float blue, double fdist, double bdist)
updateLinearFog in class Pipelinevoid updateLineAttributes(Context ctx, float lineWidth, int linePattern, int linePatternMask, int linePatternScaleFactor, boolean lineAntialiasing)
updateLineAttributes in class Pipelinevoid updateMaterial(Context ctx, float red, float green, float blue, float alpha, float ared, float agreen, float ablue, float ered, float egreen, float eblue, float dred, float dgreen, float dblue, float sred, float sgreen, float sblue, float shininess, int colorTarget, boolean enable)
updateMaterial in class Pipelinevoid updateModelClip(Context ctx, int planeNum, boolean enableFlag, double A, double B, double C, double D)
updateModelClip in class Pipelinevoid updatePointAttributes(Context ctx, float pointSize, boolean pointAntialiasing)
updatePointAttributes in class Pipelinevoid updatePolygonAttributes(Context ctx, int polygonMode, int cullFace, boolean backFaceNormalFlip, float polygonOffset, float polygonOffsetFactor)
updatePolygonAttributes in class Pipelinevoid updateRenderingAttributes(Context ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride, boolean depthBufferEnable, boolean depthBufferWriteEnable, int depthTestFunction, float alphaTestValue, int alphaTestFunction, boolean ignoreVertexColors, boolean rasterOpEnable, int rasterOp, boolean userStencilAvailable, boolean stencilEnable, int stencilFailOp, int stencilZFailOp, int stencilZPassOp, int stencilFunction, int stencilReferenceValue, int stencilCompareMask, int stencilWriteMask)
updateRenderingAttributes in class Pipelinevoid updateTexCoordGeneration(Context ctx, boolean enable, int genMode, int format, float planeSx, float planeSy, float planeSz, float planeSw, float planeTx, float planeTy, float planeTz, float planeTw, float planeRx, float planeRy, float planeRz, float planeRw, float planeQx, float planeQy, float planeQz, float planeQw, double[] trans)
updateTexCoordGeneration in class Pipelinevoid updateTransparencyAttributes(Context ctx, float alpha, int geometryType, int polygonMode, boolean lineAA, boolean pointAA, int transparencyMode, int srcBlendFunction, int dstBlendFunction)
updateTransparencyAttributes in class Pipelinevoid updateTextureAttributes(Context ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat)
updateTextureAttributes in class Pipelinevoid updateRegisterCombiners(Context ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
updateRegisterCombiners in class Pipelinevoid updateTextureColorTable(Context ctx, int numComponents, int colorTableSize, int[] colorTable)
updateTextureColorTable in class Pipelinevoid updateCombiner(Context ctx, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
updateCombiner in class Pipelinevoid updateTextureUnitState(Context ctx, int unitIndex, boolean enableFlag)
updateTextureUnitState in class Pipelinevoid bindTexture2D(Context ctx, int objectId, boolean enable)
bindTexture2D in class Pipelinevoid updateTexture2DImage(Context ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
updateTexture2DImage in class Pipelinevoid updateTexture2DSubImage(Context ctx, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
updateTexture2DSubImage in class Pipelinevoid updateTexture2DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTexture2DLodRange in class Pipelinevoid updateTexture2DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTexture2DLodOffset in class Pipelinevoid updateTexture2DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTexture2DBoundary in class Pipelinevoid updateTexture2DFilterModes(Context ctx, int minFilter, int magFilter)
updateTexture2DFilterModes in class Pipelinevoid updateTexture2DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTexture2DSharpenFunc in class Pipelinevoid updateTexture2DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTexture2DFilter4Func in class Pipelinevoid updateTexture2DAnisotropicFilter(Context ctx, float degree)
updateTexture2DAnisotropicFilter in class Pipelinevoid bindTexture3D(Context ctx, int objectId, boolean enable)
bindTexture3D in class Pipelinevoid updateTexture3DImage(Context ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int depth, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
updateTexture3DImage in class Pipelinevoid updateTexture3DSubImage(Context ctx, int level, int xoffset, int yoffset, int zoffset, int textureFormat, int imageFormat, int imgXoffset, int imgYoffset, int imgZoffset, int tilew, int tileh, int width, int height, int depth, int imageTypeData, java.lang.Object imageData, boolean useAutoMipMap)
updateTexture3DSubImage in class Pipelinevoid updateTexture3DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTexture3DLodRange in class Pipelinevoid updateTexture3DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTexture3DLodOffset in class Pipelinevoid updateTexture3DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, int boundaryModeR, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTexture3DBoundary in class Pipelinevoid updateTexture3DFilterModes(Context ctx, int minFilter, int magFilter)
updateTexture3DFilterModes in class Pipelinevoid updateTexture3DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTexture3DSharpenFunc in class Pipelinevoid updateTexture3DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTexture3DFilter4Func in class Pipelinevoid updateTexture3DAnisotropicFilter(Context ctx, float degree)
updateTexture3DAnisotropicFilter in class Pipelinevoid bindTextureCubeMap(Context ctx, int objectId, boolean enable)
bindTextureCubeMap in class Pipelinevoid updateTextureCubeMapImage(Context ctx, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
updateTextureCubeMapImage in class Pipelinevoid updateTextureCubeMapSubImage(Context ctx, int face, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
updateTextureCubeMapSubImage in class Pipelinevoid updateTextureCubeMapLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTextureCubeMapLodRange in class Pipelinevoid updateTextureCubeMapLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTextureCubeMapLodOffset in class Pipelinevoid updateTextureCubeMapBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTextureCubeMapBoundary in class Pipelinevoid updateTextureCubeMapFilterModes(Context ctx, int minFilter, int magFilter)
updateTextureCubeMapFilterModes in class Pipelinevoid updateTextureCubeMapSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTextureCubeMapSharpenFunc in class Pipelinevoid updateTextureCubeMapFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTextureCubeMapFilter4Func in class Pipelinevoid updateTextureCubeMapAnisotropicFilter(Context ctx, float degree)
updateTextureCubeMapAnisotropicFilter in class Pipelineboolean initializeJ3D(boolean disableXinerama)
initializeJ3D in class Pipelineint getMaximumLights()
getMaximumLights in class PipelineContext createNewContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, Context shareCtx, boolean isSharedCtx, boolean offScreen, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
createNewContext in class Pipelinevoid createQueryContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, boolean offScreen, int width, int height, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
createQueryContext in class PipelineDrawable createOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, int width, int height)
createOffScreenBuffer in class Pipelinevoid destroyOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, Drawable drawable)
destroyOffScreenBuffer in class Pipelinevoid readOffScreenBuffer(Canvas3D cv, Context ctx, int format, int type, java.lang.Object data, int width, int height)
readOffScreenBuffer in class Pipelineint swapBuffers(Canvas3D cv, Context ctx, long dpy, Drawable drawable)
swapBuffers in class Pipelineint resizeD3DCanvas(Canvas3D cv, Context ctx)
resizeD3DCanvas in class Pipelineint toggleFullScreenMode(Canvas3D cv, Context ctx)
toggleFullScreenMode in class Pipelinevoid updateMaterialColor(Context ctx, float r, float g, float b, float a)
updateMaterialColor in class Pipelinevoid destroyContext(long display,
Drawable drawable,
Context ctx)
destroyContext in class Pipelinevoid accumReturn(Context ctx)
accumReturn in class Pipelinevoid clearAccum(Context ctx)
clearAccum in class Pipelineint getNumCtxLights(Context ctx)
getNumCtxLights in class Pipelineboolean decal1stChildSetup(Context ctx)
decal1stChildSetup in class Pipelinevoid decalNthChildSetup(Context ctx)
decalNthChildSetup in class Pipelinevoid decalReset(Context ctx, boolean depthBufferEnable)
decalReset in class Pipelinevoid ctxUpdateEyeLightingEnable(Context ctx, boolean localEyeLightingEnable)
ctxUpdateEyeLightingEnable in class Pipelinevoid setBlendColor(Context ctx, float red, float green, float blue, float alpha)
setBlendColor in class Pipelinevoid setBlendFunc(Context ctx, int src, int dst)
setBlendFunc in class Pipelinevoid setFogEnableFlag(Context ctx, boolean enableFlag)
setFogEnableFlag in class Pipelinevoid setFullSceneAntialiasing(Context ctx, boolean enable)
setFullSceneAntialiasing in class Pipelinevoid setGlobalAlpha(Context ctx, float alpha)
setGlobalAlpha in class Pipelinevoid updateSeparateSpecularColorEnable(Context ctx, boolean control)
updateSeparateSpecularColorEnable in class Pipelinevoid beginScene(Context ctx)
beginScene in class Pipelineboolean validGraphicsMode()
validGraphicsMode in class Pipelinevoid setLightEnables(Context ctx, long enableMask, int maxLights)
setLightEnables in class Pipelinevoid setSceneAmbient(Context ctx, float red, float green, float blue)
setSceneAmbient in class Pipelinevoid disableFog(Context ctx)
disableFog in class Pipelinevoid disableModelClip(Context ctx)
disableModelClip in class Pipelinevoid resetRenderingAttributes(Context ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)
resetRenderingAttributes in class Pipelinevoid resetTextureNative(Context ctx, int texUnitIndex)
resetTextureNative in class Pipelinevoid activeTextureUnit(Context ctx, int texUnitIndex)
activeTextureUnit in class Pipelinevoid resetTexCoordGeneration(Context ctx)
resetTexCoordGeneration in class Pipelinevoid resetTextureAttributes(Context ctx)
resetTextureAttributes in class Pipelinevoid resetPolygonAttributes(Context ctx)
resetPolygonAttributes in class Pipelinevoid resetLineAttributes(Context ctx)
resetLineAttributes in class Pipelinevoid resetPointAttributes(Context ctx)
resetPointAttributes in class Pipelinevoid resetTransparency(Context ctx, int geometryType, int polygonMode, boolean lineAA, boolean pointAA)
resetTransparency in class Pipelinevoid resetColoringAttributes(Context ctx, float r, float g, float b, float a, boolean enableLight)
resetColoringAttributes in class Pipelinevoid syncRender(Context ctx, boolean wait)
syncRender in class Pipelinevoid clear(Context ctx, float r, float g, float b, boolean clearStencil)
void textureFillBackground(Context ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, boolean useBiliearFilter)
textureFillBackground in class Pipelinevoid textureFillRaster(Context ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, float mapZ, float alpha, boolean useBiliearFilter)
textureFillRaster in class Pipelinevoid executeRasterDepth(Context ctx, float posX, float posY, float posZ, int srcOffsetX, int srcOffsetY, int rasterWidth, int rasterHeight, int depthWidth, int depthHeight, int depthType, java.lang.Object depthData)
executeRasterDepth in class Pipelinevoid setModelViewMatrix(Context ctx, double[] viewMatrix, double[] modelMatrix)
setModelViewMatrix in class Pipelinevoid setProjectionMatrix(Context ctx, double[] projMatrix)
setProjectionMatrix in class Pipelinevoid setViewport(Context ctx, int x, int y, int width, int height)
setViewport in class Pipelinevoid newDisplayList(Context ctx, int displayListId)
newDisplayList in class Pipelinevoid endDisplayList(Context ctx)
endDisplayList in class Pipelinevoid callDisplayList(Context ctx, int id, boolean isNonUniformScale)
callDisplayList in class Pipelinevoid freeDisplayList(Context ctx, int id)
freeDisplayList in class Pipelinevoid freeTexture(Context ctx, int id)
freeTexture in class Pipelinevoid texturemapping(Context ctx, int px, int py, int xmin, int ymin, int xmax, int ymax, int texWidth, int texHeight, int rasWidth, int format, int objectId, byte[] image, int winWidth, int winHeight)
texturemapping in class Pipelineboolean initTexturemapping(Context ctx, int texWidth, int texHeight, int objectId)
initTexturemapping in class Pipelinevoid setRenderMode(Context ctx, int mode, boolean doubleBuffer)
setRenderMode in class Pipelinevoid setDepthBufferWriteEnable(Context ctx, boolean mode)
setDepthBufferWriteEnable in class Pipelinejava.awt.GraphicsConfiguration getGraphicsConfig(java.awt.GraphicsConfiguration gconfig)
getGraphicsConfig in class Pipelinelong getFbConfig(GraphicsConfigInfo gcInfo)
getFbConfig in class Pipelinejava.awt.GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration[] gc)
getBestConfiguration in class Pipelineboolean isGraphicsConfigSupported(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration gc)
isGraphicsConfigSupported in class Pipelineboolean hasDoubleBuffer(Canvas3D cv)
hasDoubleBuffer in class Pipelineint getStencilSize(Canvas3D cv)
getStencilSize in class Pipelineboolean hasSceneAntialiasingMultisample(Canvas3D cv)
hasSceneAntialiasingMultisample in class Pipelineboolean hasSceneAntialiasingAccum(Canvas3D cv)
hasSceneAntialiasingAccum in class Pipelinelong getDisplay()
getDisplay in class Pipelineint getScreen(java.awt.GraphicsDevice graphicsDevice)
DrawingSurfaceObject createDrawingSurfaceObject(Canvas3D cv)
createDrawingSurfaceObject in class Pipelinevoid freeDrawingSurface(Canvas3D cv, DrawingSurfaceObject drawingSurfaceObject)
freeDrawingSurface in class Pipelinevoid freeDrawingSurfaceNative(java.lang.Object o)
freeDrawingSurfaceNative in class PipelineCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.