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

Unified Diff: gpu/command_buffer/service/buffer_manager.h

Issue 16420008: Manual cherry pick of 204571 "Add workaround for Mali-400 zero-sized buffer bug." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 6 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 | « no previous file | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/buffer_manager.h
===================================================================
--- gpu/command_buffer/service/buffer_manager.h (revision 205634)
+++ gpu/command_buffer/service/buffer_manager.h (working copy)
@@ -219,9 +219,13 @@
return memory_tracker_->GetMemRepresented();
}
- // Tell's for a given usage if this would be a client side array.
+ // Tells for a given usage if this would be a client side array.
bool IsUsageClientSideArray(GLenum usage);
+ // Tells whether a buffer that is emulated using client-side arrays should be
+ // set to a non-zero size.
+ bool UseNonZeroSizeForClientSideArrayBuffer();
+
private:
friend class Buffer;
void StartTracking(Buffer* buffer);
« no previous file with comments | « no previous file | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698