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

Issue 2038583002: Add GpuCommandBuffer support. (Closed)

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

Description

Add GpuCommandBuffer support. Currently this is not actually hooked into the system. To give some context, in a follow up CL I'll add this to GrDrawTarget. For this I will move the gpu onDraw command to the GpuCommandBuffer as well. For GL this will end up just being a pass through to a non virtual draw(...) on GrGLGpu, and for vulkan it will mostly do what it currently does but adding commands to the secondary command buffer instead. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2038583002 Committed: https://skia.googlesource.com/skia/+/066df7ca911b65d416783f3bec6f4f1662948ad5

Patch Set 1 #

Patch Set 2 : Add gpu hooks #

Patch Set 3 : #

Patch Set 4 : rebase #

Total comments: 4

Patch Set 5 : review cleanup #

Patch Set 6 : add dtor #

Patch Set 7 : fix clang #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -2 lines) Patch
M gyp/gpu.gypi View 3 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
A src/gpu/GrGpuCommandBuffer.h View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLGpuCommandBuffer.h View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkCommandBuffer.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkGpu.h View 1 3 chunks +10 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkGpu.cpp View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
A src/gpu/vk/GrVkGpuCommandBuffer.h View 1 chunk +41 lines, -0 lines 0 comments Download
A src/gpu/vk/GrVkGpuCommandBuffer.cpp View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkRenderTarget.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkResourceProvider.cpp View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M tools/gpu/GrTest.cpp View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
egdaniel
4 years, 6 months ago (2016-06-02 16:56:21 UTC) #3
egdaniel
rebased
4 years, 6 months ago (2016-06-06 20:24:06 UTC) #4
jvanverth1
https://codereview.chromium.org/2038583002/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp File src/gpu/vk/GrVkCommandBuffer.cpp (right): https://codereview.chromium.org/2038583002/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode316 src/gpu/vk/GrVkCommandBuffer.cpp:316: this->invalidateState(); All of it must be reset? That's unfortunate. ...
4 years, 6 months ago (2016-06-06 20:47:43 UTC) #5
egdaniel
https://codereview.chromium.org/2038583002/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp File src/gpu/vk/GrVkCommandBuffer.cpp (right): https://codereview.chromium.org/2038583002/diff/60001/src/gpu/vk/GrVkCommandBuffer.cpp#newcode316 src/gpu/vk/GrVkCommandBuffer.cpp:316: this->invalidateState(); On 2016/06/06 20:47:43, jvanverth1 wrote: > All of ...
4 years, 6 months ago (2016-06-07 15:22:37 UTC) #6
jvanverth1
lgtm
4 years, 6 months ago (2016-06-07 15:27:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038583002/80001
4 years, 6 months ago (2016-06-08 19:44:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/9040) Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 6 months ago (2016-06-08 19:46:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038583002/100001
4 years, 6 months ago (2016-06-08 19:58:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/3074)
4 years, 6 months ago (2016-06-08 20:04:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038583002/120001
4 years, 6 months ago (2016-06-08 20:22:24 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot/builds/4044)
4 years, 6 months ago (2016-06-08 20:26:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038583002/140001
4 years, 6 months ago (2016-06-08 20:35:57 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 21:02:31 UTC) #26
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/066df7ca911b65d416783f3bec6f4f1662948ad5

Powered by Google App Engine
This is Rietveld 408576698