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

Side by Side Diff: ppapi/c/dev/ppb_layer_compositor_dev.h

Issue 6975053: PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don't (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_video_decoder_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_
6 #define PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_ 6 #define PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // display. 61 // display.
62 void (*MarkAsDirty)(PP_Resource compositor, PP_Resource layer); 62 void (*MarkAsDirty)(PP_Resource compositor, PP_Resource layer);
63 63
64 // Changes to z-index, rectangles will be submitted for display. Also for 64 // Changes to z-index, rectangles will be submitted for display. Also for
65 // each PPB_Surface3D and PPB_VideoLayer marked as dirty will have the 65 // each PPB_Surface3D and PPB_VideoLayer marked as dirty will have the
66 // updates made available for compositing. 66 // updates made available for compositing.
67 // 67 //
68 // Since this is an asynchronous operation, |callback| will be called when 68 // Since this is an asynchronous operation, |callback| will be called when
69 // this operation is done. 69 // this operation is done.
70 // 70 //
71 // Returns PP_TRUE if the operation was successful. PP_FALSE otherwise. 71 // Returns an error code from pp_errors.h.
72 PP_Bool (*SwapBuffers)(PP_Resource compositor, 72 int32_t (*SwapBuffers)(PP_Resource compositor,
73 struct PP_CompletionCallback callback); 73 struct PP_CompletionCallback callback);
74 }; 74 };
75 75
76 #endif /* PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_ */ 76 #endif /* PPAPI_C_DEV_PPB_LAYER_COMPOSITOR_DEV_H_ */
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_video_decoder_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698