Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: gpu/command_buffer/tests/

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/command_buffer/tests/
--- gpu/command_buffer/tests/ (revision 133928)
+++ gpu/command_buffer/tests/ (working copy)
@@ -2,16 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
+#include "gpu/command_buffer/service/mailbox_manager.h"
#include "gpu/command_buffer/tests/gl_manager.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/gfx/gl/gl_share_group.h"
namespace gpu {
class GLTest : public testing::Test {
+ GLTest() : gl_(new gles2::MailboxManager, new gfx::GLShareGroup) {
+ }
virtual void SetUp() {
gl_.Initialize(gfx::Size(4, 4));

Powered by Google App Engine
This is Rietveld 408576698