aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkSurface.h
diff options
context:
space:
mode:
authorGravatar hendrikw <hendrikw@chromium.org>2014-12-09 14:26:47 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-09 14:26:47 -0800
commit9a0c7abfd7ce8694136840fa224e99579b8329f6 (patch)
tree33ce865c05e9b6874ead18b1a40163d311b8f4ee /include/core/SkSurface.h
parent7af39f6e8da480930186e5c2fff90ac21ebdba82 (diff)
Skia: Track the fIsWrapped separately so that we delete correctly
GrGlTextureRenderTarget inherits virtually from both GrGlRenderTarget and GrGLTexture, which both have a 'wrap' flag. The passed in wrap setting could be different for the two base classes, but since it's virtually inherited, they share the same flag, so they're either both on, or both off. As a result, we fail to delete the frambuffer. To fix this, we now keep a separate isWrapped flag for GrGlRenderTarget. BUG=437998 Review URL: https://codereview.chromium.org/791493003
Diffstat (limited to 'include/core/SkSurface.h')
0 files changed, 0 insertions, 0 deletions