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

Side by Side Diff: content/browser/compositor/reflector_impl.h

Issue 846063002: compositor: Fix texture flipping for SW mirroring with surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_
6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_
7 7
8 #include "base/id_map.h" 8 #include "base/id_map.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Must be accessed only on ImplThread, through GetImpl(). 126 // Must be accessed only on ImplThread, through GetImpl().
127 ImplThreadData impl_unsafe_; 127 ImplThreadData impl_unsafe_;
128 128
129 // Must be accessed only on MainThread, through GetMain(). 129 // Must be accessed only on MainThread, through GetMain().
130 MainThreadData main_unsafe_; 130 MainThreadData main_unsafe_;
131 131
132 // Can be accessed on both. 132 // Can be accessed on both.
133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; 133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_;
134 scoped_refptr<base::MessageLoopProxy> main_message_loop_; 134 scoped_refptr<base::MessageLoopProxy> main_message_loop_;
135 int surface_id_; 135 int surface_id_;
136 bool flip_texture_;
136 }; 137 };
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ 141 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698