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

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

Issue 7575005: Fix OpenGL ES 2.0 Conformance tests support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | 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 6485e33ff508a8fe3ab3f6428175b559e35a7d11..7baa94ed0d58ce188c7acb214cb07330da0c7999 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -7,6 +7,7 @@
#include <vector>
#include "gpu/command_buffer/client/gles2_lib.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
+#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/command_buffer/service/gpu_scheduler.h"
#include "gpu/GLES2/gles2_command_buffer.h"
@@ -108,10 +109,11 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
using gpu::GpuScheduler;
std::vector<int32> attribs;
+ gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup());
scoped_ptr<GpuScheduler> gpu_scheduler(
GpuScheduler::Create(command_buffer_.get(),
NULL,
- NULL));
+ group.get()));
if (!gpu_scheduler->Initialize(
win, gfx::Size(), false, gpu::gles2::DisallowedExtensions(), NULL,
attribs, NULL))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698