summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_time.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2013-05-14 17:20:02 -0700
committerAnuj Phogat <[email protected]>2013-05-30 10:50:30 -0700
commit0a70fdfb3ffe2b03c037c64076fe4c6d3e8a0fe5 (patch)
treeb4776d6e41388a153d1d958771a5067943d87d61 /src/gallium/auxiliary/os/os_time.h
parent6e28713a8dceed021bdeaa881e1b4977ac8103ab (diff)
intel: Add multisample scaled blitting in blorp engine
In traditional multisampled framebuffer rendering, color samples must be explicitly resolved via BlitFramebuffer before doing the scaled blitting of the framebuffer. So, scaled blitting of a multisample framebuffer takes two separate calls to BlitFramebuffer. This patch implements the functionality of doing multisampled scaled resolve using just one BlitFramebuffer call. Important changes involved in this patch are listed below: - Use float registers to scale and offset texture coordinates. - Change offset computation to consider float coordinates. - Round the scaled coordinates down to nearest integer. - Modify src texture coordinates clipping to account for scaling.. - Linear filter is not yet implemented in blorp. So, don't use blorp engine to do single sampled scaled blitting. V3: Fix nearest filtering issue in scaled blits. Makes failing piglit fbo-blit-stetch test and framebuffer_blit_functionality_magnifying_blit.test in gles3 CTS pass. Observed no piglit, gles3 CTS regressions on sandybridge & ivybridge with this patch. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/os/os_time.h')
0 files changed, 0 insertions, 0 deletions