Changeset 98036 in webkit
- Timestamp:
- Oct 20, 2011 4:23:13 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r98035 r98036 1 2011-10-20 Michal Mocny <mmocny@google.com> 2 3 [chromium] Add a setVisibility method to WebGraphicsContext3D. 4 https://bugs.webkit.org/show_bug.cgi?id=68905 5 6 Reviewed by Kenneth Russell. 7 8 Added hooks for notifying WebGraphicsContext3D of surface visibility changes. 9 Useful for releasing various graphics resource. 10 11 * DEPS: 12 * public/WebGraphicsContext3D.h: 13 * src/WebViewImpl.cpp: 14 (WebKit::WebViewImpl::setVisibilityState): 15 * tests/MockWebGraphicsContext3D.h: 16 (WebKit::MockWebGraphicsContext3D::setVisibility): 17 1 18 2011-10-20 Antoine Labour <piman@chromium.org> 2 19 -
trunk/Source/WebKit/chromium/DEPS
r97890 r98036 33 33 vars = { 34 34 'chromium_svn': 'http://src.chromium.org/svn/trunk/src', 35 'chromium_rev': '10 5970'35 'chromium_rev': '106342' 36 36 } 37 37 -
trunk/Source/WebKit/chromium/public/WebGraphicsContext3D.h
r97896 r98036 141 141 virtual void reshape(int width, int height) = 0; 142 142 143 // Changes the visibility of the region 144 virtual void setVisibility(bool visible) = 0; 145 143 146 // Query whether it is built on top of compliant GLES2 implementation. 144 147 virtual bool isGLES2Compliant() = 0; -
trunk/Source/WebKit/chromium/src/WebViewImpl.cpp
r97922 r98036 2812 2812 m_nonCompositedContentHost->protectVisibleTileTextures(); 2813 2813 m_layerTreeHost->setVisible(visible); 2814 graphicsContext3D()->setVisibility(visible); 2814 2815 } 2815 2816 #endif -
trunk/Source/WebKit/chromium/tests/MockWebGraphicsContext3D.h
r95901 r98036 44 44 virtual void reshape(int width, int height) { } 45 45 46 virtual void setVisibility(bool visible) { } 47 46 48 virtual bool isGLES2Compliant() { return false; } 47 49
Note: See TracChangeset
for help on using the changeset viewer.