roughly implement some opengl wrapper

sure can't run, but they express my idea