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

Issue 2383383002: Move GPU fences into sk_gpu_test (Closed)

Created:
4 years, 2 months ago by csmartdalton
Modified:
4 years, 2 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Move GPU fences into sk_gpu_test #

Patch Set 3 : Move GPU fences into sk_gpu_test #

Patch Set 4 : Move GPU fences into sk_gpu_test #

Patch Set 5 : Move GPU fences into sk_gpu_test #

Patch Set 6 : Move GPU fences into sk_gpu_test #

Total comments: 9

Patch Set 7 : Move GPU fences into sk_gpu_test #

Total comments: 1

Patch Set 8 : Move GPU fences into sk_gpu_test #

Patch Set 9 : Move GPU fences into sk_gpu_test #

Patch Set 10 : Move GPU fences into sk_gpu_test #

Patch Set 11 : Move GPU fences into sk_gpu_test #

Total comments: 3

Patch Set 12 : Move GPU fences into sk_gpu_test #

Patch Set 13 : Move GPU fences into sk_gpu_test #

Total comments: 2

Patch Set 14 : Move GPU fences into sk_gpu_test #

Patch Set 15 : gyp updates #

Patch Set 16 : dead code #

Patch Set 17 : fix for windowsx #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -144 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
D include/private/SkGpuFenceSync.h View 1 chunk +0 lines, -30 lines 0 comments Download
A + tools/gpu/FenceSync.h View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -11 lines 0 comments Download
M tools/gpu/TestContext.h View 4 chunks +4 lines, -8 lines 0 comments Download
M tools/gpu/gl/GLTestContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +17 lines, -5 lines 0 comments Download
M tools/gpu/gl/GLTestContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +56 lines, -61 lines 0 comments Download
M tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -11 lines 0 comments Download
M tools/gpu/vk/VkTestContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +10 lines, -10 lines 0 comments Download
M tools/skpbench/skpbench.cpp View 1 2 3 4 7 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
csmartdalton
4 years, 2 months ago (2016-10-03 03:43:11 UTC) #3
egdaniel
So this is kind of outside the original purpose of this CL, but my high ...
4 years, 2 months ago (2016-10-03 13:24:25 UTC) #4
egdaniel
actually adding jim
4 years, 2 months ago (2016-10-03 13:26:44 UTC) #6
bsalomon
On 2016/10/03 13:24:25, egdaniel wrote: > So this is kind of outside the original purpose ...
4 years, 2 months ago (2016-10-03 13:48:25 UTC) #7
csmartdalton
On 2016/10/03 13:24:25, egdaniel wrote: > So this is kind of outside the original purpose ...
4 years, 2 months ago (2016-10-03 14:06:18 UTC) #8
egdaniel
On 2016/10/03 14:06:18, csmartdalton wrote: > On 2016/10/03 13:24:25, egdaniel wrote: > > So this ...
4 years, 2 months ago (2016-10-03 14:12:10 UTC) #9
bsalomon
https://codereview.chromium.org/2383383002/diff/100001/tools/gpu/gl/GLFenceSync.h File tools/gpu/gl/GLFenceSync.h (right): https://codereview.chromium.org/2383383002/diff/100001/tools/gpu/gl/GLFenceSync.h#newcode18 tools/gpu/gl/GLFenceSync.h:18: class GLFenceSync : public FenceSync { Can the existence ...
4 years, 2 months ago (2016-10-03 17:54:00 UTC) #10
csmartdalton
https://codereview.chromium.org/2383383002/diff/100001/tools/gpu/gl/GLFenceSync.h File tools/gpu/gl/GLFenceSync.h (right): https://codereview.chromium.org/2383383002/diff/100001/tools/gpu/gl/GLFenceSync.h#newcode18 tools/gpu/gl/GLFenceSync.h:18: class GLFenceSync : public FenceSync { On 2016/10/03 17:54:00, ...
4 years, 2 months ago (2016-10-03 19:05:41 UTC) #11
bsalomon
https://codereview.chromium.org/2383383002/diff/120001/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp File tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp (right): https://codereview.chromium.org/2383383002/diff/120001/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp#newcode22 tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp:22: namespace { why nested? AFAIK we only ever use ...
4 years, 2 months ago (2016-10-03 19:16:20 UTC) #12
csmartdalton
On 2016/10/03 19:16:20, bsalomon wrote: > https://codereview.chromium.org/2383383002/diff/120001/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp > File tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp (right): > > https://codereview.chromium.org/2383383002/diff/120001/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp#newcode22 > ...
4 years, 2 months ago (2016-10-03 19:21:48 UTC) #13
bsalomon
On 2016/10/03 19:21:48, csmartdalton wrote: > On 2016/10/03 19:16:20, bsalomon wrote: > > > https://codereview.chromium.org/2383383002/diff/120001/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp ...
4 years, 2 months ago (2016-10-03 19:28:59 UTC) #14
csmartdalton
I think I'm at my quota for time spent worrying about things that don't matter. ...
4 years, 2 months ago (2016-10-03 22:13:36 UTC) #15
bsalomon
https://codereview.chromium.org/2383383002/diff/190001/tools/gpu/gl/GLTestContext.h File tools/gpu/gl/GLTestContext.h (right): https://codereview.chromium.org/2383383002/diff/190001/tools/gpu/gl/GLTestContext.h#newcode67 tools/gpu/gl/GLTestContext.h:67: const std::string& ext = "") const { On 2016/10/03 ...
4 years, 2 months ago (2016-10-04 13:40:45 UTC) #16
csmartdalton
https://codereview.chromium.org/2383383002/diff/190001/tools/gpu/gl/GLTestContext.h File tools/gpu/gl/GLTestContext.h (right): https://codereview.chromium.org/2383383002/diff/190001/tools/gpu/gl/GLTestContext.h#newcode67 tools/gpu/gl/GLTestContext.h:67: const std::string& ext = "") const { On 2016/10/04 ...
4 years, 2 months ago (2016-10-04 15:51:00 UTC) #17
bsalomon
lgtm https://codereview.chromium.org/2383383002/diff/230001/tools/gpu/vk/VkTestContext.cpp File tools/gpu/vk/VkTestContext.cpp (right): https://codereview.chromium.org/2383383002/diff/230001/tools/gpu/vk/VkTestContext.cpp#newcode144 tools/gpu/vk/VkTestContext.cpp:144: } keep comment?
4 years, 2 months ago (2016-10-04 16:00:26 UTC) #18
csmartdalton
https://codereview.chromium.org/2383383002/diff/230001/tools/gpu/vk/VkTestContext.cpp File tools/gpu/vk/VkTestContext.cpp (right): https://codereview.chromium.org/2383383002/diff/230001/tools/gpu/vk/VkTestContext.cpp#newcode144 tools/gpu/vk/VkTestContext.cpp:144: } On 2016/10/04 16:00:25, bsalomon wrote: > keep comment? ...
4 years, 2 months ago (2016-10-04 16:09:19 UTC) #19
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/2383383002/250001
4 years, 2 months ago (2016-10-04 16:09:40 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-GN-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-GN-Trybot/builds/1856)
4 years, 2 months ago (2016-10-04 16:11:25 UTC) #24
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/2383383002/290001
4 years, 2 months ago (2016-10-04 16:39:26 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/12127)
4 years, 2 months ago (2016-10-04 16:48:37 UTC) #29
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/2383383002/310001
4 years, 2 months ago (2016-10-04 17:51:47 UTC) #32
commit-bot: I haz the power
Committed patchset #17 (id:310001) as https://skia.googlesource.com/skia/+/421a3c1cc1b227084c7c84618d0b6a6804faabef
4 years, 2 months ago (2016-10-04 18:08:48 UTC) #34
djsollen
4 years, 2 months ago (2016-10-04 19:37:26 UTC) #35
Message was sent while issue was closed.
A revert of this CL (patchset #17 id:310001) has been created in
https://codereview.chromium.org/2395573002/ by djsollen@google.com.

The reason for reverting is: This is breaking the android platform build with
the following errors...

external/skia/dm/../tools/gpu/vk/VkTestContext.cpp:80:16: error:
reinterpret_cast from 'VkFence' (aka 'unsigned long long') to
'sk_gpu_test::PlatformFence' (aka 'int') is not allowed
        return reinterpret_cast<sk_gpu_test::PlatformFence>(fence);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/skia/dm/../tools/gpu/vk/VkTestContext.cpp:84:25: error:
reinterpret_cast from 'sk_gpu_test::PlatformFence' (aka 'int') to 'VkFence' (aka
'unsigned long long') is not allowed
        VkFence fence = reinterpret_cast<VkFence>(opaqueFence);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/skia/dm/../tools/gpu/vk/VkTestContext.cpp:91:25: error:
reinterpret_cast from 'sk_gpu_test::PlatformFence' (aka 'int') to 'VkFence' (aka
'unsigned long long') is not allowed
        VkFence fence = reinterpret_cast<VkFence>(opaqueFence);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated..

Powered by Google App Engine
This is Rietveld 408576698