Searched refs:surface_width (Results 1 – 2 of 2) sorted by relevance
79 unsigned surface_width, unsigned surface_height);
191 unsigned surface_width, unsigned surface_height) in st_pbo_draw() argument221 float x0 = (float) addr->xoffset / surface_width * 2.0f - 1.0f; in st_pbo_draw()223 float x1 = (float) (addr->xoffset + addr->width) / surface_width * 2.0f - 1.0f; in st_pbo_draw()