Consolidate texture uploads in GrGLGpu.

Remove unused GrMipMapsStatus out param

All paths now unbind PBO before upload.

Use the backend texture's target in GrGLGpu::onUpdateBackendTexture.

Change-Id: I91ce483841c8f8b2cc8a2e1f1a45a186a66d2d5f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289576
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
3 files changed