blob: 80eb7ba4ad1457c86279f4be4f86cb874fdf9b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Version 2.0:
- SIGG slides / video
- ES3 / GL 4.3
+++
NVIDIA Tegra: discard problem (still exist?):
OK:
GL_RENDERER: NVIDIA Tegra
GL_VERSION: OpenGL ES 2.0 14.01002
+++
TestSharedContextVBOES2NEWT crashes the NV driver sporadically.
++
WIP:
- Optimize/Fix NIO caching of glMapBuffer/glUnmapBuffer
- optimize the NIO caching, i.e. memory range, incr. reference count
- _remove_ the cached object w/ decr. ref count, remove object
Random, somewhat old to-do list:
- Non-const array types must be properly released with JNI_COMMIT in
order to see side effects if the array was copied.
- Need a disciplined mechanism for converting char* argument types. For
example, many C functions accept a "char*" argument with the semantic that
output data will be written into the buffer pointed to by the
argument. The type "const char*" is used when the argument's data will be
unchanged. Our system needs a new directive, such as
"ArgumentIsStringBuffer" to be used for type conversion in those cases
where the native code needs to write output into the "char*" argument. Not
sure how to handle this on the native side -- it may require hints to the
native code generator as to how large the StringBuffer's backing buffer
needs to be, so we can assert this condition before passing the backing
buffer to the C function we are wrapping.
- Throw an exception if native calls to GetPrimitiveArrayCritical
return null.
|