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

Side by Side Diff: gpu/command_buffer/client/context_support.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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
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 GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/overlay_transform.h" 10 #include "ui/gfx/overlay_transform.h"
10 #include "ui/gfx/rect.h"
11 11
12 namespace gpu { 12 namespace gpu {
13 13
14 class ContextSupport { 14 class ContextSupport {
15 public: 15 public:
16 // Runs |callback| when a sync point is reached. 16 // Runs |callback| when a sync point is reached.
17 virtual void SignalSyncPoint(uint32 sync_point, 17 virtual void SignalSyncPoint(uint32 sync_point,
18 const base::Closure& callback) = 0; 18 const base::Closure& callback) = 0;
19 19
20 // Runs |callback| when a query created via glCreateQueryEXT() has cleared 20 // Runs |callback| when a query created via glCreateQueryEXT() has cleared
(...skipping 20 matching lines...) Expand all
41 virtual void RetireSyncPointCHROMIUM(uint32 sync_point) = 0; 41 virtual void RetireSyncPointCHROMIUM(uint32 sync_point) = 0;
42 42
43 protected: 43 protected:
44 ContextSupport() {} 44 ContextSupport() {}
45 virtual ~ContextSupport() {} 45 virtual ~ContextSupport() {}
46 }; 46 };
47 47
48 } 48 }
49 49
50 #endif // GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_ 50 #endif // GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
OLDNEW
« no previous file with comments | « extensions/components/native_app_window/native_app_window_views.h ('k') | media/base/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698