DescriptionImprove GL helpers.
Use ApplicationConnector instead of Shell to obtain an offscreen
GL context. This makes it easier to create GL contexts from
separate threads since the Shell interface is usually owned by
the main thread.
Eagerly unbind GL textures from the context after creation to prevent
spurious circularity warnings from the GPU Service caused by textures
being bound while not actually in use.
BUG=
Review URL: https://codereview.chromium.org/1537783002 .
R=viettrungluu@chromium.org, abarth, jamesr, viettrungluu
Committed: https://chromium.googlesource.com/external/mojo/+/fb52d34d402bca2dcaeed2de5b8e4ebc691e9c8b
Patch Set 1 #Patch Set 2 : address review comments #Patch Set 3 : rebase #Patch Set 4 : rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 7 (1 generated)
|