GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / cc / resources / release_callback_impl.h
blob89f22b66976a8381e77f16211895d5311e3fd12f
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_
6 #define CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_
8 #include "base/callback.h"
10 namespace cc {
11 class BlockingTaskRunner;
13 typedef base::Callback<void(uint32 sync_point,
14 bool is_lost,
15 BlockingTaskRunner* main_thread_task_runner)>
16 ReleaseCallbackImpl;
18 } // namespace cc
20 #endif // CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_