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

Unified Diff: gpu/command_buffer/client/context_support.h

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Add to Capabilities Created 4 years, 3 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
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 c72cf37f16f20ab805672197f7e1ad2200a06036..c2d71734144a74fa9099779e882138c33643e452 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -36,6 +36,7 @@ class ContextSupport {
bool aggressively_free_resources) = 0;
virtual void Swap() = 0;
+ virtual void SwapWithDamage(const gfx::Rect& damage) = 0;
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0;
virtual void CommitOverlayPlanes() = 0;

Powered by Google App Engine
This is Rietveld 408576698