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

Unified Diff: content/browser/android/in_process/synchronous_compositor_output_surface.h

Issue 15579002: Implement transform/clip support for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turn on fuzzy comparator for new SoftwareRenderer tests Created 7 years, 6 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: content/browser/android/in_process/synchronous_compositor_output_surface.h
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.h b/content/browser/android/in_process/synchronous_compositor_output_surface.h
index d6af43bb7dd48a375870566f01eb7c56141ea87e..78672fdcce7c3be4399945e457076f50bf6b511e 100644
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.h
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.h
@@ -55,7 +55,7 @@ class SynchronousCompositorOutputSurface
// Partial SynchronousCompositor API implementation.
bool IsHwReady();
bool DemandDrawSw(SkCanvas* canvas);
- bool DemandDrawHw(gfx::Size view_size,
+ bool DemandDrawHw(gfx::Size surface_size,
const gfx::Transform& transform,
gfx::Rect clip);
@@ -63,7 +63,7 @@ class SynchronousCompositorOutputSurface
class SoftwareDevice;
friend class SoftwareDevice;
- void InvokeComposite(const gfx::Transform& transform, gfx::Rect damage_area);
+ void InvokeComposite(gfx::Size damage_size);
void UpdateCompositorClientSettings();
void NotifyCompositorSettingsChanged();
bool CalledOnValidThread() const;

Powered by Google App Engine
This is Rietveld 408576698