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

Unified Diff: gpu/command_buffer/service/context_group_unittest.cc

Issue 2818993002: GL Implementation for GPU Discardable
Patch Set: rebase Created 3 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/service/context_group.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group_unittest.cc
diff --git a/gpu/command_buffer/service/context_group_unittest.cc b/gpu/command_buffer/service/context_group_unittest.cc
index 2bdcdfa38816fcf1ca3dee4c49cca13fc526f894..03326625bcf7b78707cfa54d524b160af3c72297 100644
--- a/gpu/command_buffer/service/context_group_unittest.cc
+++ b/gpu/command_buffer/service/context_group_unittest.cc
@@ -11,6 +11,7 @@
#include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
#include "gpu/command_buffer/service/gpu_service_test.h"
#include "gpu/command_buffer/service/mailbox_manager.h"
+#include "gpu/command_buffer/service/service_discardable_manager.h"
#include "gpu/command_buffer/service/test_helper.h"
#include "gpu/command_buffer/service/texture_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -42,9 +43,10 @@ class ContextGroupTest : public GpuServiceTest {
GpuServiceTest::SetUp();
decoder_.reset(new MockGLES2Decoder());
scoped_refptr<FeatureInfo> feature_info = new FeatureInfo;
- group_ = scoped_refptr<ContextGroup>(new ContextGroup(
- gpu_preferences_, NULL, NULL, NULL, NULL, feature_info,
- kBindGeneratesResource, nullptr, nullptr, GpuFeatureInfo()));
+ group_ = scoped_refptr<ContextGroup>(
+ new ContextGroup(gpu_preferences_, NULL, NULL, NULL, NULL, feature_info,
+ kBindGeneratesResource, nullptr, nullptr,
+ GpuFeatureInfo(), new ServiceDiscardableManager));
}
GpuPreferences gpu_preferences_;
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698