summaryrefslogtreecommitdiffstats
path: root/nbproject
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-20 11:54:20 +0200
committerSven Gothel <[email protected]>2012-09-20 11:54:20 +0200
commit3f5aac3536956e245d0e151e4915e7dd67a08b7e (patch)
treec9267fcf10ebd5508b62ae1ba0589698605f9644 /nbproject
parent2ea3f82baa32ff7f25856c7e3210fb70664b49e6 (diff)
Fix non NIO direct GL semantics: Restrict certain GL function to NIODirectOnly (again)
Partially reverting commits 375ab2da54ded1f3b3d90dc21b91fc6b87c64285 45a42f7c7f7fce4e6c7eb495591c438bdf0170a2 Both commits had flaws regarding: - GL spec: Pointer functions required passed memory pointers to persist - JNI: Primitive arrays may change their native memory location (swap), even if they were not GC'ed. Xerxes Ranby and I discussed whether we are able to track the primitive non direct NIO backed arrays and pinpoint them. JNI's Get*ArrayElements may be able to pinpoint, however it could result in a copy of the data, which would render this feature non performant. The tracking itself may be another no-go, since it would add up complexity and failing to free resources would be another negative sideeffect.
Diffstat (limited to 'nbproject')
0 files changed, 0 insertions, 0 deletions