5b27846491
Use Queue::WriteBuffer() for uniform uploads instead of the staging manager. Utilize the fUniformsDirty mechanism in GrUniformDataMangaer to cache and reuse the most recent BindGroup uploaded. Doing this required moving bind group creation and setting to GrDawnProgramDataManager::uploadUniformBuffers(), and passing the RenderPassEncoder down to setUniformData(). setTextures() was similarly modified (for symmetry). Change-Id: I841a0cf710b10d5025ea895d3a109f05d2966639 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309663 Commit-Queue: Stephen White <senorblanco@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Stephen White <senorblanco@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.