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

Unified Diff: cc/test/fake_output_surface.cc

Issue 376683004: Pass resourceless software mode in BeginFrameArgs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment, clang-format Created 6 years, 5 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: cc/test/fake_output_surface.cc
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index 3346b562d97b6f9d1be8a240ecc073a4482e086e..9c027eae60e99a14983618d636bbb3dbe7e6981f 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -21,7 +21,6 @@ FakeOutputSurface::FakeOutputSurface(
client_(NULL),
num_sent_frames_(0),
needs_begin_frame_(false),
- forced_draw_to_software_device_(false),
has_external_stencil_test_(false),
fake_weak_ptr_factory_(this) {
if (delegated_rendering) {
@@ -36,7 +35,6 @@ FakeOutputSurface::FakeOutputSurface(
: OutputSurface(software_device.Pass()),
client_(NULL),
num_sent_frames_(0),
- forced_draw_to_software_device_(false),
has_external_stencil_test_(false),
fake_weak_ptr_factory_(this) {
if (delegated_rendering) {
@@ -52,7 +50,6 @@ FakeOutputSurface::FakeOutputSurface(
: OutputSurface(context_provider, software_device.Pass()),
client_(NULL),
num_sent_frames_(0),
- forced_draw_to_software_device_(false),
has_external_stencil_test_(false),
fake_weak_ptr_factory_(this) {
if (delegated_rendering) {
@@ -103,10 +100,6 @@ void FakeOutputSurface::OnBeginFrame() {
}
-bool FakeOutputSurface::ForcedDrawToSoftwareDevice() const {
- return forced_draw_to_software_device_;
-}
-
bool FakeOutputSurface::BindToClient(OutputSurfaceClient* client) {
if (OutputSurface::BindToClient(client)) {
client_ = client;

Powered by Google App Engine
This is Rietveld 408576698