Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 11b4380

Browse files
authored
remove obsolete DisplayListCanvasRecorder and its tests (#39844)
remove obsolete DisplayListCanvasRecorder and its tests
1 parent 777583f commit 11b4380

13 files changed

+39
-703
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,6 @@ ORIGIN: ../../../flutter/display_list/display_list_builder.h + ../../../flutter/
715715
ORIGIN: ../../../flutter/display_list/display_list_builder_benchmarks.cc + ../../../flutter/LICENSE
716716
ORIGIN: ../../../flutter/display_list/display_list_canvas_dispatcher.cc + ../../../flutter/LICENSE
717717
ORIGIN: ../../../flutter/display_list/display_list_canvas_dispatcher.h + ../../../flutter/LICENSE
718-
ORIGIN: ../../../flutter/display_list/display_list_canvas_recorder.cc + ../../../flutter/LICENSE
719-
ORIGIN: ../../../flutter/display_list/display_list_canvas_recorder.h + ../../../flutter/LICENSE
720718
ORIGIN: ../../../flutter/display_list/display_list_color.h + ../../../flutter/LICENSE
721719
ORIGIN: ../../../flutter/display_list/display_list_color_filter.cc + ../../../flutter/LICENSE
722720
ORIGIN: ../../../flutter/display_list/display_list_color_filter.h + ../../../flutter/LICENSE
@@ -3216,8 +3214,6 @@ FILE: ../../../flutter/display_list/display_list_builder.h
32163214
FILE: ../../../flutter/display_list/display_list_builder_benchmarks.cc
32173215
FILE: ../../../flutter/display_list/display_list_canvas_dispatcher.cc
32183216
FILE: ../../../flutter/display_list/display_list_canvas_dispatcher.h
3219-
FILE: ../../../flutter/display_list/display_list_canvas_recorder.cc
3220-
FILE: ../../../flutter/display_list/display_list_canvas_recorder.h
32213217
FILE: ../../../flutter/display_list/display_list_color.h
32223218
FILE: ../../../flutter/display_list/display_list_color_filter.cc
32233219
FILE: ../../../flutter/display_list/display_list_color_filter.h

display_list/BUILD.gn

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ source_set("display_list") {
1818
"display_list_builder.h",
1919
"display_list_canvas_dispatcher.cc",
2020
"display_list_canvas_dispatcher.h",
21-
"display_list_canvas_recorder.cc",
22-
"display_list_canvas_recorder.h",
2321
"display_list_color.h",
2422
"display_list_color_filter.cc",
2523
"display_list_color_filter.h",

display_list/display_list.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
// provides a nearly 1:1 translation between the records of the DisplayList
4545
// to method calls.
4646
//
47-
// A DisplayList can be created directly using a DisplayListBuilder and
48-
// the Dispatcher methods that it implements, or it can be created from
49-
// a sequence of SkCanvas calls using the DisplayListCanvasRecorder class.
47+
// A DisplayList must be created using a DisplayListBuilder using either its
48+
// stateful methods inherited from Dispatcher, or from its stateless methods
49+
// inherited from DlCanvas.
5050
//
5151
// A DisplayList can be read back by implementing the Dispatcher virtual
5252
// methods (with help from some of the classes in the utils file) and

display_list/display_list_builder.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
namespace flutter {
2424

2525
// The primary class used to build a display list. The list of methods
26-
// here matches the list of methods invoked on a |Dispatcher|.
27-
// If there is some code that already renders to an SkCanvas object,
28-
// those rendering commands can be captured into a DisplayList using
29-
// the DisplayListCanvasRecorder class.
26+
// here matches the list of methods invoked on a |Dispatcher| combined
27+
// with the list of methods invoked on a |DlCanvas|.
3028
class DisplayListBuilder final : public virtual DlCanvas,
3129
public SkRefCnt,
3230
virtual Dispatcher,

display_list/display_list_canvas_recorder.cc

Lines changed: 0 additions & 338 deletions
This file was deleted.

0 commit comments

Comments
 (0)