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

Issue 10964002: Add high DPI unit test for verifying visible and drawable content rects in compositor. (Closed)

Created:
8 years, 3 months ago by shawnsingh
Modified:
8 years, 3 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, Ian Vollick
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add high DPI unit test for verifying visible and drawable content rects in compositor. A decent array of unit tests was already added, but this one was missing; this patch finally adds that unit test. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157863

Patch Set 1 #

Patch Set 2 : Fixed the unit test #

Patch Set 3 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -18 lines) Patch
M cc/CCLayerTreeHostCommonTest.cpp View 1 2 4 chunks +85 lines, -18 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
shawnsingh
There are two comments marked "TODO" because I don't understand why those values are considered ...
8 years, 3 months ago (2012-09-20 00:38:01 UTC) #1
danakj
Surfaces have no "layer space" they are only physical pixels, and anything in that space ...
8 years, 3 months ago (2012-09-20 15:09:41 UTC) #2
enne (OOO)
Dana is totally right. Surfaces only have "content" space aka device pixels. In this test, ...
8 years, 3 months ago (2012-09-20 16:31:10 UTC) #3
danakj
Oh good catch. To be thorough and deeply understanding these spaces.. Layer Content Space <-> ...
8 years, 3 months ago (2012-09-20 16:36:02 UTC) #4
shawnsingh
Thanks for catching that mistake, Enne. Latest patch should be good to go, then.
8 years, 3 months ago (2012-09-20 17:27:53 UTC) #5
enne (OOO)
LGTM
8 years, 3 months ago (2012-09-20 19:48:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shawnsingh@chromium.org/10964002/7002
8 years, 3 months ago (2012-09-20 20:18:19 UTC) #7
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 22:59:56 UTC) #8
Change committed as 157863

Powered by Google App Engine
This is Rietveld 408576698