| Index: ppapi/shared_impl/ppb_graphics_3d_shared.h
|
| diff --git a/ppapi/shared_impl/graphics_3d_impl.h b/ppapi/shared_impl/ppb_graphics_3d_shared.h
|
| similarity index 92%
|
| rename from ppapi/shared_impl/graphics_3d_impl.h
|
| rename to ppapi/shared_impl/ppb_graphics_3d_shared.h
|
| index 07fe967f1ee11c4242993ed3df5c3d7db0b254da..6f3a04f2a0dc51a872ccdbcdc0d4a4ea0d7a23d5 100644
|
| --- a/ppapi/shared_impl/graphics_3d_impl.h
|
| +++ b/ppapi/shared_impl/ppb_graphics_3d_shared.h
|
| @@ -21,7 +21,8 @@ class GLES2Implementation;
|
|
|
| namespace ppapi {
|
|
|
| -class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API {
|
| +class PPAPI_SHARED_EXPORT PPB_Graphics3D_Shared
|
| + : public thunk::PPB_Graphics3D_API {
|
| public:
|
| // PPB_Graphics3D_API implementation.
|
| virtual int32_t GetAttribs(int32_t* attrib_list) OVERRIDE;
|
| @@ -48,8 +49,8 @@ class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API {
|
| void SwapBuffersACK(int32_t pp_error);
|
|
|
| protected:
|
| - Graphics3DImpl();
|
| - virtual ~Graphics3DImpl();
|
| + PPB_Graphics3D_Shared();
|
| + virtual ~PPB_Graphics3D_Shared();
|
|
|
| virtual gpu::CommandBuffer* GetCommandBuffer() = 0;
|
| virtual int32 DoSwapBuffers() = 0;
|
| @@ -67,7 +68,7 @@ class PPAPI_SHARED_EXPORT Graphics3DImpl : public thunk::PPB_Graphics3D_API {
|
| // Callback that needs to be executed when swap-buffers is completed.
|
| PP_CompletionCallback swap_callback_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(Graphics3DImpl);
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Shared);
|
| };
|
|
|
| } // namespace ppapi
|
|
|