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

Issue 1829363003: Directly use GrGLInterface in cc tests rather than SkNullGLContext (Closed)

Created:
4 years, 9 months ago by bsalomon
Modified:
4 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Directly use GrGLInterface in cc tests rather than SkNullGLContext. This unblocks removal of SkGLContext and its subclasses from the Skia lib. Using the null GrGLInterface here used to be problematic because its implementation stored its state globally, assuming there was only one instance. This is no longer the case. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/8799bb02c20d52878bde3eb9e2e33138919233ac Cr-Commit-Position: refs/heads/master@{#383375}

Patch Set 1 #

Patch Set 2 : remove #include #

Patch Set 3 : fix include and similar change to Canvas2DLayerBridgeTest #

Total comments: 2

Patch Set 4 : no auto for smart ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M cc/test/test_context_provider.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
bsalomon
PTAL, very small change.
4 years, 9 months ago (2016-03-25 14:52:17 UTC) #4
bsalomon
+junov@ for Canvas2DLayerBridgeTest change.
4 years, 9 months ago (2016-03-25 15:06:43 UTC) #5
bsalomon
On 2016/03/25 15:06:43, bsalomon wrote: > +junov@ for Canvas2DLayerBridgeTest change. for real, this time.
4 years, 9 months ago (2016-03-25 15:07:07 UTC) #7
enne (OOO)
lgtm
4 years, 9 months ago (2016-03-25 17:09:30 UTC) #8
bsalomon
+Florin since Montreal is off today.
4 years, 9 months ago (2016-03-25 17:18:21 UTC) #10
danakj
LGTM https://codereview.chromium.org/1829363003/diff/40001/cc/test/test_context_provider.cc File cc/test/test_context_provider.cc (right): https://codereview.chromium.org/1829363003/diff/40001/cc/test/test_context_provider.cc#newcode115 cc/test/test_context_provider.cc:115: auto gl_interface = skia::AdoptRef(GrGLCreateNullInterface()); re: past chromium-dev threads, ...
4 years, 9 months ago (2016-03-25 18:09:36 UTC) #11
f(malita)
lgtm
4 years, 9 months ago (2016-03-25 18:19:47 UTC) #12
bsalomon
https://codereview.chromium.org/1829363003/diff/40001/cc/test/test_context_provider.cc File cc/test/test_context_provider.cc (right): https://codereview.chromium.org/1829363003/diff/40001/cc/test/test_context_provider.cc#newcode115 cc/test/test_context_provider.cc:115: auto gl_interface = skia::AdoptRef(GrGLCreateNullInterface()); On 2016/03/25 18:09:36, danakj wrote: ...
4 years, 9 months ago (2016-03-25 19:02:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829363003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829363003/60001
4 years, 9 months ago (2016-03-25 19:03:28 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-25 21:59:42 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 22:02:22 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8799bb02c20d52878bde3eb9e2e33138919233ac
Cr-Commit-Position: refs/heads/master@{#383375}

Powered by Google App Engine
This is Rietveld 408576698