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

Side by Side Diff: ppapi/cpp/dev/graphics_3d_dev.h

Issue 7530010: Added PPB_Graphics3D_Dev::Resize to let plugins resize the backing surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
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_CPP_DEV_GRAPHICS_3D_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ 6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
7 7
8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 10
(...skipping 20 matching lines...) Expand all
31 int32_t* num_config); 31 int32_t* num_config);
32 32
33 static int32_t GetConfigAttribs(PP_Config3D_Dev config, 33 static int32_t GetConfigAttribs(PP_Config3D_Dev config,
34 int32_t* attrib_list); 34 int32_t* attrib_list);
35 35
36 static Var GetString(int32_t name); 36 static Var GetString(int32_t name);
37 37
38 int32_t GetAttribs(int32_t* attrib_list) const; 38 int32_t GetAttribs(int32_t* attrib_list) const;
39 int32_t SetAttribs(int32_t* attrib_list); 39 int32_t SetAttribs(int32_t* attrib_list);
40 40
41 int32_t Resize(int32_t width, int32_t height);
42
41 int32_t SwapBuffers(const CompletionCallback& cc); 43 int32_t SwapBuffers(const CompletionCallback& cc);
42 }; 44 };
43 45
44 } // namespace pp 46 } // namespace pp
45 47
46 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ 48 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
47 49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698