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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.cc

Issue 23130004: Enforce a memory limit on MappedMemoryManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert FencedAllocator::InUse changes and add comments explaining its behavior 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: ppapi/shared_impl/ppb_graphics_3d_shared.cc
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
index 948905dfeed9253627c796751ec658299f92a2ea..7e0da59f446f19b0b4cd4751bd8791551f69cdce 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -135,7 +135,8 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
if (!gles2_impl_->Initialize(
transfer_buffer_size,
kMinTransferBufferSize,
- std::max(kMaxTransferBufferSize, transfer_buffer_size))) {
+ std::max(kMaxTransferBufferSize, transfer_buffer_size),
+ GLES2Implementation::kNoLimit)) {
return false;
}
« gpu/command_buffer/client/mapped_memory.h ('K') | « gpu/gles2_conform_support/egl/display.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698