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

Issue 2225303002: Add flag for window rectangles to GrRenderTarget (Closed)

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

Description

Add flag for window rectangles to GrRenderTarget Adds a flag to GrRenderTarget that indicates whether it can be used with window rectangles. Also attempts to clean up some of the mixed samples API. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2225303002 Committed: https://skia.googlesource.com/skia/+/f9635999a4aa8810d04e8ef04594a9fbcc061e3d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add flag that indicates if a render target is offscreen #

Total comments: 3

Patch Set 3 : comments #

Patch Set 4 : Add GrRenderTarget flag for window rectangles #

Patch Set 5 : Add GrRenderTarget flag for window rectangles #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -146 lines) Patch
M include/gpu/GrDrawContext.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrRenderTarget.h View 1 4 chunks +21 lines, -60 lines 0 comments Download
M include/gpu/GrTypes.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M include/private/GrInstancedPipelineInfo.h View 1 chunk +1 line, -1 line 0 comments Download
M include/private/GrRenderTargetProxy.h View 1 2 3 3 chunks +23 lines, -49 lines 0 comments Download
M src/gpu/GrRenderTarget.cpp View 1 2 chunks +12 lines, -8 lines 0 comments Download
M src/gpu/GrRenderTargetPriv.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/gpu/GrRenderTargetProxy.cpp View 1 3 chunks +26 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.h View 1 3 chunks +8 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLRenderTarget.cpp View 1 2 chunks +15 lines, -2 lines 0 comments Download
M src/gpu/vk/GrVkRenderTarget.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M tests/ProxyTest.cpp View 1 2 5 chunks +32 lines, -4 lines 0 comments Download
M tools/gpu/GrTest.cpp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (8 generated)
csmartdalton
Greg, Is there an easy way to tell if a vulkan buffer is offscreen? https://codereview.chromium.org/2225303002/diff/1/src/gpu/vk/GrVkRenderTarget.cpp ...
4 years, 4 months ago (2016-08-09 06:52:58 UTC) #3
csmartdalton
1
4 years, 4 months ago (2016-08-09 06:53:12 UTC) #5
egdaniel
On 2016/08/09 06:53:12, csmartdalton wrote: > 1 I'm assuming by offscreen in GL you just ...
4 years, 4 months ago (2016-08-09 13:19:55 UTC) #6
bsalomon
On 2016/08/09 13:19:55, egdaniel wrote: > On 2016/08/09 06:53:12, csmartdalton wrote: > > 1 > ...
4 years, 4 months ago (2016-08-09 13:40:16 UTC) #7
csmartdalton
On 2016/08/09 13:40:16, bsalomon wrote: > On 2016/08/09 13:19:55, egdaniel wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 15:40:47 UTC) #8
csmartdalton
On 2016/08/09 15:40:47, csmartdalton wrote: > On 2016/08/09 13:40:16, bsalomon wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 16:13:28 UTC) #9
bsalomon
On 2016/08/09 16:13:28, csmartdalton wrote: > On 2016/08/09 15:40:47, csmartdalton wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 16:23:22 UTC) #10
csmartdalton
> It could be documented to only have meaning if the caps iindicate support for ...
4 years, 4 months ago (2016-08-09 16:37:49 UTC) #11
Mark Kilgard
On 2016/08/09 13:40:16, bsalomon wrote: > Is window rectangle extension exposed through Vulkan yet? Yes, ...
4 years, 4 months ago (2016-08-09 16:53:58 UTC) #12
bsalomon
On 2016/08/09 16:37:49, csmartdalton wrote: > > It could be documented to only have meaning ...
4 years, 4 months ago (2016-08-09 17:02:36 UTC) #13
bsalomon
On 2016/08/09 16:53:58, Mark Kilgard wrote: > On 2016/08/09 13:40:16, bsalomon wrote: > > Is ...
4 years, 4 months ago (2016-08-09 17:03:36 UTC) #14
Mark Kilgard
unexpert review: seems good to me good to see this infrastructure going in if I ...
4 years, 4 months ago (2016-08-09 18:24:29 UTC) #16
bsalomon
On 2016/08/09 18:24:29, Mark Kilgard wrote: > unexpert review: seems good to me > > ...
4 years, 4 months ago (2016-08-09 18:47:53 UTC) #17
csmartdalton
How's this? (Still need to update the commit message) https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h File include/private/GrRenderTargetProxy.h (right): https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h#newcode66 include/private/GrRenderTargetProxy.h:66: ...
4 years, 4 months ago (2016-08-09 19:08:08 UTC) #18
bsalomon
https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h File include/private/GrRenderTargetProxy.h (right): https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h#newcode66 include/private/GrRenderTargetProxy.h:66: GrRenderTargetPriv::Flags flags_ForTesting() const { return fFlags; } On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 19:23:22 UTC) #19
csmartdalton
https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h File include/private/GrRenderTargetProxy.h (right): https://codereview.chromium.org/2225303002/diff/20001/include/private/GrRenderTargetProxy.h#newcode66 include/private/GrRenderTargetProxy.h:66: GrRenderTargetPriv::Flags flags_ForTesting() const { return fFlags; } On 2016/08/09 ...
4 years, 4 months ago (2016-08-10 17:25:49 UTC) #22
bsalomon
lgtm
4 years, 4 months ago (2016-08-10 17:44:00 UTC) #23
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/2225303002/80001
4 years, 4 months ago (2016-08-10 17:44:25 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 18:09:11 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/f9635999a4aa8810d04e8ef04594a9fbcc061e3d

Powered by Google App Engine
This is Rietveld 408576698