diff options
| author | bsalomon <bsalomon@google.com> | 2014-10-02 11:23:04 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2014-10-02 11:23:04 -0700 |
| commit | 85d3427d4932c6cfaf02f8a7454f0c6f213b0c2e (patch) | |
| tree | 0a048c9b828309af9c939b43b44d6ff7b8ef6ee5 /samplecode/SampleApp.cpp | |
| parent | e4b231428e8c14cbc82d20cfb12eb08fc45f8df6 (diff) | |
Revert of GrContext::copyTexture->GrContext::copySurface. Add a flush writes pixel ops flag. (patchset #3 id:40001 of https://codereview.chromium.org/622663002/)
Reason for revert:
Breaking GMs on some bots
Original issue's description:
> GrContext::copyTexture->GrContext::copySurface.
>
> Add a flush writes pixel ops flag.
>
> Add an explicit flush writes for GrSurface.
>
> BUG=skia:2977
>
> Committed: https://skia.googlesource.com/skia/+/cf99b00980b6c9c557e71abf1a7c9f9b21217262
TBR=robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2977
Review URL: https://codereview.chromium.org/621073002
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 67e8dd3d2e..6ca67bcbcd 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -297,8 +297,7 @@ public: SkImageInfo2GrPixelConfig(bm.colorType(), bm.alphaType()), bm.getPixels(), - bm.rowBytes(), - GrContext::kFlushWrites_PixelOp); + bm.rowBytes()); } } #endif |
