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

Issue 1306823003: skia: add ability to load command_buffer_gles2 (Closed)

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

Description

skia: add ability to load command_buffer_gles2 BUG=skia: Committed: https://skia.googlesource.com/skia/+/885bf0925514b9dfe3365bab227d36897d866b5d

Patch Set 1 #

Patch Set 2 : remove some files #

Patch Set 3 : a few tweaks #

Patch Set 4 : remove test change - can add separately #

Patch Set 5 : delete the display #

Total comments: 14

Patch Set 6 : make it work with sampleapp #

Total comments: 13

Patch Set 7 : review comments #

Patch Set 8 : merge #

Patch Set 9 : and NULL->nullptr, just because. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+583 lines, -20 lines) Patch
M bench/nanobench.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M dm/DM.cpp View 1 2 3 4 5 6 7 1 chunk +13 lines, -10 lines 0 comments Download
M dm/DMGpuSupport.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -6 lines 0 comments Download
M gyp/common.gypi View 1 chunk +10 lines, -0 lines 0 comments Download
M gyp/common_variables.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/gpu.gyp View 2 chunks +7 lines, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M include/gpu/gl/GrGLInterface.h View 1 chunk +7 lines, -0 lines 0 comments Download
A include/gpu/gl/command_buffer/SkCommandBufferGLContext.h View 1 2 3 4 5 6 1 chunk +66 lines, -0 lines 0 comments Download
M include/views/SkOSWindow_Win.h View 1 2 3 4 5 4 chunks +16 lines, -0 lines 0 comments Download
M samplecode/SampleApp.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 4 5 6 7 7 chunks +26 lines, -1 line 0 comments Download
M src/gpu/GrContextFactory.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/GrContextFactory.cpp View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp View 1 2 3 4 5 6 7 8 1 chunk +271 lines, -0 lines 0 comments Download
M src/views/win/SkOSWindow_win.cpp View 1 2 3 4 5 7 chunks +78 lines, -1 line 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M tests/SkpSkGrTest.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/PictureRenderer.h View 1 2 3 4 5 6 7 6 chunks +27 lines, -0 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M tools/PictureRenderingFlags.cpp View 1 2 3 4 5 6 7 3 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
hendrikw
PTAL, I think most of this is ok, but probably not the SkOSWindow changes, still ...
5 years, 3 months ago (2015-08-26 18:10:27 UTC) #3
bsalomon
Mostly seems fine. Does SampleApp actually work through the command buffer? https://codereview.chromium.org/1306823003/diff/100001/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp File src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp (right): ...
5 years, 3 months ago (2015-08-26 18:19:55 UTC) #4
hendrikw
PTAL, thanks!!!!! https://codereview.chromium.org/1306823003/diff/100001/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp File src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp (right): https://codereview.chromium.org/1306823003/diff/100001/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp#newcode40 src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp:40: static HMODULE ghLibrary = nullptr; On 2015/08/26 ...
5 years, 3 months ago (2015-08-27 01:28:35 UTC) #5
bsalomon
https://codereview.chromium.org/1306823003/diff/120001/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h File include/gpu/gl/command_buffer/SkCommandBufferGLContext.h (right): https://codereview.chromium.org/1306823003/diff/120001/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h#newcode32 include/gpu/gl/command_buffer/SkCommandBufferGLContext.h:32: SkCommandBufferGLContext* ctx = SkNEW_ARGS(SkCommandBufferGLContext, can just use plain old ...
5 years, 3 months ago (2015-08-27 13:47:14 UTC) #6
hendrikw
PTAL, thanks! https://codereview.chromium.org/1306823003/diff/120001/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h File include/gpu/gl/command_buffer/SkCommandBufferGLContext.h (right): https://codereview.chromium.org/1306823003/diff/120001/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h#newcode32 include/gpu/gl/command_buffer/SkCommandBufferGLContext.h:32: SkCommandBufferGLContext* ctx = SkNEW_ARGS(SkCommandBufferGLContext, On 2015/08/27 13:47:13, ...
5 years, 3 months ago (2015-08-27 14:41:58 UTC) #7
bsalomon
On 2015/08/27 14:41:58, hendrikw wrote: > PTAL, thanks! > > https://codereview.chromium.org/1306823003/diff/120001/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h > File include/gpu/gl/command_buffer/SkCommandBufferGLContext.h (right): ...
5 years, 3 months ago (2015-08-27 15:29:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306823003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306823003/140001
5 years, 3 months ago (2015-08-27 16:27:31 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Mips-Debug-Android-Trybot/builds/2170) Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 3 months ago (2015-08-27 16:28:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306823003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306823003/180001
5 years, 3 months ago (2015-08-27 17:33:12 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 17:38:45 UTC) #16
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://skia.googlesource.com/skia/+/885bf0925514b9dfe3365bab227d36897d866b5d

Powered by Google App Engine
This is Rietveld 408576698