Home
last modified time | relevance | path

Searched refs:CENTER_GRID (Results 1 – 1 of 1) sorted by relevance

/cts/tests/openglperf2/jni/graphics/
DRenderer.cpp24 #define CENTER_GRID(x) ((((x) * 2.0 + 1) - OFFSCREEN_GRID_SIZE) / OFFSCREEN_GRID_SIZE) macro
270 glUniform1f(mFboXOffsetUniformHandle, CENTER_GRID(i / OFFSCREEN_GRID_SIZE)); in draw()
271 glUniform1f(mFboYOffsetUniformHandle, CENTER_GRID(i % OFFSCREEN_GRID_SIZE)); in draw()