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

Unified Diff: mojo/gles2/gles2_impl.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/public/c/gles2/gles2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/gles2_impl.cc
diff --git a/mojo/gles2/gles2_impl.cc b/mojo/gles2/gles2_impl.cc
index fdd6763ff1522c64df3aa6ab0d572caeb0309b05..bb117f522876a60d753b7109038a296effeaf520 100644
--- a/mojo/gles2/gles2_impl.cc
+++ b/mojo/gles2/gles2_impl.cc
@@ -25,11 +25,6 @@ const int32_t kNone = 0x3038; // EGL_NONE
base::LazyInstance<base::ThreadLocalPointer<gpu::gles2::GLES2Interface> >::Leaky
g_gpu_interface;
-void RunSignalSyncCallback(MojoGLES2SignalSyncPointCallback callback,
- void* closure) {
- callback(closure);
-}
-
} // namespace
extern "C" {
@@ -74,16 +69,6 @@ void MojoGLES2SwapBuffers() {
g_gpu_interface.Get().Get()->SwapBuffers();
}
-void MojoGLES2SignalSyncPoint(
- MojoGLES2Context context,
- uint32_t sync_point,
- MojoGLES2SignalSyncPointCallback callback,
- void* closure) {
- DCHECK(context);
- static_cast<GLES2Context*>(context)->context_support()->SignalSyncPoint(
- sync_point, base::Bind(&RunSignalSyncCallback, callback, closure));
-}
-
void* MojoGLES2GetGLES2Interface(MojoGLES2Context context) {
return static_cast<GLES2Context*>(context)->interface();
}
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/public/c/gles2/gles2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698