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

Issue 130313002: Make correct GL context current during gpu_tracer processing (Closed)

Created:
6 years, 11 months ago by vmiura
Modified:
6 years, 11 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make correct GL context current during gpu_tracer processing The gpu_tracer reads back GL timer queries as a delayed task. During processing the associated GL context wasn't made current, so it was possible to query the wrong context, get incorrect timestamps, or cause GL errors. BUG=331161 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244068

Patch Set 1 #

Patch Set 2 : Fixed lint errors. #

Total comments: 4

Patch Set 3 : Remove weak ptr use. Handle MakeCurrent fail. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -17 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_tracer.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gpu_tracer.cc View 1 2 5 chunks +22 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
vmiura
Please take a look.
6 years, 11 months ago (2014-01-09 01:42:13 UTC) #1
piman
https://codereview.chromium.org/130313002/diff/70001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/130313002/diff/70001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode2219 gpu/command_buffer/service/gles2_cmd_decoder.cc:2219: gpu_tracer_ = GPUTracer::Create(base::AsWeakPtr(this)); Can we avoid weak pointers? Since ...
6 years, 11 months ago (2014-01-09 02:10:33 UTC) #2
vmiura
https://codereview.chromium.org/130313002/diff/70001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/130313002/diff/70001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode2219 gpu/command_buffer/service/gles2_cmd_decoder.cc:2219: gpu_tracer_ = GPUTracer::Create(base::AsWeakPtr(this)); On 2014/01/09 02:10:33, piman wrote: > ...
6 years, 11 months ago (2014-01-09 02:57:02 UTC) #3
piman
lgtm
6 years, 11 months ago (2014-01-09 03:36:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmiura@chromium.org/130313002/170001
6 years, 11 months ago (2014-01-09 19:27:24 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=244327
6 years, 11 months ago (2014-01-09 22:05:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmiura@chromium.org/130313002/170001
6 years, 11 months ago (2014-01-09 23:22:03 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 03:18:10 UTC) #8
Message was sent while issue was closed.
Change committed as 244068

Powered by Google App Engine
This is Rietveld 408576698