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

Unified Diff: cc/test/fake_output_surface.h

Issue 2009443002: Revert of Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « cc/test/failure_output_surface.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index a08bf454b2b78c49f16c3714ba332e9109798e5e..0374a7d447dd82a752603582338e9ecba0b5fa23 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -60,7 +60,7 @@
static std::unique_ptr<FakeOutputSurface>
Create3dWithResourcelessSoftwareSupport() {
return base::WrapUnique(new FakeOutputSurface(
- TestContextProvider::Create(), TestContextProvider::CreateWorker(),
+ TestContextProvider::Create(),
base::WrapUnique(new SoftwareOutputDevice), false));
}
@@ -98,9 +98,8 @@
static std::unique_ptr<FakeOutputSurface> CreateOffscreen(
std::unique_ptr<TestWebGraphicsContext3D> context) {
- std::unique_ptr<FakeOutputSurface> surface(
- new FakeOutputSurface(TestContextProvider::Create(std::move(context)),
- TestContextProvider::CreateWorker(), false));
+ std::unique_ptr<FakeOutputSurface> surface(new FakeOutputSurface(
+ TestContextProvider::Create(std::move(context)), false));
surface->capabilities_.uses_default_gl_framebuffer = false;
return surface;
}
@@ -153,6 +152,10 @@
}
protected:
+ FakeOutputSurface(
+ scoped_refptr<ContextProvider> context_provider,
+ bool delegated_rendering);
+
FakeOutputSurface(scoped_refptr<ContextProvider> context_provider,
scoped_refptr<ContextProvider> worker_context_provider,
bool delegated_rendering);
@@ -161,7 +164,6 @@
bool delegated_rendering);
FakeOutputSurface(scoped_refptr<ContextProvider> context_provider,
- scoped_refptr<ContextProvider> worker_context_provider,
std::unique_ptr<SoftwareOutputDevice> software_device,
bool delegated_rendering);
« no previous file with comments | « cc/test/failure_output_surface.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698