Index: skia/ext/skia_utils_win.h |
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h |
index 80cbe54b0e7b394ef565b2f90fddfeea0747856f..c738a63244598ead274cd0a4c89594a2f44cd68a 100644 |
--- a/skia/ext/skia_utils_win.h |
+++ b/skia/ext/skia_utils_win.h |
@@ -60,6 +60,13 @@ SK_API void LoadTransformToDC(HDC dc, const SkMatrix& matrix); |
SK_API void CopyHDC(HDC source, HDC destination, int x, int y, bool is_opaque, |
const RECT& src_rect, const SkMatrix& transform); |
+// Fills in a BITMAPINFOHEADER structure given the bitmap's size. |
+SK_API void CreateBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr); |
+ |
+SK_API HBITMAP CreateHBitmap(int width, int height, |
+ HANDLE shared_section = nullptr, |
+ void** data = nullptr); |
+ |
} // namespace skia |
#endif // SKIA_EXT_SKIA_UTILS_WIN_H_ |