Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: components/mus/gles2/command_buffer_driver.h

Issue 1615253006: Removed last references to old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed references in TestContextSupport Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/test_context_support.cc ('k') | components/mus/gles2/command_buffer_driver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_ 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_ 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_DRIVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // Poll the command buffer to execute work. 105 // Poll the command buffer to execute work.
106 void PollWork(); 106 void PollWork();
107 void PerformWork(); 107 void PerformWork();
108 108
109 void DestroyDecoder(); 109 void DestroyDecoder();
110 110
111 // Callbacks: 111 // Callbacks:
112 void OnUpdateVSyncParameters(const base::TimeTicks timebase, 112 void OnUpdateVSyncParameters(const base::TimeTicks timebase,
113 const base::TimeDelta interval); 113 const base::TimeDelta interval);
114 bool OnWaitSyncPoint(uint32_t sync_point);
115 void OnFenceSyncRelease(uint64_t release); 114 void OnFenceSyncRelease(uint64_t release);
116 bool OnWaitFenceSync(gpu::CommandBufferNamespace namespace_id, 115 bool OnWaitFenceSync(gpu::CommandBufferNamespace namespace_id,
117 uint64_t command_buffer_id, 116 uint64_t command_buffer_id,
118 uint64_t release); 117 uint64_t release);
119 void OnParseError(); 118 void OnParseError();
120 void OnContextLost(uint32_t reason); 119 void OnContextLost(uint32_t reason);
121 120
122 const gpu::CommandBufferNamespace command_buffer_namespace_; 121 const gpu::CommandBufferNamespace command_buffer_namespace_;
123 const uint64_t command_buffer_id_; 122 const uint64_t command_buffer_id_;
124 gfx::AcceleratedWidget widget_; 123 gfx::AcceleratedWidget widget_;
(...skipping 15 matching lines...) Expand all
140 base::TimeTicks last_idle_time_; 139 base::TimeTicks last_idle_time_;
141 140
142 base::WeakPtrFactory<CommandBufferDriver> weak_factory_; 141 base::WeakPtrFactory<CommandBufferDriver> weak_factory_;
143 142
144 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver); 143 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver);
145 }; 144 };
146 145
147 } // namespace mus 146 } // namespace mus
148 147
149 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_ 148 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_
OLDNEW
« no previous file with comments | « cc/test/test_context_support.cc ('k') | components/mus/gles2/command_buffer_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698