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

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed)

Created:
5 years, 3 months ago by Petr Hosek
Modified:
5 years, 3 months ago
Reviewers:
jamesr
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cdotstout, darin (slow to review), gregsimon, jaween, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, viettrungluu, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Review feedback addressed #

Total comments: 4

Patch Set 3 : Unit test added #

Total comments: 2

Patch Set 4 : Use deps instead of source #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -16 lines) Patch
M mojo/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gles2/BUILD.gn View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M mojo/gles2/control_thunks_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/gles2/control_thunks_impl.cc View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M mojo/gles2/mgl_impl.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A mojo/gles2/mgl_unittest.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M mojo/public/c/gpu/MGL/mgl.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/c/gpu/MGL/mgl_types.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + mojo/public/platform/native/gles2/call_visitor.h View 1 2 2 chunks +2 lines, -16 lines 0 comments Download
M mojo/public/platform/native/mgl_thunks.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/public/platform/native/mgl_thunks.c View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Petr Hosek
ptal
5 years, 3 months ago (2015-09-21 19:22:31 UTC) #2
jamesr
https://codereview.chromium.org/1354353002/diff/20001/mojo/gles2/control_thunks_impl.cc File mojo/gles2/control_thunks_impl.cc (right): https://codereview.chromium.org/1354353002/diff/20001/mojo/gles2/control_thunks_impl.cc#newcode57 mojo/gles2/control_thunks_impl.cc:57: return gles2::GetGLFunctionPointer(name); this will return things that the underlying ...
5 years, 3 months ago (2015-09-21 19:38:50 UTC) #3
Petr Hosek
https://chromiumcodereview.appspot.com/1354353002/diff/20001/mojo/gles2/control_thunks_impl.cc File mojo/gles2/control_thunks_impl.cc (right): https://chromiumcodereview.appspot.com/1354353002/diff/20001/mojo/gles2/control_thunks_impl.cc#newcode57 mojo/gles2/control_thunks_impl.cc:57: return gles2::GetGLFunctionPointer(name); On 2015/09/21 19:38:50, jamesr wrote: > this ...
5 years, 3 months ago (2015-09-22 20:06:54 UTC) #4
jamesr
lgtm It'd be nice to have a test that verifies that calling MGLGetProcAddress("glActiveTexture") returns non-null ...
5 years, 3 months ago (2015-09-22 20:28:35 UTC) #5
Petr Hosek
I added a unit test and fixed a bug in the implementation it revealed. https://chromiumcodereview.appspot.com/1354353002/diff/40001/mojo/public/c/gpu/MGL/mgl.h ...
5 years, 3 months ago (2015-09-22 23:31:26 UTC) #6
jamesr
Pesky tests, finding bugs and all. +vtl for question about the test harness https://codereview.chromium.org/1354353002/diff/60001/mojo/gles2/BUILD.gn File ...
5 years, 3 months ago (2015-09-22 23:38:50 UTC) #7
Petr Hosek
https://chromiumcodereview.appspot.com/1354353002/diff/60001/mojo/gles2/BUILD.gn File mojo/gles2/BUILD.gn (right): https://chromiumcodereview.appspot.com/1354353002/diff/60001/mojo/gles2/BUILD.gn#newcode98 mojo/gles2/BUILD.gn:98: "../edk/test/run_all_unittests.cc", On 2015/09/22 23:38:50, jamesr wrote: > sourcing in ...
5 years, 3 months ago (2015-09-23 00:04:31 UTC) #11
jamesr
lgtm
5 years, 3 months ago (2015-09-23 00:09:36 UTC) #12
Petr Hosek
5 years, 3 months ago (2015-09-23 00:45:52 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
c7c7906e87cd6a5429a8ad97af0206c4bb4210bf (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698