OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ | 5 #ifndef GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ |
6 #define GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ | 6 #define GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 | 57 |
58 virtual void SetLock(base::Lock* lock) = 0; | 58 virtual void SetLock(base::Lock* lock) = 0; |
59 | 59 |
60 virtual void SetSwapBuffersCompletionCallback( | 60 virtual void SetSwapBuffersCompletionCallback( |
61 const gpu::InProcessCommandBuffer::SwapBuffersCompletionCallback& | 61 const gpu::InProcessCommandBuffer::SwapBuffersCompletionCallback& |
62 callback) = 0; | 62 callback) = 0; |
63 | 63 |
64 virtual void SetUpdateVSyncParametersCallback( | 64 virtual void SetUpdateVSyncParametersCallback( |
65 const gpu::InProcessCommandBuffer::UpdateVSyncParametersCallback& | 65 const gpu::InProcessCommandBuffer::UpdateVSyncParametersCallback& |
66 callback) = 0; | 66 callback) = 0; |
67 | |
68 virtual InProcessCommandBuffer* GetInProcessCommandBuffer() = 0; | |
mfomitchev
2017/03/23 15:25:17
Is this ok?
Fady Samuel
2017/03/23 17:24:38
Can we plumb LatencyInfo in instead of InProcessCo
| |
67 }; | 69 }; |
68 | 70 |
69 } // namespace gpu | 71 } // namespace gpu |
70 | 72 |
71 #endif // GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ | 73 #endif // GPU_IPC_GL_IN_PROCESS_CONTEXT_H_ |
OLD | NEW |