Pointer.to(newint[]{ntt}),// size_t num_texture_tiles,// number of texture tiles to process
// Pointer.to(new int[] {ntt}), // size_t num_texture_tiles,// number of texture tiles to process
Pointer.to(newint[]{ti_offset}),// size_t num_texture_tiles,// number of texture tiles to process
// Pointer.to(gpu_num_texture_tiles[((pass & 3) << 1) + border_tile)]), // int * num_texture_tiles,// number of texture tiles to process
Pointer.to(gpu_num_texture_tiles).withByteOffset(
(((pass&3)<<1)+border_tile)*Sizeof.INT),// int * num_texture_tiles,// number of texture tiles to process
Pointer.to(newint[]{ti_offset}),// int gpu_texture_indices_offset, // add to gpu_texture_indices (now complicated: if negative - add *(pnum_texture_tiles) and negate
Pointer.to(gpu_texture_indices_ovlp),// gpu_texture_indices_offset,// add to gpu_texture_indices
Pointer.to(gpu_texture_indices_ovlp),// gpu_texture_indices_offset,// add to gpu_texture_indices