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

Side by Side Diff: cc/test/fake_output_surface.h

Issue 2403373002: cc: Clean up OutputSurfaceClient. (Closed)
Patch Set: osclient: rebase Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « cc/surfaces/display_scheduler_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_ 5 #ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_
6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_ 6 #define CC_TEST_FAKE_OUTPUT_SURFACE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 size_t num_sent_frames_ = 0; 118 size_t num_sent_frames_ = 0;
119 bool has_external_stencil_test_ = false; 119 bool has_external_stencil_test_ = false;
120 bool suspended_for_recycle_ = false; 120 bool suspended_for_recycle_ = false;
121 GLint framebuffer_ = 0; 121 GLint framebuffer_ = 0;
122 GLenum framebuffer_format_ = 0; 122 GLenum framebuffer_format_ = 0;
123 OverlayCandidateValidator* overlay_candidate_validator_ = nullptr; 123 OverlayCandidateValidator* overlay_candidate_validator_ = nullptr;
124 bool last_swap_rect_valid_ = false; 124 bool last_swap_rect_valid_ = false;
125 gfx::Rect last_swap_rect_; 125 gfx::Rect last_swap_rect_;
126 126
127 private: 127 private:
128 void SwapBuffersCallback(); 128 void SwapBuffersAck();
129 129
130 base::WeakPtrFactory<FakeOutputSurface> weak_ptr_factory_; 130 base::WeakPtrFactory<FakeOutputSurface> weak_ptr_factory_;
131 }; 131 };
132 132
133 } // namespace cc 133 } // namespace cc
134 134
135 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_ 135 #endif // CC_TEST_FAKE_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/surfaces/display_scheduler_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698