BenLand100/SMART — pull request #13 by Brandon-T (2012-10-24 03:32:22+00:00)
Title: OpenGL Buffer Feeding.

Yeah I know, I named the pull Request stupidly.

Before you commit this, I'd like you to check it out and see if you like it. I tried to edit Smart's source as little as possible and so I made a file called SharedLibrary. It's a stupid name since it's vague but meh.

Anyway, this is for the communication between the DLL and Smart. It reads the pixels every buffer swap and gives them to smart with the option of flipping the image which I enabled by default.

OpenGL BackBuffer
/ \
/ \
/ \
/ \
SmartJNIPointer Graphics card
\
Screen

Infact, it writes to Smart's pointer before it gets to the screen. Should be no problems with delays or anything at all.