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

Issue 2262473003: Define clear regions in terms of GrFixedClip (Closed)

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

Description

Define clear regions in terms of GrFixedClip Updates clear APIs to take GrFixedClip instead of a rectangle. This will allow us to use window rectangles with clears. Removes stencil knobs from GrFixedClip. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2262473003 Committed: https://skia.googlesource.com/skia/+/29df76096fd30941086324902a82656df2d8becd

Patch Set 1 #

Patch Set 2 : Define clear regions in terms of GrFixedClip #

Total comments: 2

Patch Set 3 : q #

Patch Set 4 : oops #

Patch Set 5 : rebase #

Total comments: 7

Patch Set 6 : disabled -> Disabled #

Total comments: 4

Patch Set 7 : Define clear regions in terms of GrFixedClip #

Total comments: 1

Patch Set 8 : Define clear regions in terms of GrFixedClip #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -161 lines) Patch
M include/gpu/GrDrawContext.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/GrClipStackClip.cpp View 1 2 3 4 5 6 7 8 12 chunks +47 lines, -21 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 4 5 6 7 8 5 chunks +34 lines, -24 lines 0 comments Download
M src/gpu/GrDrawContextPriv.h View 1 2 3 4 5 6 3 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrFixedClip.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -22 lines 0 comments Download
M src/gpu/GrFixedClip.cpp View 1 2 3 4 5 2 chunks +5 lines, -11 lines 0 comments Download
M src/gpu/GrGpuCommandBuffer.h View 3 chunks +7 lines, -4 lines 0 comments Download
M src/gpu/GrGpuCommandBuffer.cpp View 2 chunks +12 lines, -9 lines 0 comments Download
M src/gpu/GrPathRenderer.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrClearBatch.h View 1 2 3 5 chunks +41 lines, -16 lines 0 comments Download
M src/gpu/batches/GrClearStencilClipBatch.h View 4 chunks +16 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 6 7 8 5 chunks +9 lines, -10 lines 0 comments Download
M src/gpu/gl/GrGLGpuCommandBuffer.h View 1 chunk +6 lines, -4 lines 0 comments Download
M src/gpu/vk/GrVkGpuCommandBuffer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkGpuCommandBuffer.cpp View 1 2 3 4 5 6 7 8 7 chunks +24 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (6 generated)
csmartdalton
4 years, 4 months ago (2016-08-19 19:56:03 UTC) #3
egdaniel
besides one little nitty thing, quick look at vulkan stuff looks fine https://codereview.chromium.org/2262473003/diff/20001/src/gpu/vk/GrVkGpuCommandBuffer.cpp File src/gpu/vk/GrVkGpuCommandBuffer.cpp ...
4 years, 4 months ago (2016-08-19 20:09:37 UTC) #5
csmartdalton
https://codereview.chromium.org/2262473003/diff/20001/src/gpu/vk/GrVkGpuCommandBuffer.cpp File src/gpu/vk/GrVkGpuCommandBuffer.cpp (right): https://codereview.chromium.org/2262473003/diff/20001/src/gpu/vk/GrVkGpuCommandBuffer.cpp#newcode200 src/gpu/vk/GrVkGpuCommandBuffer.cpp:200: : SkIRect::MakeWH(vkRT->width(), vkRT->height()); On 2016/08/19 20:09:37, egdaniel wrote: > ...
4 years, 4 months ago (2016-08-19 20:46:49 UTC) #6
csmartdalton
This is good to go.
4 years, 4 months ago (2016-08-23 02:10:45 UTC) #7
bsalomon
https://codereview.chromium.org/2262473003/diff/80001/src/gpu/GrFixedClip.h File src/gpu/GrFixedClip.h (right): https://codereview.chromium.org/2262473003/diff/80001/src/gpu/GrFixedClip.h#newcode32 src/gpu/GrFixedClip.h:32: static const GrFixedClip& disabled(); static method should be capitalized, ...
4 years, 4 months ago (2016-08-23 15:12:49 UTC) #8
csmartdalton
https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h File src/gpu/batches/GrClearBatch.h (right): https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h#newcode24 src/gpu/batches/GrClearBatch.h:24: if (!batch->renderTarget()) { On 2016/08/23 15:12:49, bsalomon wrote: > ...
4 years, 4 months ago (2016-08-23 15:23:57 UTC) #9
csmartdalton
https://codereview.chromium.org/2262473003/diff/80001/src/gpu/GrFixedClip.h File src/gpu/GrFixedClip.h (right): https://codereview.chromium.org/2262473003/diff/80001/src/gpu/GrFixedClip.h#newcode32 src/gpu/GrFixedClip.h:32: static const GrFixedClip& disabled(); On 2016/08/23 15:12:49, bsalomon wrote: ...
4 years, 4 months ago (2016-08-23 15:34:28 UTC) #10
bsalomon
https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h File src/gpu/batches/GrClearBatch.h (right): https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h#newcode24 src/gpu/batches/GrClearBatch.h:24: if (!batch->renderTarget()) { On 2016/08/23 15:23:57, csmartdalton wrote: > ...
4 years, 4 months ago (2016-08-23 16:04:49 UTC) #11
csmartdalton
https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h File src/gpu/batches/GrClearBatch.h (right): https://codereview.chromium.org/2262473003/diff/80001/src/gpu/batches/GrClearBatch.h#newcode24 src/gpu/batches/GrClearBatch.h:24: if (!batch->renderTarget()) { On 2016/08/23 16:04:49, bsalomon wrote: > ...
4 years, 4 months ago (2016-08-23 16:31:23 UTC) #12
bsalomon
https://codereview.chromium.org/2262473003/diff/100001/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2262473003/diff/100001/src/gpu/GrDrawContext.cpp#newcode241 src/gpu/GrDrawContext.cpp:241: return; On 2016/08/23 16:31:23, csmartdalton wrote: > But now ...
4 years, 4 months ago (2016-08-23 16:57:29 UTC) #13
csmartdalton
Mark Kilgard suggests this might not be helpful with clears. I'll run some numbers before ...
4 years, 4 months ago (2016-08-23 19:51:29 UTC) #14
Mark Kilgard
On 2016/08/23 19:51:29, csmartdalton wrote: > Mark Kilgard suggests this might not be helpful with ...
4 years, 4 months ago (2016-08-23 22:13:33 UTC) #15
csmartdalton
On 2016/08/23 22:13:33, Mark Kilgard wrote: > On 2016/08/23 19:51:29, csmartdalton wrote: > > Mark ...
4 years, 3 months ago (2016-08-31 03:45:25 UTC) #16
csmartdalton
On 2016/08/31 03:45:25, csmartdalton wrote: > On 2016/08/23 22:13:33, Mark Kilgard wrote: > > On ...
4 years, 3 months ago (2016-08-31 15:35:52 UTC) #17
bsalomon
On 2016/08/31 15:35:52, csmartdalton wrote: > On 2016/08/31 03:45:25, csmartdalton wrote: > > On 2016/08/23 ...
4 years, 3 months ago (2016-08-31 17:46:54 UTC) #18
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/2262473003/160001
4 years, 3 months ago (2016-08-31 18:27:14 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 18:55:56 UTC) #23
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/29df76096fd30941086324902a82656df2d8becd

Powered by Google App Engine
This is Rietveld 408576698