aboutsummaryrefslogtreecommitdiff
path: root/src/libGLESv2/renderer/d3d/TextureD3D.h
diff options
context:
space:
mode:
authorGeoff Lang <geofflang@chromium.org>2014-09-17 11:42:17 -0400
committerGeoff Lang <geofflang@chromium.org>2014-09-18 18:16:17 +0000
commit02f18b883992598ffc22c2747720f17da65a330e (patch)
treec94ed241a4e3ba37e3e411e6b6d605915365b461 /src/libGLESv2/renderer/d3d/TextureD3D.h
parentaf875527dd30df822016ff90307de938195176c3 (diff)
downloadangle-02f18b883992598ffc22c2747720f17da65a330e.tar.gz
Don't skip draw calls on zero-sized viewports.
If transform feedback is active, primitives still need to be rendered even if no pixels are written to the framebuffer. Instead of checking for active transform feedback, simply remove the draw call skipping optimization since it is most likely an application mistake to draw with a zero sized viewport and we shouldn't optimize for this case. This change doesn't affect the clear calls because the viewport is set to the framebuffer size which is non-zero. BUG=angle:743 Change-Id: I04af9d6de5aad3040e3c6b3c24990e107e21ad36 Reviewed-on: https://chromium-review.googlesource.com/218508 Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
Diffstat (limited to 'src/libGLESv2/renderer/d3d/TextureD3D.h')
0 files changed, 0 insertions, 0 deletions