Fix dm with Chromium command buffer driver
authorkkinnunen <kkinnunen@nvidia.com>
Tue, 13 Oct 2015 19:58:37 +0000 (12:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Oct 2015 19:58:38 +0000 (12:58 -0700)
commit0adfffba1bee55eee9e31e809cd0089840722b26
treeddd0ad070007a5c3c52c4ce6a0303f2ed53debd4
parentfdb47571a3b5e72469b67de44e32ac14d9352ab4
Fix dm with Chromium command buffer driver

Fix a crash in dm when run with Chromium command buffer driver.

Also removes glCopyTextureCHROMIUM, it does not seem to be used.
This is removed on the grounds that it would need similar change,
if it was used. The variable fCopyTextureCHROMIUM does not seem to
be populated in the Chromium side, either.

BUG=skia:2992

Review URL: https://codereview.chromium.org/1389213004
include/gpu/gl/GrGLFunctions.h
include/gpu/gl/GrGLInterface.h
src/gpu/gl/GrGLAssembleInterface.cpp