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

Unified Diff: gpu/gles2_conform_support/egl/display.cc

Issue 23130004: Enforce a memory limit on MappedMemoryManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set chunk size Created 7 years, 4 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
Index: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index 66934bb90101b261b8d14f47d9c13dd360da9f88..90a657c7e87e543d3a37e6933933fde83694eb03 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -234,7 +234,8 @@ EGLContext Display::CreateContext(EGLConfig config,
if (!context_->Initialize(
kTransferBufferSize,
kTransferBufferSize / 2,
- kTransferBufferSize * 2)) {
+ kTransferBufferSize * 2,
+ GLES2Implementation::kNoLimit)) {
return EGL_NO_CONTEXT;
}

Powered by Google App Engine
This is Rietveld 408576698