Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Unified Diff: tests/TestingSpecialImageAccess.h

Issue 1861643003: Upgrade SkSpecialImage to have getTextureRef & getROPixels entry points (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address code review comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/SpecialImageTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/TestingSpecialImageAccess.h
diff --git a/tests/TestingSpecialImageAccess.h b/tests/TestingSpecialImageAccess.h
index 8dd4e9bb50c0a9edf661f2b745d058fd721cf601..64a6d29665a39b87e1c2b7b0e81e3c4643d997cf 100644
--- a/tests/TestingSpecialImageAccess.h
+++ b/tests/TestingSpecialImageAccess.h
@@ -13,18 +13,6 @@ public:
static const SkIRect& Subset(const SkSpecialImage* img) {
return img->subset();
}
-
- static bool PeekPixels(const SkSpecialImage* img, SkPixmap* pixmap) {
- return img->peekPixels(pixmap);
- }
-
- static GrTexture* PeekTexture(const SkSpecialImage* img) {
- return img->peekTexture();
- }
-
- static bool GetROPixels(const SkSpecialImage* img, SkBitmap* result) {
- return img->testingOnlyGetROPixels(result);
- }
};
#endif
« no previous file with comments | « tests/SpecialImageTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698