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

Unified Diff: ppapi/thunk/ppb_graphics_2d_api.h

Issue 1881603002: Added SetLayerTransform to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed indentation 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
Index: ppapi/thunk/ppb_graphics_2d_api.h
diff --git a/ppapi/thunk/ppb_graphics_2d_api.h b/ppapi/thunk/ppb_graphics_2d_api.h
index 164072fef38586e7a0015a058c14062bd4204830..fc1033d59a48cbf52793a2fc1c7e8c0aed300c8a 100644
--- a/ppapi/thunk/ppb_graphics_2d_api.h
+++ b/ppapi/thunk/ppb_graphics_2d_api.h
@@ -36,6 +36,9 @@ class PPAPI_THUNK_EXPORT PPB_Graphics2D_API {
virtual int32_t Flush(scoped_refptr<TrackedCallback> callback) = 0;
virtual PP_Bool SetScale(float scale) = 0;
virtual float GetScale() = 0;
+ virtual PP_Bool SetLayerTransform(float scale,
+ const PP_Point* srigin,
piman 2016/04/14 23:11:35 typo: srigin->origin
alessandroa 2016/04/21 15:39:22 Acknowledged.
+ const PP_Point* translate) = 0;
// Test only
virtual bool ReadImageData(PP_Resource image, const PP_Point* top_left) = 0;

Powered by Google App Engine
This is Rietveld 408576698