| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/PlatformExport.h" | 5 #include "platform/PlatformExport.h" |
| 6 #include "wtf/ThreadSpecific.h" | 6 #include "platform/wtf/ThreadSpecific.h" |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 namespace gpu { | 10 namespace gpu { |
| 11 namespace gles2 { | 11 namespace gles2 { |
| 12 class GLES2Interface; | 12 class GLES2Interface; |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 class GrContext; | 15 class GrContext; |
| 16 | 16 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void createContextProviderOnMainThread(WaitableEvent*); | 50 void createContextProviderOnMainThread(WaitableEvent*); |
| 51 void createContextProviderIfNeeded(); | 51 void createContextProviderIfNeeded(); |
| 52 | 52 |
| 53 ContextProviderFactory m_contextProviderFactory = nullptr; | 53 ContextProviderFactory m_contextProviderFactory = nullptr; |
| 54 std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider; | 54 std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider; |
| 55 unsigned m_contextId; | 55 unsigned m_contextId; |
| 56 friend class WTF::ThreadSpecific<SharedGpuContext>; | 56 friend class WTF::ThreadSpecific<SharedGpuContext>; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // blink | 59 } // blink |
| OLD | NEW |