support new DlVertices object in dispatcher (flutter/engine#108)
This commit is contained in:
@@ -561,7 +561,14 @@ void DisplayListDispatcher::drawPoints(SkCanvas::PointMode mode,
|
||||
}
|
||||
|
||||
// |flutter::Dispatcher|
|
||||
void DisplayListDispatcher::drawVertices(const sk_sp<SkVertices> vertices,
|
||||
void DisplayListDispatcher::drawSkVertices(const sk_sp<SkVertices> vertices,
|
||||
SkBlendMode mode) {
|
||||
// Needs https://github.com/flutter/flutter/issues/95434
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
// |flutter::Dispatcher|
|
||||
void DisplayListDispatcher::drawVertices(const flutter::DlVertices* vertices,
|
||||
flutter::DlBlendMode mode) {
|
||||
// Needs https://github.com/flutter/flutter/issues/95434
|
||||
UNIMPLEMENTED;
|
||||
|
||||
@@ -168,7 +168,11 @@ class DisplayListDispatcher final : public flutter::Dispatcher {
|
||||
const SkPoint points[]) override;
|
||||
|
||||
// |flutter::Dispatcher|
|
||||
void drawVertices(const sk_sp<SkVertices> vertices,
|
||||
void drawSkVertices(const sk_sp<SkVertices> vertices,
|
||||
SkBlendMode mode) override;
|
||||
|
||||
// |flutter::Dispatcher|
|
||||
void drawVertices(const flutter::DlVertices* vertices,
|
||||
flutter::DlBlendMode mode) override;
|
||||
|
||||
// |flutter::Dispatcher|
|
||||
|
||||
Reference in New Issue
Block a user