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

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: types 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
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1ce3a2328bae611bfd75fd8d871b791be1a3650..bf695a7173abbdda556f81dece36149278c5794d 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -15,6 +15,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"
@@ -294,11 +295,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;
}
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698