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

Side by Side Diff: ui/compositor/layer.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: header Created 6 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_COMPOSITOR_LAYER_H_ 5 #ifndef UI_COMPOSITOR_LAYER_H_
6 #define UI_COMPOSITOR_LAYER_H_ 6 #define UI_COMPOSITOR_LAYER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip); 331 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip);
332 332
333 // Requets a copy of the layer's output as a texture or bitmap. 333 // Requets a copy of the layer's output as a texture or bitmap.
334 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request); 334 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request);
335 335
336 // ContentLayerClient 336 // ContentLayerClient
337 void PaintContents( 337 void PaintContents(
338 SkCanvas* canvas, 338 SkCanvas* canvas,
339 const gfx::Rect& clip, 339 const gfx::Rect& clip,
340 ContentLayerClient::GraphicsContextStatus gc_status) override; 340 ContentLayerClient::GraphicsContextStatus gc_status) override;
341 void DidChangeLayerCanUseLCDText() override {}
342 bool FillsBoundsCompletely() const override; 341 bool FillsBoundsCompletely() const override;
343 342
344 cc::Layer* cc_layer() { return cc_layer_; } 343 cc::Layer* cc_layer() { return cc_layer_; }
345 344
346 // TextureLayerClient 345 // TextureLayerClient
347 bool PrepareTextureMailbox( 346 bool PrepareTextureMailbox(
348 cc::TextureMailbox* mailbox, 347 cc::TextureMailbox* mailbox,
349 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 348 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
350 bool use_shared_memory) override; 349 bool use_shared_memory) override;
351 350
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 // The size of the frame or texture in DIP, set when SetShowDelegatedContent 515 // The size of the frame or texture in DIP, set when SetShowDelegatedContent
517 // or SetTextureMailbox was called. 516 // or SetTextureMailbox was called.
518 gfx::Size frame_size_in_dip_; 517 gfx::Size frame_size_in_dip_;
519 518
520 DISALLOW_COPY_AND_ASSIGN(Layer); 519 DISALLOW_COPY_AND_ASSIGN(Layer);
521 }; 520 };
522 521
523 } // namespace ui 522 } // namespace ui
524 523
525 #endif // UI_COMPOSITOR_LAYER_H_ 524 #endif // UI_COMPOSITOR_LAYER_H_
OLDNEW
« cc/layers/picture_layer.cc ('K') | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698