OLD | NEW |
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 GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // Gets client side generated errors. | 182 // Gets client side generated errors. |
183 GLenum GetClientSideGLError(); | 183 GLenum GetClientSideGLError(); |
184 | 184 |
185 // Include the auto-generated part of this class. We split this because | 185 // Include the auto-generated part of this class. We split this because |
186 // it means we can easily edit the non-auto generated parts right here in | 186 // it means we can easily edit the non-auto generated parts right here in |
187 // this file instead of having to edit some template or the code generator. | 187 // this file instead of having to edit some template or the code generator. |
188 #include "gpu/command_buffer/client/gles2_implementation_autogen.h" | 188 #include "gpu/command_buffer/client/gles2_implementation_autogen.h" |
189 | 189 |
190 // ContextSupport implementation. | 190 // ContextSupport implementation. |
191 void Swap() override; | 191 void Swap() override; |
| 192 void SwapWithDamage(const gfx::Rect& damage) override; |
192 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; | 193 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; |
193 void CommitOverlayPlanes() override; | 194 void CommitOverlayPlanes() override; |
194 void ScheduleOverlayPlane(int plane_z_order, | 195 void ScheduleOverlayPlane(int plane_z_order, |
195 gfx::OverlayTransform plane_transform, | 196 gfx::OverlayTransform plane_transform, |
196 unsigned overlay_texture_id, | 197 unsigned overlay_texture_id, |
197 const gfx::Rect& display_bounds, | 198 const gfx::Rect& display_bounds, |
198 const gfx::RectF& uv_rect) override; | 199 const gfx::RectF& uv_rect) override; |
199 uint64_t ShareGroupTracingGUID() const override; | 200 uint64_t ShareGroupTracingGUID() const override; |
200 void SetErrorMessageCallback( | 201 void SetErrorMessageCallback( |
201 const base::Callback<void(const char*, int32_t)>& callback) override; | 202 const base::Callback<void(const char*, int32_t)>& callback) override; |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 | 872 |
872 inline bool GLES2Implementation::GetTexParameterivHelper( | 873 inline bool GLES2Implementation::GetTexParameterivHelper( |
873 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 874 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
874 return false; | 875 return false; |
875 } | 876 } |
876 | 877 |
877 } // namespace gles2 | 878 } // namespace gles2 |
878 } // namespace gpu | 879 } // namespace gpu |
879 | 880 |
880 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 881 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |