| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 virtual const LayerRendererCapabilities& layerRendererCapabilities() const; | 54 virtual const LayerRendererCapabilities& layerRendererCapabilities() const; |
| 55 virtual void loseContext(); | 55 virtual void loseContext(); |
| 56 virtual void setNeedsAnimate(); | 56 virtual void setNeedsAnimate(); |
| 57 virtual void setNeedsCommit(); | 57 virtual void setNeedsCommit(); |
| 58 virtual void setNeedsRedraw(); | 58 virtual void setNeedsRedraw(); |
| 59 virtual bool commitRequested() const; | 59 virtual bool commitRequested() const; |
| 60 virtual void setVisible(bool); | 60 virtual void setVisible(bool); |
| 61 virtual void start(); | 61 virtual void start(); |
| 62 virtual void stop(); | 62 virtual void stop(); |
| 63 virtual size_t maxPartialTextureUpdates() const { return std::numeric_limits
<size_t>::max(); } | 63 virtual size_t maxPartialTextureUpdates() const { return std::numeric_limits
<size_t>::max(); } |
| 64 virtual void forceSerializeOnSwapBuffers() OVERRIDE; |
| 64 | 65 |
| 65 // CCLayerTreeHostImplClient implementation | 66 // CCLayerTreeHostImplClient implementation |
| 66 virtual void didLoseContextOnImplThread() { } | 67 virtual void didLoseContextOnImplThread() { } |
| 67 virtual void onSwapBuffersCompleteOnImplThread() { ASSERT_NOT_REACHED(); } | 68 virtual void onSwapBuffersCompleteOnImplThread() { ASSERT_NOT_REACHED(); } |
| 68 virtual void setNeedsRedrawOnImplThread() { m_layerTreeHost->setNeedsCommit(
); } | 69 virtual void setNeedsRedrawOnImplThread() { m_layerTreeHost->setNeedsCommit(
); } |
| 69 virtual void setNeedsCommitOnImplThread() { m_layerTreeHost->setNeedsCommit(
); } | 70 virtual void setNeedsCommitOnImplThread() { m_layerTreeHost->setNeedsCommit(
); } |
| 70 virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimat
ionEventsVector>, double wallClockTime); | 71 virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimat
ionEventsVector>, double wallClockTime); |
| 71 | 72 |
| 72 // Called by the legacy path where RenderWidget does the scheduling. | 73 // Called by the legacy path where RenderWidget does the scheduling. |
| 73 void compositeImmediately(); | 74 void compositeImmediately(); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 { | 130 { |
| 130 #if !ASSERT_DISABLED | 131 #if !ASSERT_DISABLED |
| 131 CCProxy::setCurrentThreadIsImplThread(true); | 132 CCProxy::setCurrentThreadIsImplThread(true); |
| 132 #endif | 133 #endif |
| 133 } | 134 } |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 } // namespace WebCore | 137 } // namespace WebCore |
| 137 | 138 |
| 138 #endif | 139 #endif |
| OLD | NEW |