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

Side by Side Diff: cc/layers/texture_layer.h

Issue 151093005: cc: Update Main RendererCapabilities on DeferredInitialize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Release Mailbox if UsingSharedMemoryResources changed in TextureLayer::Update Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/layers/texture_layer.cc » ('j') | cc/layers/texture_layer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_LAYERS_TEXTURE_LAYER_H_ 5 #ifndef CC_LAYERS_TEXTURE_LAYER_H_
6 #define CC_LAYERS_TEXTURE_LAYER_H_ 6 #define CC_LAYERS_TEXTURE_LAYER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // [bottom left, top left, top right, bottom right] 161 // [bottom left, top left, top right, bottom right]
162 float vertex_opacity_[4]; 162 float vertex_opacity_[4];
163 bool premultiplied_alpha_; 163 bool premultiplied_alpha_;
164 bool blend_background_color_; 164 bool blend_background_color_;
165 bool rate_limit_context_; 165 bool rate_limit_context_;
166 bool content_committed_; 166 bool content_committed_;
167 167
168 unsigned texture_id_; 168 unsigned texture_id_;
169 scoped_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_; 169 scoped_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_;
170 bool needs_set_mailbox_; 170 bool needs_set_mailbox_;
171 bool did_use_shared_memory_resources_;
171 172
172 DISALLOW_COPY_AND_ASSIGN(TextureLayer); 173 DISALLOW_COPY_AND_ASSIGN(TextureLayer);
173 }; 174 };
174 175
175 } // namespace cc 176 } // namespace cc
176 #endif // CC_LAYERS_TEXTURE_LAYER_H_ 177 #endif // CC_LAYERS_TEXTURE_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/texture_layer.cc » ('j') | cc/layers/texture_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698