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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)
Patch Set: fix windows compile warning Created 3 years, 10 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
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 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
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 SwapWithBounds(const std::vector<gfx::Rect>& rects) override;
193 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 193 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
194 void CommitOverlayPlanes() override; 194 void CommitOverlayPlanes() override;
195 void ScheduleOverlayPlane(int plane_z_order, 195 void ScheduleOverlayPlane(int plane_z_order,
196 gfx::OverlayTransform plane_transform, 196 gfx::OverlayTransform plane_transform,
197 unsigned overlay_texture_id, 197 unsigned overlay_texture_id,
198 const gfx::Rect& display_bounds, 198 const gfx::Rect& display_bounds,
199 const gfx::RectF& uv_rect) override; 199 const gfx::RectF& uv_rect) override;
200 uint64_t ShareGroupTracingGUID() const override; 200 uint64_t ShareGroupTracingGUID() const override;
201 void SetErrorMessageCallback( 201 void SetErrorMessageCallback(
202 const base::Callback<void(const char*, int32_t)>& callback) override; 202 const base::Callback<void(const char*, int32_t)>& callback) override;
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 875
876 inline bool GLES2Implementation::GetTexParameterivHelper( 876 inline bool GLES2Implementation::GetTexParameterivHelper(
877 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 877 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
878 return false; 878 return false;
879 } 879 }
880 880
881 } // namespace gles2 881 } // namespace gles2
882 } // namespace gpu 882 } // namespace gpu
883 883
884 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 884 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_cmd_helper_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698