[graphite] Fix build for DrawPass
Bug: skia:12466 Change-Id: I2ba1f1541c273ba90032c93a92ed3770dc5b0080 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/453756 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com> Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
parent
2dc9c5d98f
commit
949aebff35
@ -14,7 +14,7 @@ namespace skgpu {
|
||||
|
||||
std::unique_ptr<DrawPass> DrawPass::Make(std::unique_ptr<DrawList> cmds, SurfaceDrawContext* sdc) {
|
||||
// TODO: DrawList processing will likely go here and then move the results into the DrawPass
|
||||
return std::make_unique<DrawPass>();
|
||||
return std::unique_ptr<DrawPass>(new DrawPass());
|
||||
}
|
||||
|
||||
} // namespace skgpu
|
||||
|
@ -21,6 +21,8 @@ skia_graphite_sources = [
|
||||
"$_src/Device.cpp",
|
||||
"$_src/Device.h",
|
||||
"$_src/DrawList.h",
|
||||
"$_src/DrawPass.cpp",
|
||||
"$_src/DrawPass.h",
|
||||
"$_src/Gpu.cpp",
|
||||
"$_src/Gpu.h",
|
||||
"$_src/Image_Graphite.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user