Commit 111cea8a authored by sievers's avatar sievers Committed by Commit bot

Android: Set browser offscreen ctx type for stats

TBR=jdduke@chromium.org

Review URL: https://codereview.chromium.org/1155553005

Cr-Commit-Position: refs/heads/master@{#333133}
parent db78c310
...@@ -211,6 +211,7 @@ GLHelperHolder::CreateContext3D() { ...@@ -211,6 +211,7 @@ GLHelperHolder::CreateContext3D() {
0, // offscreen 0, // offscreen
url, gpu_channel_host.get(), attrs, lose_context_when_out_of_memory, url, gpu_channel_host.get(), attrs, lose_context_when_out_of_memory,
limits, nullptr)); limits, nullptr));
context->SetContextType(BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT);
if (context->InitializeOnCurrentThread()) { if (context->InitializeOnCurrentThread()) {
context->traceBeginCHROMIUM( context->traceBeginCHROMIUM(
"gpu_toplevel", "gpu_toplevel",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment