Home
last modified time | relevance | path

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

/reactos/dll/directx/wine/wined3d/
H A Dutils.c4913 float center_offset; in get_projection_matrix() local
4931 center_offset = 63.0f / 64.0f; in get_projection_matrix()
4933 center_offset = -1.0f / 64.0f; in get_projection_matrix()
4943 float x_offset = (center_offset - (2.0f * x) - w) / w; in get_projection_matrix()
4946 ? (center_offset - (2.0f * y) - h) / h in get_projection_matrix()
4947 : (center_offset - (2.0f * y) - h) / -h; in get_projection_matrix()
4965 float x_offset = center_offset / state->viewport.width; in get_projection_matrix()
4967 ? center_offset / state->viewport.height in get_projection_matrix()
4968 : -center_offset / state->viewport.height; in get_projection_matrix()
H A Dwined3d_private.h4184 float center_offset; in shader_get_position_fixup() local
4187 center_offset = 63.0f / 64.0f; in shader_get_position_fixup()
4189 center_offset = -1.0f / 64.0f; in shader_get_position_fixup()
4193 position_fixup[2] = center_offset / state->viewport.width; in shader_get_position_fixup()
4194 position_fixup[3] = -center_offset / state->viewport.height; in shader_get_position_fixup()