Go to file
Yi Xu 55bca410f9 Update SkSurface::ReplaceBackendTexture to take ContentChangeMode
In SkSurface::ReplaceBackendTexture, it used to always retain a copy
of the the current content. The ContentChangeMode is added as a
parameter to allow the callers to decide whether retain or discard the
current content.

Bug: 1014246

Change-Id: I8736e7795b4755bbde94009ffe4d943c75112b98
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/271016
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
2020-02-18 15:15:06 +00:00
animations
bench Make SkStrikeCache::Node be SkStrike. 2020-02-15 16:37:58 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia format GN files 2020-02-10 16:32:46 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm fix clang-tidy warnings 2020-02-15 16:32:46 +00:00
docker Revert "fiddle - Don't make warnings into errors." 2020-02-07 21:39:38 +00:00
docs/examples basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
fuzz Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
gm expand gm to test GPU and CPU 2020-02-16 20:00:45 +00:00
gn move SkDeque.h into private 2020-02-18 02:05:08 +00:00
include Update SkSurface::ReplaceBackendTexture to take ContentChangeMode 2020-02-18 15:15:06 +00:00
infra [infra] fix recipe bug 2020-02-18 12:22:05 +00:00
modules Undo suspect gn format 2020-02-13 22:17:23 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources Skip degenerate contours in glyphs. 2020-02-13 16:22:42 +00:00
samplecode Make SkStrikeCache::Node be SkStrike. 2020-02-15 16:37:58 +00:00
site Update Skia build instructions in build.md 2020-02-13 22:39:23 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Update SkSurface::ReplaceBackendTexture to take ContentChangeMode 2020-02-18 15:15:06 +00:00
tests move SkDeque.h into private 2020-02-18 02:05:08 +00:00
third_party let's try to fix nullptr + k 2020-01-31 19:24:21 +00:00
tools fix clang-tidy warnings 2020-02-15 16:32:46 +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
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn remove more vtune references 2020-01-29 04:19:03 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/swiftshader 481daed34f15..0bbf7ba9f909 (5 commits) 2020-02-18 07:15:02 +00:00
go.mod Update Go Deps 2020-02-16 05:23:49 +00:00
go.sum Update Go Deps 2020-02-16 05:23:49 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py [presubmit] Use bin/gn rather than depot_tools gn 2020-02-14 15:51:38 +00:00
public.bzl Reland: Initial checkin of GM verifier framework 2020-02-06 15:01:31 +00:00
README
README.chromium
RELEASE_NOTES.txt Update SkSurface::ReplaceBackendTexture to take ContentChangeMode 2020-02-18 15:15:06 +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.