Remove unused SkPictureGpuAnalyzer::analyze()
After https://crrev.com/c64bd21780da13051846ae45b54a1e6c6bf6ac52, Chromium no longer uses analyze(). R=mtklein@google.com,reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2014983002 Review-Url: https://codereview.chromium.org/2014983002
This commit is contained in:
parent
a4b09a117d
commit
019db3fe88
@ -33,9 +33,6 @@ public:
|
||||
*/
|
||||
void analyzePicture(const SkPicture*);
|
||||
|
||||
// Legacy/transitional alias.
|
||||
void analyze(const SkPicture* picture) { this->analyzePicture(picture); }
|
||||
|
||||
/**
|
||||
* Process an explicit clipPath op.
|
||||
*/
|
||||
|
@ -27,7 +27,7 @@ SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(sk_sp<GrContextThreadSafeProxy> /* un
|
||||
SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture,
|
||||
sk_sp<GrContextThreadSafeProxy> ctx)
|
||||
: SkPictureGpuAnalyzer(std::move(ctx)) {
|
||||
this->analyze(picture.get());
|
||||
this->analyzePicture(picture.get());
|
||||
}
|
||||
|
||||
void SkPictureGpuAnalyzer::analyzePicture(const SkPicture* picture) {
|
||||
|
@ -1416,7 +1416,7 @@ DEF_TEST(PictureGpuAnalyzer, r) {
|
||||
SkPictureGpuAnalyzer analyzer;
|
||||
REPORTER_ASSERT(r, analyzer.suitableForGpuRasterization());
|
||||
|
||||
analyzer.analyze(vetoPicture.get());
|
||||
analyzer.analyzePicture(vetoPicture.get());
|
||||
REPORTER_ASSERT(r, !analyzer.suitableForGpuRasterization());
|
||||
|
||||
analyzer.reset();
|
||||
@ -1425,7 +1425,7 @@ DEF_TEST(PictureGpuAnalyzer, r) {
|
||||
recorder.beginRecording(10, 10)->drawPicture(vetoPicture);
|
||||
sk_sp<SkPicture> nestedVetoPicture(recorder.finishRecordingAsPicture());
|
||||
|
||||
analyzer.analyze(nestedVetoPicture.get());
|
||||
analyzer.analyzePicture(nestedVetoPicture.get());
|
||||
REPORTER_ASSERT(r, !analyzer.suitableForGpuRasterization());
|
||||
|
||||
analyzer.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user