preliminary implementation of frame share mechanism for stimgl/spikegl