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

Issue 22744005: initialize trace_event hooks in angle on gpu startup (Closed)

Created:
7 years, 4 months ago by scottmg
Modified:
7 years, 4 months ago
Reviewers:
apatrick_chromium
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : move to gl_implementation_win instead #

Patch Set 3 : getprocaddress #

Patch Set 4 : guard against lookup failure #

Patch Set 5 : separate from angle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M ui/gl/gl_implementation_win.cc View 1 2 3 4 3 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scottmg
7 years, 4 months ago (2013-08-09 20:44:03 UTC) #1
apatrick_chromium
https://codereview.chromium.org/22744005/diff/1/content/gpu/gpu_main.cc File content/gpu/gpu_main.cc (right): https://codereview.chromium.org/22744005/diff/1/content/gpu/gpu_main.cc#newcode116 content/gpu/gpu_main.cc:116: gl::SetTraceFunctionPointers(&AngleGetTraceCategoryEnabledFlag, Does this really work? ANGLE is dynamically loaded. ...
7 years, 4 months ago (2013-08-12 19:34:12 UTC) #2
scottmg
On 2013/08/12 19:34:12, apatrick_chromium wrote: > https://codereview.chromium.org/22744005/diff/1/content/gpu/gpu_main.cc > File content/gpu/gpu_main.cc (right): > > https://codereview.chromium.org/22744005/diff/1/content/gpu/gpu_main.cc#newcode116 > ...
7 years, 4 months ago (2013-08-12 20:13:26 UTC) #3
apatrick_chromium
It has to happen really early. You could try ui\gl\gl_implementation_win.cc in InitializeGLBindings, being careful to ...
7 years, 4 months ago (2013-08-12 20:21:52 UTC) #4
scottmg
moved to gl_implementation_win, use getprocaddress instead of __declspec so there's no hard dep on libGLESv2.dll, ...
7 years, 4 months ago (2013-08-14 00:38:45 UTC) #5
apatrick_chromium
lgtm
7 years, 4 months ago (2013-08-14 00:42:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/22744005/15001
7 years, 4 months ago (2013-08-14 01:07:45 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-14 05:47:01 UTC) #8
Message was sent while issue was closed.
Change committed as 217487

Powered by Google App Engine
This is Rietveld 408576698