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

Issue 1061763002: android: Merge CreateOffscreenContext and CreateContext into one function. (Closed)

Created:
5 years, 8 months ago by tfarina
Modified:
5 years, 8 months ago
Reviewers:
boliu
CC:
chromium-reviews, darin-cc_chromium.org, jam, Avi (use Gerrit), jamesr, jochen (gone - plz use gerrit), pilgrim_google, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Merge CreateOffscreenContext and CreateContext into one function. These refactor these two functions into a single one to ease the transition of https://codereview.chromium.org/920443003. Tested on Android (with Nexus 5 device) with the following command lines: $ ./build/gyp_chromium -DOS=android -Goutput_dir=out_android $ ninja -C out_android/Debug content_unittests content_unittests_apk $ export CHROMIUM_OUT_DIR=out_android $ build/android/test_runner.py gtest -s content_unittests --debug -vvv ContentShell tests: $ ninja -C out_android/Debug content_shell_apk $ ninja -C out_android/Debug content_shell_test_apk $ build/android/adb_install_apk.py --apk=ContentShell.apk --debug $ build/android/test_runner.py instrumentation --test-apk=ContentShellTest --isolate-file-path content/content_shell_test_apk.isolate --debug -vv AndroidWebView tests: $ ninja -C out_android/Debug android_webview_apk $ ninja -C out_android/Debug android_webview_test_apk $ build/android/adb_install_apk.py --apk=AndroidWebView.apk --debug $ build/android/test_runner.py instrumentation --test-apk=AndroidWebViewTest --test_data webview:android_webview/test/data/device_files --debug -vvv BUG=338338 TEST=see above R=boliu@chromium.org Committed: https://crrev.com/c0a93f375a87b8a7685a19bba712f20ab22f168c Cr-Commit-Position: refs/heads/master@{#324033}

Patch Set 1 #

Patch Set 2 : CreatContext() #

Total comments: 2

Patch Set 3 : shareResources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -38 lines) Patch
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 2 6 chunks +20 lines, -38 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
tfarina
This is more manageable to me. Please, check if I got all the parameter values ...
5 years, 8 months ago (2015-04-04 02:33:28 UTC) #1
boliu
sorry for the delay https://codereview.chromium.org/1061763002/diff/20001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/1061763002/diff/20001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode61 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:61: is_offscreen ? attributes.shareResources : share_resources, ...
5 years, 8 months ago (2015-04-07 02:23:26 UTC) #2
tfarina
https://codereview.chromium.org/1061763002/diff/20001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/1061763002/diff/20001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode61 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:61: is_offscreen ? attributes.shareResources : share_resources, On 2015/04/07 02:23:26, boliu ...
5 years, 8 months ago (2015-04-07 04:01:43 UTC) #3
boliu
lgtm
5 years, 8 months ago (2015-04-07 04:08:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061763002/40001
5 years, 8 months ago (2015-04-07 12:11:48 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-07 12:15:18 UTC) #7
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 12:16:08 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c0a93f375a87b8a7685a19bba712f20ab22f168c
Cr-Commit-Position: refs/heads/master@{#324033}

Powered by Google App Engine
This is Rietveld 408576698