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

Issue 1819663002: Bind GrContext to GLES2Interfaces in tests (Closed)

Created:
4 years, 9 months ago by bsalomon
Modified:
4 years, 9 months ago
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, feature-media-reviews_chromium.org, f(malita), jbroman, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@function
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bind GrContext to GLES2Interfaces in tests BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Patch Set 2 : Use DEPS include_rules to make dependencies allowed #

Patch Set 3 : remove more unneeded gyp changes #

Patch Set 4 : add back needed gyp changes and simplify var name #

Patch Set 5 : Fix gn ---check errors #

Patch Set 6 : Minimal GetString impl for TestGLES2Interface in skcanvas_video_renderer_unittest.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -17 lines) Patch
M cc/BUILD.gn View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A cc/raster/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/raster/tile_task_worker_pool_perftest.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M cc/test/test_context_provider.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M media/BUILD.gn View 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer_unittest.cc View 1 2 3 4 5 3 chunks +20 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/web_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
bsalomon
Ganesh will soon be communicating with the command buffer via GLES2Interface rather than the C ...
4 years, 9 months ago (2016-03-19 21:34:56 UTC) #3
aelias_OOO_until_Jul13
This looks legit to me too and I can't see what's going wrong, I guess ...
4 years, 9 months ago (2016-03-22 20:28:14 UTC) #7
bsalomon
I think I figured it out. I didn't realize that the script was complaining about ...
4 years, 9 months ago (2016-03-22 20:35:41 UTC) #8
aelias_OOO_until_Jul13
On 2016/03/22 at 20:35:41, bsalomon wrote: > I think I figured it out. I didn't ...
4 years, 9 months ago (2016-03-22 20:40:10 UTC) #9
Justin Novosad
platform/graphics lgtm
4 years, 9 months ago (2016-03-22 20:41:30 UTC) #10
DaleCurtis
media/ lgtm assuming cc folk are happy.
4 years, 9 months ago (2016-03-22 20:43:55 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819663002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819663002/60001
4 years, 9 months ago (2016-03-22 20:47:34 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/39486) android_chromium_gn_compile_rel on ...
4 years, 9 months ago (2016-03-22 20:51:48 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819663002/80001
4 years, 9 months ago (2016-03-22 20:58:49 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/159802)
4 years, 9 months ago (2016-03-22 21:10:29 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819663002/100001
4 years, 9 months ago (2016-03-24 14:32:46 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/160410)
4 years, 9 months ago (2016-03-24 14:41:25 UTC) #25
bsalomon
4 years, 9 months ago (2016-03-25 14:49:15 UTC) #26
Message was sent while issue was closed.
I'm abandoning this in favor of a much simpler CL:
https://codereview.chromium.org/1829363003

The trouble was getting all the mock/test GLES2Interfaces to provide the minimum
viable implementation to make the tests work (e.g. valid limits and providing
non-zero IDs). The other CL let's me remove SkGLContext from the Skialib  but
not the null GrGLInterface. The latter was a lesser goal.

Powered by Google App Engine
This is Rietveld 408576698