Changeset 100068 in webkit
- Timestamp:
- Nov 11, 2011, 8:45:00 PM (15 years ago)
- Location:
- trunk/Source
- Files:
-
- 10 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/graphics/GraphicsContext3D.h (modified) (1 diff)
-
WebCore/platform/graphics/efl/GraphicsContext3DEfl.cpp (modified) (1 diff)
-
WebCore/platform/graphics/gtk/GraphicsContext3DGtk.cpp (modified) (1 diff)
-
WebCore/platform/graphics/gtk/GraphicsContext3DPrivate.cpp (modified) (1 diff)
-
WebCore/platform/graphics/gtk/GraphicsContext3DPrivate.h (modified) (1 diff)
-
WebCore/platform/graphics/mac/GraphicsContext3DMac.mm (modified) (1 diff)
-
WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp (modified) (1 diff)
-
WebKit/chromium/ChangeLog (modified) (1 diff)
-
WebKit/chromium/src/GraphicsContext3DChromium.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r100067 r100068 1 2011-11-11 Nat Duca <nduca@chromium.org> 2 3 Since GraphicsContext3D::makeContextCurrent can fail, return bool. 4 5 https://bugs.webkit.org/show_bug.cgi?id=72101 6 7 Reviewed by Kenneth Russell. 8 9 * platform/graphics/GraphicsContext3D.h: 10 * platform/graphics/efl/GraphicsContext3DEfl.cpp: 11 (WebCore::GraphicsContext3D::makeContextCurrent): 12 * platform/graphics/gtk/GraphicsContext3DGtk.cpp: 13 (WebCore::GraphicsContext3D::makeContextCurrent): 14 * platform/graphics/gtk/GraphicsContext3DPrivate.cpp: 15 (WebCore::GraphicsContext3DPrivate::makeContextCurrent): 16 * platform/graphics/gtk/GraphicsContext3DPrivate.h: 17 * platform/graphics/mac/GraphicsContext3DMac.mm: 18 (WebCore::GraphicsContext3D::makeContextCurrent): 19 * platform/graphics/qt/GraphicsContext3DQt.cpp: 20 (WebCore::GraphicsContext3D::makeContextCurrent): 21 1 22 2011-11-11 Ojan Vafai <ojan@chromium.org> 2 23 -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h
r100032 r100068 499 499 #endif 500 500 #endif 501 voidmakeContextCurrent();501 bool makeContextCurrent(); 502 502 503 503 #if PLATFORM(MAC) || PLATFORM(CHROMIUM) || PLATFORM(GTK) || PLATFORM(QT) -
trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DEfl.cpp
r100032 r100068 66 66 #endif 67 67 68 voidGraphicsContext3D::makeContextCurrent()68 bool GraphicsContext3D::makeContextCurrent() 69 69 { 70 70 m_internal->makeContextCurrent(); 71 return true; 71 72 } 72 73 -
trunk/Source/WebCore/platform/graphics/gtk/GraphicsContext3DGtk.cpp
r95901 r100068 136 136 } 137 137 138 voidGraphicsContext3D::makeContextCurrent()138 bool GraphicsContext3D::makeContextCurrent() 139 139 { 140 140 if (!m_private) 141 141 return; 142 m_private->makeContextCurrent();142 return m_private->makeContextCurrent(); 143 143 } 144 144 -
trunk/Source/WebCore/platform/graphics/gtk/GraphicsContext3DPrivate.cpp
r95901 r100068 235 235 } 236 236 237 voidGraphicsContext3DPrivate::makeContextCurrent()237 bool GraphicsContext3DPrivate::makeContextCurrent() 238 238 { 239 239 if (::glXGetCurrentContext() == m_context) -
trunk/Source/WebCore/platform/graphics/gtk/GraphicsContext3DPrivate.h
r95901 r100068 37 37 static PassOwnPtr<GraphicsContext3DPrivate> create(); 38 38 ~GraphicsContext3DPrivate(); 39 voidmakeContextCurrent();39 bool makeContextCurrent(); 40 40 41 41 private: -
trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm
r95901 r100068 259 259 } 260 260 261 voidGraphicsContext3D::makeContextCurrent()261 bool GraphicsContext3D::makeContextCurrent() 262 262 { 263 263 if (!m_contextObj) 264 return ;264 return false; 265 265 266 266 CGLContextObj currentContext = CGLGetCurrentContext(); 267 267 if (currentContext != m_contextObj) 268 268 CGLSetCurrentContext(m_contextObj); 269 return true; 269 270 } 270 271 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
r100032 r100068 416 416 #endif 417 417 418 void GraphicsContext3D::makeContextCurrent() 419 { 420 m_private->m_glWidget->makeCurrent(); 418 bool GraphicsContext3D::makeContextCurrent() 419 { 420 m_private->m_glWidget->makeCurrent(); 421 return true; 421 422 } 422 423 -
trunk/Source/WebKit/chromium/ChangeLog
r100062 r100068 1 2011-11-11 Nat Duca <nduca@chromium.org> 2 3 Since GraphicsContext3D::makeContextCurrent can fail, return bool. 4 5 https://bugs.webkit.org/show_bug.cgi?id=72101 6 7 Reviewed by Kenneth Russell. 8 9 * src/GraphicsContext3DChromium.cpp: 10 1 11 2011-11-11 Ojan Vafai <ojan@chromium.org> 2 12 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp
r100032 r100068 1067 1067 #endif 1068 1068 1069 DELEGATE_TO_INTERNAL (makeContextCurrent)1069 DELEGATE_TO_INTERNAL_R(makeContextCurrent, bool) 1070 1070 DELEGATE_TO_INTERNAL_2(reshape, int, int) 1071 1071
Note:
See TracChangeset
for help on using the changeset viewer.