Changeset 64385 in webkit
- Timestamp:
- Jul 30, 2010 4:34:40 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64384 r64385 1 2010-07-30 James Robinson <jamesr@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Move GLES2 context manipulation to ChromeClient.h and put it behind the right #if guard 6 https://bugs.webkit.org/show_bug.cgi?id=43281 7 8 These calls were initially put in ChromeClientChromium, but they aren't chromium specific. 9 In theory any port that could create the proper OpenGL ES 2 contexts could implement 10 these functions. Also moves the calls to be behind the correct #if guard. 11 12 * page/ChromeClient.h: 13 * page/chromium/ChromeClientChromium.h: 14 1 15 2010-07-30 Dumitru Daniliuc <dumi@chromium.org> 2 16 -
trunk/WebCore/page/ChromeClient.h
r63339 r64385 65 65 #endif 66 66 67 #if USE(GLES2_RENDERING) 68 class GLES2Contxt; 69 #endif 70 67 71 #if ENABLE(NOTIFICATIONS) 68 72 class NotificationPresenter; … … 220 224 #endif 221 225 226 #if USE(GLES2_RENDERING) 227 // Request a GL ES 2 context to use for compositing this page's content. 228 virtual PassOwnPtr<GLES2Context> getOnscreenGLES2Context() = 0; 229 virtual PassOwnPtr<GLES2Context> getOffscreenGLES2Context() = 0; 230 #endif 231 222 232 virtual bool supportsFullscreenForNode(const Node*) { return false; } 223 233 virtual void enterFullscreenForNode(Node*) { } -
trunk/WebCore/page/chromium/ChromeClientChromium.h
r63383 r64385 40 40 class PopupContainer; 41 41 42 #if USE(ACCELERATED_COMPOSITING)43 class GLES2Context;44 #endif45 46 42 // Contains Chromium-specific extensions to the ChromeClient. Only put 47 43 // things here that don't make sense for other ports. … … 60 56 // Notifies embedder that the state of an accessibility object has changed. 61 57 virtual void didChangeAccessibilityObjectState(AccessibilityObject*) = 0; 62 63 #if USE(ACCELERATED_COMPOSITING)64 // Request a GL ES 2 context to use for compositing this page's content.65 virtual PassOwnPtr<GLES2Context> getOnscreenGLES2Context() = 0;66 virtual PassOwnPtr<GLES2Context> getOffscreenGLES2Context() = 0;67 #endif68 58 }; 69 59
Note: See TracChangeset
for help on using the changeset viewer.