Searched refs:OFFSCREEN_GRID_SIZE (Results 1 – 2 of 2) sorted by relevance
24 #define CENTER_GRID(x) ((((x) * 2.0 + 1) - OFFSCREEN_GRID_SIZE) / OFFSCREEN_GRID_SIZE)270 glUniform1f(mFboXOffsetUniformHandle, CENTER_GRID(i / OFFSCREEN_GRID_SIZE)); in draw()271 glUniform1f(mFboYOffsetUniformHandle, CENTER_GRID(i % OFFSCREEN_GRID_SIZE)); in draw()
33 static const int OFFSCREEN_GRID_SIZE = 10; variable