Addition of necessary flush to copyToTexturePixelRef(...).

Ganesh batches drawing operations, which means that the copy operation, which does not flush the pipeline, can capture stale contents.  By forcing a flush, the up-to-date version of the texture is copied.

TEST=none
BUG=124054
Review URL: https://codereview.appspot.com/6129043

git-svn-id: http://skia.googlecode.com/svn/trunk@3785 2bbb7eff-a529-9590-31e7-b0007b416f81
1 file changed