Changeset 100190 in webkit
- Timestamp:
- Nov 14, 2011, 2:22:02 PM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r100185 r100190 1 2011-11-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> 2 3 Intermittent asserts in TextureMapperGL::bindSurface on MiniBrowser startup 4 https://bugs.webkit.org/show_bug.cgi?id=72299 5 6 Reviewed by Noam Rosenthal. 7 8 Added check that clipping rect is valid. 9 Clear GL error that might remain from QT GL operations. 10 Added GL error assert for scissor test operations. 11 12 * UIProcess/API/qt/qquickwebpage.cpp: 13 (QQuickWebPagePrivate::paintToCurrentGLContext): 14 1 15 2011-11-14 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/API/qt/qquickwebpage.cpp
r99946 r100190 211 211 QRectF clipRect = q->parentItem()->mapRectToScene(q->parentItem()->boundingRect()); 212 212 213 if (!clipRect.isValid()) 214 return; 215 216 // Make sure that no GL error code stays from previous QT operations. 217 glGetError(); 218 213 219 glEnable(GL_SCISSOR_TEST); 220 ASSERT(!glGetError()); 214 221 const int left = clipRect.left(); 215 222 const int width = clipRect.width(); … … 218 225 219 226 glScissor(left, bottom, width, height); 227 ASSERT(!glGetError()); 220 228 221 229 pageProxy->renderToCurrentGLContext(transform, opacity); 222 230 glDisable(GL_SCISSOR_TEST); 231 ASSERT(!glGetError()); 223 232 } 224 233
Note:
See TracChangeset
for help on using the changeset viewer.