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

Unified Diff: native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h

Issue 23072027: Merge 217400 "Change ppapi_simple to support pixel format select..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 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: native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h
===================================================================
--- native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h (revision 218539)
+++ native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h (working copy)
@@ -34,10 +34,17 @@
* various PPAPI operations on the developer's behalf, such as processing view
* change events, swapping buffers, etc...
*/
-PSContext2D_t* PSContext2DAllocate();
+PSContext2D_t* PSContext2DAllocate(PP_ImageDataFormat format);
void PSContext2DFree(PSContext2D_t* ctx);
/*
+ * PSContext2DGetNativeFormat
+ *
+ * Query the native system image format.
+ */
+PP_ImageDataFormat PSContext2DGetNativeImageDataFormat();
+
+/*
* PSContext2DHandleEvent
*
* Updates the context such as allocating, freeing, or sizing graphics and
« no previous file with comments | « native_client_sdk/src/examples/demo/voronoi/voronoi.cc ('k') | native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698