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

Unified Diff: cc/quads/draw_polygon.cc

Issue 2627213002: Tighten bounds on 3d clipping. (Closed)
Patch Set: rebased Created 3 years, 11 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
« cc/base/math_util.cc ('K') | « cc/base/math_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/draw_polygon.cc
diff --git a/cc/quads/draw_polygon.cc b/cc/quads/draw_polygon.cc
index e202fedcede39e933946529a998a9b9783be4ae1..a950e752bc5eaa3e2f0e4cd675da872d9eb79716 100644
--- a/cc/quads/draw_polygon.cc
+++ b/cc/quads/draw_polygon.cc
@@ -62,7 +62,7 @@ DrawPolygon::DrawPolygon(const DrawQuad* original_ref,
order_index_(draw_order_index),
original_ref_(original_ref),
is_split_(false) {
- gfx::Point3F points[8];
+ gfx::Point3F points[6];
int num_vertices_in_clipped_quad;
gfx::QuadF send_quad(visible_layer_rect);
« cc/base/math_util.cc ('K') | « cc/base/math_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698