Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove maxCount resource cache limit 2019-09-03 14:59:51 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Simplify GPUSink constructors by just passing the config object 2019-09-09 18:12:18 +00:00
docker Add env vars to cloudbuild.yaml to enable vpython for depot_tools. 2019-09-06 16:59:15 +00:00
docs/examples remove unneeded noemptycheck variants of intersect 2019-08-26 15:03:44 +00:00
example tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
experimental experimental: minimal_ios_mtl_skia_app 2019-09-04 19:56:02 +00:00
fuzz Move SkImageFilter functionality into private SkImageFilter_Base 2019-08-02 18:56:39 +00:00
gm Update new blurrect_compare GM to skip when SkCanvas::makeSurface will fail 2019-09-10 18:31:15 +00:00
gn Dawn: implement staging buffer manager. 2019-09-10 19:02:15 +00:00
include Remove legacy flag: GrContextOptions::fDisallowGLSLBinaryCaching 2019-09-09 13:43:51 +00:00
infra Roll recipe dependencies (trivial). 2019-09-10 17:08:43 +00:00
modules Add kRG_88_SkColorType 2019-09-06 17:55:26 +00:00
platform_tools Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
resources [sksg] Fix mask/context overrides interaction 2019-09-04 14:09:44 +00:00
samplecode Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
site Add release section for milestones and rel notes 2019-09-09 20:34:38 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Revert "Separate texture creation from uploading in GrGpu subclasses." 2019-09-10 19:02:47 +00:00
tests Cleanup after removal of IORefs from GrSurface 2019-09-06 17:55:45 +00:00
third_party Fix spirv-tools include path 2019-08-28 13:58:25 +00:00
tools Revert "Separate texture creation from uploading in GrGpu subclasses." 2019-09-10 19:02:47 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 a7ff7df26f28..58c5b07b47cf (7 commits) 2019-09-10 05:30:36 +00:00
go.mod Update Go deps 2019-09-10 05:26:36 +00:00
go.sum Update Go deps 2019-09-10 05:26:36 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py rewrite_includes.py: make it work on windows 2019-08-05 16:14:35 +00:00
public.bzl remove SkPicture_none.cpp 2019-08-16 14:52:25 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Add support for pre-compiling cached SkSL shaders 2019-09-06 19:45:09 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.