01754ecf12
Device will own and manage a BoundsManager, which it will use to decide the sort and test Z's that it passes to the DrawCommandList in its draw() implementations. DrawCommandList might end up being owned by the SDC, with the SDC exposing a similar drawing API. There will need to be some mechanism to end a DrawCommandList and start a new one (the list moves into an SDCTask). This would either happen from an external flush call, or in the rare case where the representable Z values are exhausted and we have to insert a depth buffer clear and start a new task that depends on the prior one. Bug: skia:12466 Change-Id: I892b631037dc801eb94da2462683c9701afa281b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/451599 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
30 lines
822 B
Plaintext
30 lines
822 B
Plaintext
# Copyright 2021 Google LLC
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_src = get_path_info("../experimental/graphite/src", "abspath")
|
|
_include = get_path_info("../experimental/graphite/include", "abspath")
|
|
|
|
skia_graphite_public = [ "$_include/Context.h" ]
|
|
|
|
skia_graphite_sources = [
|
|
"$_include/Context.h",
|
|
"$_include/SkStuff.h",
|
|
"$_src/BoundsManager.h",
|
|
"$_src/Context.cpp",
|
|
"$_src/Device.cpp",
|
|
"$_src/Device.h",
|
|
"$_src/DrawCommandList.h",
|
|
"$_src/SDCTask.cpp",
|
|
"$_src/SDCTask.h",
|
|
"$_src/SkStuff.cpp",
|
|
"$_src/SurfaceDrawContext.cpp",
|
|
"$_src/SurfaceDrawContext.h",
|
|
"$_src/Surface_Graphite.cpp",
|
|
"$_src/Surface_Graphite.h",
|
|
"$_src/Task.cpp",
|
|
"$_src/Task.h",
|
|
]
|