Changeset 93689 in webkit
- Timestamp:
- Aug 23, 2011 7:11:11 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r93682 r93689 1 2011-08-23 Iain Merrick <husky@google.com> 2 3 [chromium] Make WebGL context current before querying for extensions 4 https://bugs.webkit.org/show_bug.cgi?id=66788 5 6 We're making changes on the Chromium side for threaded compositing that 7 will require makeContextCurrent to be called on the appropriate thread 8 before any other GL calls. 9 10 In line with other GraphicsContext3D implementations, we do this 11 implicitly. This is the minimum change that makes WebGL compliant. 12 13 Reviewed by Kenneth Russell. 14 15 * src/GraphicsContext3DChromium.cpp: 16 (WebCore::GraphicsContext3DInternal::initializeExtensions): 17 1 18 2011-08-23 Scott Byer <scottbyer@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp
r93625 r93689 790 790 void GraphicsContext3DInternal::initializeExtensions() 791 791 { 792 if (!m_initializedAvailableExtensions) { 792 bool success = makeContextCurrent(); 793 ASSERT(success); 794 if (success && !m_initializedAvailableExtensions) { 793 795 String extensionsString = getString(GraphicsContext3D::EXTENSIONS); 794 796 splitStringHelper(extensionsString, m_enabledExtensions);
Note: See TracChangeset
for help on using the changeset viewer.