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

Unified Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 684203003: Update GrTRecorder to preserve memory allocations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | src/gpu/GrTRecorder.h » ('j') | src/gpu/GrTRecorder.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrInOrderDrawBuffer.h
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h
index e86a5288d4f80ad4e2a633e1b26be190c46f6892..61bd51331b126207f58c73502fdbf90ce94449cd 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -301,7 +301,7 @@ private:
// TODO: Use a single allocator for commands and records
enum {
- kCmdBufferInitialSizeInBytes = 64 * 1024,
+ kCmdBufferInitialSizeInBytes = 8 * 1024,
Chris Dalton 2014/11/07 19:38:47 This was arbitrary. The idea is that, since GrTRec
bsalomon 2014/11/07 20:06:42 makes sense to me
kGeoPoolStatePreAllocCnt = 4,
};
« no previous file with comments | « no previous file | src/gpu/GrTRecorder.h » ('j') | src/gpu/GrTRecorder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698