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

Unified Diff: gpu/command_buffer/client/context_support.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/context_support.h
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
index 2e40d51d3145ec8b984918a05a873825ae4a79ae..ceba6896ce932bbdf9b505005e917c3bee6e0b00 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -6,6 +6,7 @@
#define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
#include <stdint.h>
+#include <vector>
#include "base/callback.h"
#include "ui/gfx/overlay_transform.h"
@@ -41,7 +42,7 @@ class ContextSupport {
bool aggressively_free_resources) = 0;
virtual void Swap() = 0;
- virtual void SwapWithDamage(const gfx::Rect& damage) = 0;
+ virtual void SwapWithBounds(const std::vector<gfx::Rect>& rects) = 0;
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0;
virtual void CommitOverlayPlanes() = 0;
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698