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

Unified Diff: ppapi/thunk/ppb_compositor_layer_api.h

Issue 475123003: [PPAPI] Add target param for CompositorLayer::SetTexture(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: versioning Created 6 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: ppapi/thunk/ppb_compositor_layer_api.h
diff --git a/ppapi/thunk/ppb_compositor_layer_api.h b/ppapi/thunk/ppb_compositor_layer_api.h
index e59f6325c4222627650cb914dd85396c1adc12be..23635f39402f8330b53a906c62cdc1d6fa533439 100644
--- a/ppapi/thunk/ppb_compositor_layer_api.h
+++ b/ppapi/thunk/ppb_compositor_layer_api.h
@@ -20,8 +20,14 @@ class PPAPI_THUNK_EXPORT PPB_CompositorLayer_API {
float blue,
float alpha,
const PP_Size* size) = 0;
+ virtual int32_t SetTexture0_1(
+ PP_Resource context,
+ uint32_t texture,
+ const PP_Size* size,
+ const scoped_refptr<ppapi::TrackedCallback>& callback) = 0;
virtual int32_t SetTexture(
PP_Resource context,
+ uint32_t target,
uint32_t texture,
const PP_Size* size,
const scoped_refptr<ppapi::TrackedCallback>& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698