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

Unified Diff: src/gpu/SkGpuDevice.h

Issue 2270823002: Some tests around surface creation and snapshotting with color space (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Test wrapped backend textures, too. Make those tests pass. Fix problems when sRGB support is missin… Created 4 years, 4 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
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index cbe86a460707da62603aecfa4e48efb0f4d97932..24ced65f63198e5f62a1f84675ff79f3fb8048df 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -144,8 +144,7 @@ private:
kIsOpaque_Flag = 1 << 1, //!< Hint from client that rendering to this device will be
// opaque even if the config supports alpha.
};
- static bool CheckAlphaTypeAndGetFlags(const SkImageInfo* info, InitContents init,
- unsigned* flags);
+ static bool CheckInfoAndGetFlags(const SkImageInfo* info, InitContents init, unsigned* flags);
SkGpuDevice(sk_sp<GrDrawContext>, int width, int height, unsigned flags);

Powered by Google App Engine
This is Rietveld 408576698