diff options
| author | Eric Karl <ericrk@chromium.org> | 2017-03-31 09:38:52 -0700 |
|---|---|---|
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-01 01:22:45 +0000 |
| commit | d58f040532f2f5a63d24bd17d7c588e52c0b99c3 (patch) | |
| tree | e38f39fd56e11da5be3d4ede931bb1e29c591f20 /samplecode/SampleTinyBitmap.cpp | |
| parent | c8c176025c4fb610007c9705e37439c38b3aff5d (diff) | |
Respect kRectsMustMatchForMSAASrc_BlitFramebufferFlag in dst setup
Crurently, when preparing a texture for blitFramebuffer, we ignore the
kRectsMustMatchForMSAASrc_BlitFramebufferFlag, and may attempt to
copy from one src rect to a different dst rect.
This change updates initDescForDstCopy and setupDstTexture to allocate
larger textures if necessary and accomodate this flags requirements.
Bug: 658277
Change-Id: I9f45a03d4055e0ad87c01e1d826287695096e609
Reviewed-on: https://skia-review.googlesource.com/10941
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'samplecode/SampleTinyBitmap.cpp')
0 files changed, 0 insertions, 0 deletions
