DescriptionRemove GLContextStub::GetExtensions.
This method overrides GLContext::GetExtensions. The GLContext method
will simply call glGetString(GL_EXTENSIONS), which is normally what
you want do to.
The GLContextStub overrides this method to return an empty string,
which means that you are unable to change what extensions will be
returned by glGetString.
There is also a GLContextStubWithExtensions, which overrides
GetExtensions again, providing a way to set the string returned from
GLContext, as well as a version string, but then these strings no
longer match what the calls to glGetString would return, so this isn't
something I want to use in my new test. Instead allow GLContextStub
to be used with an extensions string returned from glGetString
of my choosing.
R=kbr@chromium.org, piman, sievers
BUG=584497
Committed: https://crrev.com/06a9b07727f9548cc408ca9c12a59442d4096254
Cr-Commit-Position: refs/heads/master@{#387524}
Patch Set 1 : stub #
Messages
Total messages: 12 (6 generated)
|