skia2/tools/gpu/gl
Brian Salomon 8e63cab2e8 Revert "Separate texture creation from uploading in GrGpu subclasses."
This reverts commit a7398246cb.

Reason for revert: breaking bots

Original change's description:
> Separate texture creation from uploading in GrGpu subclasses.
> 
> GrGpu base class still allows creation with initial data, but separated
> at subclass level into create and then write pixels.
> 
> GrGpu handles determining which levels need clearing and GrGpu
> subclasses take a mask and clear levels with mask bit set.
> 
> GrGLGpu uses three pronged clear strategy:
> glClearTexImage() if supported, glClear() if format is FBO bindable, and
> lastly glTexSubImage2D with zero'ed buffer.
> 
> Change-Id: I65fb1e60eed8f9d0896d686d3baeb10b57ff8f39
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236676
> Commit-Queue: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>

TBR=egdaniel@google.com,bsalomon@google.com

Change-Id: Icc6860053242ff1a55784a0f38938968f9e5e5b0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240556
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-09-10 19:02:47 +00:00
..
angle Revert "Separate texture creation from uploading in GrGpu subclasses." 2019-09-10 19:02:47 +00:00
command_buffer Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
egl Reland "Get EGLimage functions out of GrGLInterface." 2019-05-15 19:58:45 +00:00
glx rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
interface Turn off -Wreturn-std-move-in-c++11 2019-08-15 17:45:58 +00:00
iOS rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
mac rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
none rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
win rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GLTestContext.cpp Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
GLTestContext.h Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00