summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gpu_scheduler.h
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 22:16:30 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 22:16:30 +0000
commita81c24c6c04e6f86dc3f2b902c69f4df4f8d614f (patch)
treef807f2bad720835274bf2ae6b9bcabd39665bf56 /gpu/command_buffer/service/gpu_scheduler.h
parent6930c52974a804f6462a546ffb46b0c14caa983b (diff)
downloadchromium_src-a81c24c6c04e6f86dc3f2b902c69f4df4f8d614f.zip
chromium_src-a81c24c6c04e6f86dc3f2b902c69f4df4f8d614f.tar.gz
chromium_src-a81c24c6c04e6f86dc3f2b902c69f4df4f8d614f.tar.bz2
Remove ReadWriteTokens from GpuVideoDecodeAccelerator + fallout
With apatrick's changes in r93066, we no longer need to manually sync up with the command buffer before handling IPC messages in GpuVideoDecodeAccelerator. BUG=none TEST=gles2 example runs without crashing Review URL: http://codereview.chromium.org/7521015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gpu_scheduler.h')
-rw-r--r--gpu/command_buffer/service/gpu_scheduler.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gpu/command_buffer/service/gpu_scheduler.h b/gpu/command_buffer/service/gpu_scheduler.h
index 4ff0f3d..75ccc63 100644
--- a/gpu/command_buffer/service/gpu_scheduler.h
+++ b/gpu/command_buffer/service/gpu_scheduler.h
@@ -143,11 +143,6 @@ class GpuScheduler : public CommandBufferEngine {
void SetCommandProcessedCallback(Callback0::Type* callback);
- // Sets a callback which is called when set_token() is called, and passes the
- // just-set token to the callback. DCHECKs that no callback has previously
- // been registered for this notification.
- void SetTokenCallback(const base::Callback<void(int32)>& callback);
-
// Get the GLES2Decoder associated with this scheduler.
gles2::GLES2Decoder* decoder() const { return decoder_.get(); }
@@ -183,7 +178,6 @@ class GpuScheduler : public CommandBufferEngine {
ScopedRunnableMethodFactory<GpuScheduler> method_factory_;
scoped_ptr<Callback0::Type> wrapped_swap_buffers_callback_;
scoped_ptr<Callback0::Type> command_processed_callback_;
- base::Callback<void(int32)> set_token_callback_;
};
} // namespace gpu