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

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

Issue 1900993002: Move SharedMemoryLimits out of WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@limits
Patch Set: move-limits: rebase Created 4 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
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 a19718b4c35e8c5a0030314a4d2a6e6eeac3d857..0f76554503462334980d3fdfd9a14aab88e1ae4d 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -14,6 +14,7 @@
#include "base/lazy_instance.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "gpu/command_buffer/client/gles2_lib.h"
+#include "gpu/command_buffer/client/shared_memory_limits.h"
#include "gpu/command_buffer/client/transfer_buffer.h"
#include "gpu/command_buffer/common/value_state.h"
#include "gpu/command_buffer/service/context_group.h"
@@ -289,11 +290,9 @@ EGLContext Display::CreateContext(EGLConfig config,
support_client_side_arrays,
this));
- if (!context_->Initialize(
- kTransferBufferSize,
- kTransferBufferSize / 2,
- kTransferBufferSize * 2,
- gpu::gles2::GLES2Implementation::kNoLimit)) {
+ if (!context_->Initialize(kTransferBufferSize, kTransferBufferSize / 2,
+ kTransferBufferSize * 2,
+ gpu::SharedMemoryLimits::kNoLimit)) {
return EGL_NO_CONTEXT;
}

Powered by Google App Engine
This is Rietveld 408576698