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

Issue 2254013002: Reduce window rectangles cap to 8 (Closed)

Created:
4 years, 4 months ago by csmartdalton
Modified:
4 years, 4 months ago
Reviewers:
bsalomon, nv_mark
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Reduce window rectangles cap to 8 Lowers the cap to 8 and adds a warning message if this value is ever exceeded. The largest (only) implementation currently supports 8, so there isn't yet reason to go higher. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2254013002 Committed: https://skia.googlesource.com/skia/+/52d721580ee22525c285e2d13cf3975a7a1b2843 Committed: https://skia.googlesource.com/skia/+/7535f419e235e224559ee2b4b62ee6bfddc01556

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reduce window rectangles cap to 8 #

Patch Set 3 : Reduce window rectangles cap to 8 #

Patch Set 4 : Reduce window rectangles cap to 8 #

Patch Set 5 : Reduce window rectangles cap to 8 #

Patch Set 6 : Reduce window rectangles cap to 8 #

Patch Set 7 : Reduce window rectangles cap to 8 #

Patch Set 8 : Reduce window rectangles cap to 8 #

Total comments: 2

Patch Set 9 : Reduce window rectangles cap to 8 #

Patch Set 10 : Reduce window rectangles cap to 8 #

Total comments: 2

Patch Set 11 : Reduce window rectangles cap to 8 #

Patch Set 12 : Reduce window rectangles cap to 8 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M src/gpu/GrCaps.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrWindowRectangles.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
csmartdalton
4 years, 4 months ago (2016-08-17 18:27:25 UTC) #3
csmartdalton
https://codereview.chromium.org/2254013002/diff/1/src/gpu/GrWindowRectangles.h File src/gpu/GrWindowRectangles.h (right): https://codereview.chromium.org/2254013002/diff/1/src/gpu/GrWindowRectangles.h#newcode16 src/gpu/GrWindowRectangles.h:16: constexpr static int kMaxWindows = 8; The debug message ...
4 years, 4 months ago (2016-08-17 18:28:21 UTC) #4
bsalomon
lgtm
4 years, 4 months ago (2016-08-17 19:13:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2254013002/1
4 years, 4 months ago (2016-08-17 19:23:22 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/52d721580ee22525c285e2d13cf3975a7a1b2843
4 years, 4 months ago (2016-08-17 20:52:20 UTC) #9
robertphillips
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2253293003/ by robertphillips@google.com. ...
4 years, 4 months ago (2016-08-17 23:29:25 UTC) #10
robertphillips
On 2016/08/17 23:29:25, robertphillips wrote: > A revert of this CL (patchset #1 id:1) has ...
4 years, 4 months ago (2016-08-17 23:33:40 UTC) #11
csmartdalton
Looks like a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124
4 years, 4 months ago (2016-08-20 04:57:37 UTC) #13
csmartdalton
Here's a WAR to the gcc warning. It comes with a runtime cost but is ...
4 years, 4 months ago (2016-08-20 15:02:26 UTC) #14
bsalomon
https://codereview.chromium.org/2254013002/diff/140001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/2254013002/diff/140001/src/gpu/gl/GrGLGpu.cpp#newcode2012 src/gpu/gl/GrGLGpu.cpp:2012: int numWindows = SkTMin(windows.count(), int(GrWindowRectangles::kMaxWindows)); We can't just assert ...
4 years, 4 months ago (2016-08-20 16:37:31 UTC) #15
csmartdalton
https://codereview.chromium.org/2254013002/diff/140001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/2254013002/diff/140001/src/gpu/gl/GrGLGpu.cpp#newcode2012 src/gpu/gl/GrGLGpu.cpp:2012: int numWindows = SkTMin(windows.count(), int(GrWindowRectangles::kMaxWindows)); On 2016/08/20 16:37:31, bsalomon ...
4 years, 4 months ago (2016-08-20 16:56:03 UTC) #16
bsalomon
https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp#newcode1999 src/gpu/gl/GrGLGpu.cpp:1999: // Blah blah blah. I like this better.
4 years, 4 months ago (2016-08-22 13:21:57 UTC) #18
csmartdalton
https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp#newcode1999 src/gpu/gl/GrGLGpu.cpp:1999: // Blah blah blah. On 2016/08/22 13:21:57, bsalomon wrote: ...
4 years, 4 months ago (2016-08-22 14:10:39 UTC) #19
bsalomon
On 2016/08/22 14:10:39, csmartdalton wrote: > https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp > File src/gpu/gl/GrGLGpu.cpp (right): > > https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp#newcode1999 > ...
4 years, 4 months ago (2016-08-22 20:43:02 UTC) #20
csmartdalton
On 2016/08/22 20:43:02, bsalomon wrote: > On 2016/08/22 14:10:39, csmartdalton wrote: > > https://codereview.chromium.org/2254013002/diff/200001/src/gpu/gl/GrGLGpu.cpp > ...
4 years, 4 months ago (2016-08-22 22:14:32 UTC) #21
bsalomon
lgtm
4 years, 4 months ago (2016-08-23 13:16:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2254013002/240001
4 years, 4 months ago (2016-08-23 13:21:12 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 13:51:04 UTC) #26
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://skia.googlesource.com/skia/+/7535f419e235e224559ee2b4b62ee6bfddc01556

Powered by Google App Engine
This is Rietveld 408576698