aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/renderer.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-08-13 17:54:27 -0400
committerTony Crisci <tony@dubstepdish.com>2017-08-15 07:36:50 -0400
commitf0f190bfa5b7ebf2dbb5cc62e20e3b80038382b4 (patch)
treed0072ec7f056d0c08dda34132ac1107d76a3913c /render/gles2/renderer.c
parente22e443717fcdae72d4e2e9db22f9929ab010643 (diff)
implement buffer scale
Keep track of the scale of the buffer set by surface.set_buffer_scale. Calculate the height and width of the texture from the buffer depending on the scale when it is attached. Use buffer damage to determine the damage of the buffer when flushing damage. Convert surface damage to buffer damage and union to the surface buffer_damage prior to flushing damage.
Diffstat (limited to 'render/gles2/renderer.c')
0 files changed, 0 insertions, 0 deletions