summaryrefslogtreecommitdiffstats
path: root/mojo/gles2/gles2_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/gles2/gles2_impl.cc')
-rw-r--r--mojo/gles2/gles2_impl.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/mojo/gles2/gles2_impl.cc b/mojo/gles2/gles2_impl.cc
index 70824c6..9a65a6d 100644
--- a/mojo/gles2/gles2_impl.cc
+++ b/mojo/gles2/gles2_impl.cc
@@ -17,11 +17,6 @@ namespace {
base::LazyInstance<base::ThreadLocalPointer<gpu::gles2::GLES2Interface> >::Leaky
g_gpu_interface;
-void RunSignalSyncCallback(MojoGLES2SignalSyncPointCallback callback,
- void* closure) {
- callback(closure);
-}
-
} // namespace
extern "C" {
@@ -57,16 +52,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();
}