skia2/tools/gpu
Brian Salomon d2a8ae2b71 Reland "Separate texture creation from uploading in GrGpu subclasses."
This is a reland of a7398246cb

TBR:egdaniel@google.com

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>

Change-Id: I54cda3b6a4b017a94ef1f50bb3748c45a24d8936
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240558
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-09-10 21:27:13 +00:00
..
atlastext Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
dawn re-run tools/rewrite_includes.py 2019-07-25 15:40:33 +00:00
gl Reland "Separate texture creation from uploading in GrGpu subclasses." 2019-09-10 21:27:13 +00:00
mock rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
mtl Create FenceSync implementation that works for all Metal configs 2019-06-04 14:30:32 +00:00
vk Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GpuTimer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContextFactory.cpp First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +00:00
GrContextFactory.h Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
GrTest.cpp Reland "Merge GrOpList and GrRTOpList and rename to GrOpsTask." 2019-08-22 20:52:09 +00:00
MemoryCache.cpp Move SkSL caching out of GR_TEST_UTILS, trim persistent cache options 2019-09-03 20:18:48 +00:00
MemoryCache.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ProxyUtils.cpp Make GrSurfaceProxy constructors take arg that determines participation in 2019-09-03 14:58:41 +00:00
ProxyUtils.h Add kRGBA_8888_SRGB GrColorType and remove GrSRGBEncoded. 2019-07-11 15:22:23 +00:00
TestContext.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVUtils.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00