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

Unified Diff: gpu/command_buffer/common/discardable_handle.h

Issue 2751633002: ClientDiscardableManager Implementation
Patch Set: AllocationSize cleanup Created 3 years, 8 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 | « gpu/command_buffer/client/client_discardable_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/discardable_handle.h
diff --git a/gpu/command_buffer/common/discardable_handle.h b/gpu/command_buffer/common/discardable_handle.h
index a3b17691da9a2d6b5d6893660856d2b36a1bfab2..020bf3025ed11fdc82d6bbf6ea2910db970e688a 100644
--- a/gpu/command_buffer/common/discardable_handle.h
+++ b/gpu/command_buffer/common/discardable_handle.h
@@ -39,6 +39,7 @@ class GPU_EXPORT DiscardableHandleBase {
// Test only functions.
bool IsLockedForTesting();
bool IsDeletedForTesting();
+ scoped_refptr<Buffer> BufferForTesting() const { return buffer_; }
protected:
DiscardableHandleBase(scoped_refptr<Buffer> buffer,
« no previous file with comments | « gpu/command_buffer/client/client_discardable_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698