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

Issue 1684413003: Implement support for using GL ES 3.0 with command buffer (Closed)

Created:
4 years, 10 months ago by Kimmo Kinnunen
Modified:
4 years, 10 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Implement support for using GL ES 3.0 with command buffer Adds a new 'api': --config gpu(api=commandbuffer3) for dm/nanobench. BUG=skia:4943 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684413003 Committed: https://skia.googlesource.com/skia/+/45c2c8166bbd84a87e29fdd344b39e36e8a28a3f

Patch Set 1 #

Total comments: 8

Patch Set 2 : address review comments #

Patch Set 3 : no deps #

Patch Set 4 : change numConfigs check #

Total comments: 1

Patch Set 5 : egl destruction update #

Total comments: 1

Patch Set 6 : comment wording #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -73 lines) Patch
M dm/DM.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M dm/DMGpuSupport.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M include/gpu/gl/command_buffer/SkCommandBufferGLContext.h View 1 2 chunks +17 lines, -5 lines 0 comments Download
M include/views/SkOSWindow_Mac.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/views/SkOSWindow_SDL.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/views/SkOSWindow_Unix.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/views/SkOSWindow_Win.h View 1 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleApp.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 4 5 4 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrContextFactory.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M src/gpu/GrContextFactory.cpp View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 3 chunks +16 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLInterface.cpp View 1 2 3 5 chunks +33 lines, -16 lines 0 comments Download
M src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp View 1 2 3 4 5 9 chunks +39 lines, -25 lines 0 comments Download
M src/views/win/SkOSWindow_win.cpp View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M tests/TestConfigParsing.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/flags/SkCommonFlagsConfig.cpp View 1 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Kimmo Kinnunen
Would this complicate things too much?
4 years, 10 months ago (2016-02-12 08:12:20 UTC) #3
bsalomon
Seems like a good idea to me. https://codereview.chromium.org/1684413003/diff/1/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h File include/gpu/gl/command_buffer/SkCommandBufferGLContext.h (right): https://codereview.chromium.org/1684413003/diff/1/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h#newcode53 include/gpu/gl/command_buffer/SkCommandBufferGLContext.h:53: enum ContextVersion ...
4 years, 10 months ago (2016-02-12 14:03:27 UTC) #4
Kimmo Kinnunen
https://codereview.chromium.org/1684413003/diff/1/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h File include/gpu/gl/command_buffer/SkCommandBufferGLContext.h (right): https://codereview.chromium.org/1684413003/diff/1/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h#newcode53 include/gpu/gl/command_buffer/SkCommandBufferGLContext.h:53: enum ContextVersion { On 2016/02/12 14:03:27, bsalomon wrote: > ...
4 years, 10 months ago (2016-02-15 08:10:14 UTC) #5
Kimmo Kinnunen
https://codereview.chromium.org/1684413003/diff/60001/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp File src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp (right): https://codereview.chromium.org/1684413003/diff/60001/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp#newcode221 src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp:221: &numConfigs) || numConfigs <= 0) { Changed this too..
4 years, 10 months ago (2016-02-15 10:07:01 UTC) #6
bsalomon
lgtm
4 years, 10 months ago (2016-02-16 14:20:09 UTC) #7
Kimmo Kinnunen
I changed the eglMakeCurrent, eglDestroyContext order after LGTM. This was done in order to avoid ...
4 years, 10 months ago (2016-02-25 09:37:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684413003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684413003/100001
4 years, 10 months ago (2016-02-25 09:43:16 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/45c2c8166bbd84a87e29fdd344b39e36e8a28a3f
4 years, 10 months ago (2016-02-25 10:03:47 UTC) #13
Kimmo Kinnunen
4 years, 9 months ago (2016-02-29 06:51:29 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1744963002/ by kkinnunen@nvidia.com.

The reason for reverting is: The ES3 implementation in command_buffer_gles2 got
reverted.
To get the implementation back, further work would be needed. I'm not sure I can
do that in timely manner or at all.
Better to revert this one, for the time being.
https://bugs.chromium.org/p/chromium/issues/detail?id=581634#c14.

Powered by Google App Engine
This is Rietveld 408576698