aboutsummaryrefslogtreecommitdiffstats
path: root/make/cg-common.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-27 01:29:23 +0000
committerKenneth Russel <[email protected]>2005-07-27 01:29:23 +0000
commit45fe515cbdb378476910df881a1a98942e68b2c1 (patch)
tree168505558c4fbdb5505bda0b8631e00b3e2d548d /make/cg-common.cfg
parent7c1f2cde56438a979ddaab5fecc09f663427be91 (diff)
Upgraded Cg headers to 1.4 including initial CgFX extensions. Much new
functionality needed to be ignored; unclear whether the resulting binding is very useful at the momemnt. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@338 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/cg-common.cfg')
-rw-r--r--make/cg-common.cfg43
1 files changed, 42 insertions, 1 deletions
diff --git a/make/cg-common.cfg b/make/cg-common.cfg
index 246492a1f..b9ee9a26c 100644
--- a/make/cg-common.cfg
+++ b/make/cg-common.cfg
@@ -25,29 +25,58 @@ VoidPointerExpansion short int float byte double
#
# Map const char* return values to Java strings for these functions
#
+ReturnsString cgGetAnnotationName
ReturnsString cgGetEnumString
ReturnsString cgGetErrorString
ReturnsString cgGetLastErrorString
ReturnsString cgGetLastListing
ReturnsString cgGetParameterName
ReturnsString cgGetParameterSemantic
+ReturnsString cgGetPassName
ReturnsString cgGetProfileString
ReturnsString cgGetProgramString
ReturnsString cgGetResourceString
+ReturnsString cgGetStateName
ReturnsString cgGetString
+ReturnsString cgGetStringAnnotationValue
+ReturnsString cgGetStringParameterValue
+ReturnsString cgGetStringStateAssignmentValue
+ReturnsString cgGetTechniqueName
ReturnsString cgGetTypeString
+ArgumentIsString cgAddStateEnumerant 1
+ArgumentIsString cgCreateArrayState 1
+ArgumentIsString cgCreateArraySamplerState 1
+ArgumentIsString cgCreateEffect 1 2
+ArgumentIsString cgCreateEffectFromFile 1 2
ArgumentIsString cgCreateProgram 2 4 5
ArgumentIsString cgCreateProgramFromFile 2 4 5
+ArgumentIsString cgCreateProgramFromEffect 2 3
+ArgumentIsString cgCreateSamplerState 1
+ArgumentIsString cgCreateState 1
+ArgumentIsString cgGetEffectParameterBySemantic 1
ArgumentIsString cgGetEnum 0
+ArgumentIsString cgGetNamedEffectParameter 1
ArgumentIsString cgGetNamedParameter 1
+ArgumentIsString cgGetNamedPass 1
ArgumentIsString cgGetNamedProgramParameter 2
+ArgumentIsString cgGetNamedSamplerState 1
+ArgumentIsString cgGetNamedState 1
+ArgumentIsString cgGetNamedSamplerStateAssignment 1
+ArgumentIsString cgGetNamedStateAssignment 1
ArgumentIsString cgGetNamedStructParameter 1
+ArgumentIsString cgGetNamedTechnique 1
+ArgumentIsString cgGetNamedTechniqueAnnotation 1
+ArgumentIsString cgGetNamedPassAnnotation 1
+ArgumentIsString cgGetNamedParameterAnnotation 1
+ArgumentIsString cgGetNamedProgramAnnotation 1
ArgumentIsString cgGetNamedUserType 1
ArgumentIsString cgGetProfile 0
ArgumentIsString cgGetType 0
ArgumentIsString cgGetResource 0
+ArgumentIsString cgSetLastListing 1
ArgumentIsString cgSetParameterSemantic 1
+ArgumentIsString cgSetStringParameterValue 1
# Opaque definitions
Opaque boolean CGbool
@@ -56,14 +85,26 @@ Opaque boolean CGbool
# FIXME!!!! Ignore these functions for now because we can't
# automatically handle C callbacks
#
-Ignore cgGetErrorCallback
Ignore cgSetErrorCallback
+Ignore cgGetErrorCallback
+Ignore cgSetErrorHandler
+Ignore cgGetErrorHandler
+Ignore cgSetStateCallbacks
+Ignore cgGetStateSetCallback
+Ignore cgGetStateResetCallback
+Ignore cgGetStateValidateCallback
#
# FIXME!!!! Ignore these functions for now because bugs in the
# emitter code can't handle them
#
Ignore cgGetParameterValues
+Ignore cgGetBooleanAnnotationValues
+Ignore cgGetBoolStateAssignmentValues
+Ignore cgGetFloatAnnotationValues
+Ignore cgGetFloatStateAssignmentValues
+Ignore cgGetIntAnnotationValues
+Ignore cgGetIntStateAssignmentValues
#
# Need to import New IO for Buffer classes