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

Unified Diff: cc/output/direct_renderer.h

Issue 15579002: Implement transform/clip support for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GL support and clean up Created 7 years, 7 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 | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/output_surface_client.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 7c37551f299ba20dc00359c8788660672df2c9f7..0c8be076b9825781ca316bfef4a8bd3ecafb3dce 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -79,10 +79,11 @@ class CC_EXPORT DirectRenderer : public Renderer {
const gfx::Transform& quad_transform,
const gfx::RectF& quad_rect);
static void InitializeMatrices(DrawingFrame* frame,
+ gfx::Vector2d offset,
gfx::Rect draw_rect,
bool flip_y);
- static gfx::Rect MoveScissorToWindowSpace(const DrawingFrame* frame,
- const gfx::RectF& scissor_rect);
+ gfx::Rect MoveScissorToWindowSpace(const DrawingFrame* frame,
+ const gfx::RectF& scissor_rect);
static gfx::RectF ComputeScissorRectForRenderPass(const DrawingFrame* frame);
void SetScissorStateForQuad(const DrawingFrame* frame, const DrawQuad& quad);
void SetScissorStateForQuadWithRenderPassScissor(
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | cc/output/output_surface_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698