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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.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 | « mojo/gles2/gles2_context.cc ('k') | ui/compositor/test/in_process_context_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 108b415feebfe0d893ec6f78ea431508317bfb37..af53bfb55c0bf19ec5f91acce0558dab855b41b4 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "gpu/command_buffer/client/gles2_cmd_helper.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
+#include "gpu/command_buffer/client/shared_memory_limits.h"
#include "gpu/command_buffer/client/transfer_buffer.h"
#include "gpu/command_buffer/common/sync_token.h"
#include "ppapi/c/pp_errors.h"
@@ -143,10 +144,9 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
GetGpuControl()));
if (!gles2_impl_->Initialize(
- transfer_buffer_size,
- kMinTransferBufferSize,
- std::max(kMaxTransferBufferSize, transfer_buffer_size),
- gpu::gles2::GLES2Implementation::kNoLimit)) {
+ transfer_buffer_size, kMinTransferBufferSize,
+ std::max(kMaxTransferBufferSize, transfer_buffer_size),
+ gpu::SharedMemoryLimits::kNoLimit)) {
return false;
}
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | ui/compositor/test/in_process_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698