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

Issue 1490473003: Add transfer buffer support. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Add transfer buffer files #

Patch Set 3 : First pass at creation #

Patch Set 4 : Fix up compatibility with old buffer code #

Patch Set 5 : Add tests #

Patch Set 6 : Some clean up #

Total comments: 14

Patch Set 7 : Address comments #

Patch Set 8 : Address more comments #

Patch Set 9 : Remove unnecessary assert #

Patch Set 10 : Fix roll issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -62 lines) Patch
M gyp/gpu.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/GrTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A src/gpu/GrTransferBuffer.h View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLBufferImpl.h View 1 2 3 4 5 1 chunk +11 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLBufferImpl.cpp View 1 2 3 4 5 6 4 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLDefines.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGpu.h View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 6 7 8 9 12 chunks +64 lines, -27 lines 0 comments Download
M src/gpu/gl/GrGLIndexBuffer.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A + src/gpu/gl/GrGLTransferBuffer.h View 1 2 3 4 5 6 3 chunks +7 lines, -8 lines 0 comments Download
A + src/gpu/gl/GrGLTransferBuffer.cpp View 1 2 3 4 5 6 3 chunks +11 lines, -19 lines 0 comments Download
M src/gpu/gl/GrGLVertexBuffer.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/gl/SkNullGLContext.cpp View 1 2 3 4 9 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
jvanverth1
This is the initial pass. I still have to add support for the Chromium buffers, ...
5 years ago (2015-12-02 16:23:57 UTC) #2
jvanverth1
5 years ago (2015-12-02 16:33:37 UTC) #4
bsalomon
Do we need CPU fallback? Wondering if we should just have a caps bit, transferBufferSupport(). ...
5 years ago (2015-12-02 16:38:31 UTC) #5
jvanverth1
Agreed on CPU support -- I was thinking of wrapping it in one class because ...
5 years ago (2015-12-02 18:05:07 UTC) #6
bsalomon
https://codereview.chromium.org/1490473003/diff/100001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1490473003/diff/100001/src/gpu/gl/GrGLGpu.cpp#newcode1421 src/gpu/gl/GrGLGpu.cpp:1421: /* Why DYNAMIC_DRAW here and STREAM_DRAW elsewhere? */ On ...
5 years ago (2015-12-02 18:39:22 UTC) #7
jvanverth1
https://codereview.chromium.org/1490473003/diff/100001/src/gpu/gl/GrGLGpu.cpp File src/gpu/gl/GrGLGpu.cpp (right): https://codereview.chromium.org/1490473003/diff/100001/src/gpu/gl/GrGLGpu.cpp#newcode1421 src/gpu/gl/GrGLGpu.cpp:1421: /* Why DYNAMIC_DRAW here and STREAM_DRAW elsewhere? */ On ...
5 years ago (2015-12-02 18:41:59 UTC) #8
bsalomon
lgtm
5 years ago (2015-12-02 18:58:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490473003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490473003/140001
5 years ago (2015-12-02 20:30:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4560)
5 years ago (2015-12-02 20:31:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490473003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490473003/160001
5 years ago (2015-12-02 20:52:30 UTC) #16
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/fa498fe12239988578465d0dee69f0d5645bb361
5 years ago (2015-12-02 21:06:40 UTC) #18
egdaniel
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1496843003/ by egdaniel@google.com. ...
5 years ago (2015-12-03 14:32:06 UTC) #19
jvanverth1
On 2015/12/03 14:32:06, egdaniel wrote: > A revert of this CL (patchset #9 id:160001) has ...
5 years ago (2015-12-03 15:11:28 UTC) #21
egdaniel
lgtm
5 years ago (2015-12-03 15:19:38 UTC) #22
bsalomon
On 2015/12/03 15:11:28, jvanverth1 wrote: > On 2015/12/03 14:32:06, egdaniel wrote: > > A revert ...
5 years ago (2015-12-03 16:03:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490473003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490473003/180001
5 years ago (2015-12-03 16:06:04 UTC) #25
commit-bot: I haz the power
5 years ago (2015-12-03 17:15:50 UTC) #27
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://skia.googlesource.com/skia/+/73063dc517f424ad5660db0fbc5fe6fcc13f77f7

Powered by Google App Engine
This is Rietveld 408576698