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

Side by Side Diff: ppapi/shared_impl/ppb_graphics_3d_shared.h

Issue 1801493003: Fix ppb_graphics_3d such that the thunk can be generated again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHARED_IMPL_GRAPHICS_3D_IMPL_H_ 5 #ifndef PPAPI_SHARED_IMPL_GRAPHICS_3D_IMPL_H_
6 #define PPAPI_SHARED_IMPL_GRAPHICS_3D_IMPL_H_ 6 #define PPAPI_SHARED_IMPL_GRAPHICS_3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 22 matching lines...) Expand all
33 public thunk::PPB_Graphics3D_API { 33 public thunk::PPB_Graphics3D_API {
34 public: 34 public:
35 // Resource overrides. 35 // Resource overrides.
36 thunk::PPB_Graphics3D_API* AsPPB_Graphics3D_API() override; 36 thunk::PPB_Graphics3D_API* AsPPB_Graphics3D_API() override;
37 37
38 // PPB_Graphics3D_API implementation. 38 // PPB_Graphics3D_API implementation.
39 int32_t GetAttribs(int32_t attrib_list[]) override; 39 int32_t GetAttribs(int32_t attrib_list[]) override;
40 int32_t SetAttribs(const int32_t attrib_list[]) override; 40 int32_t SetAttribs(const int32_t attrib_list[]) override;
41 int32_t GetError() override; 41 int32_t GetError() override;
42 int32_t ResizeBuffers(int32_t width, int32_t height) override; 42 int32_t ResizeBuffers(int32_t width, int32_t height) override;
43 int32_t SwapBuffers(scoped_refptr<TrackedCallback> callback, 43 int32_t SwapBuffers(scoped_refptr<TrackedCallback> callback) override;
44 const gpu::SyncToken& sync_token) override; 44 int32_t SwapBuffersWithSyncToken(scoped_refptr<TrackedCallback> callback,
45 const gpu::SyncToken& sync_token) override;
45 int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) override; 46 int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) override;
46 47
47 void* MapTexSubImage2DCHROMIUM(GLenum target, 48 void* MapTexSubImage2DCHROMIUM(GLenum target,
48 GLint level, 49 GLint level,
49 GLint xoffset, 50 GLint xoffset,
50 GLint yoffset, 51 GLint yoffset,
51 GLsizei width, 52 GLsizei width,
52 GLsizei height, 53 GLsizei height,
53 GLenum format, 54 GLenum format,
54 GLenum type, 55 GLenum type,
(...skipping 28 matching lines...) Expand all
83 84
84 // Callback that needs to be executed when swap-buffers is completed. 85 // Callback that needs to be executed when swap-buffers is completed.
85 scoped_refptr<TrackedCallback> swap_callback_; 86 scoped_refptr<TrackedCallback> swap_callback_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Shared); 88 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Shared);
88 }; 89 };
89 90
90 } // namespace ppapi 91 } // namespace ppapi
91 92
92 #endif // PPAPI_SHARED_IMPL_GRAPHICS_3D_IMPL_H_ 93 #endif // PPAPI_SHARED_IMPL_GRAPHICS_3D_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698