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

Side by Side Diff: cc/texture_layer_impl.cc

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #include "cc/texture_layer_impl.h" 5 #include "cc/texture_layer_impl.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "cc/quad_sink.h" 8 #include "cc/quad_sink.h"
9 #include "cc/renderer.h" 9 #include "cc/renderer.h"
10 #include "cc/texture_draw_quad.h" 10 #include "cc/texture_draw_quad.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 m_externalTextureResource = 0; 60 m_externalTextureResource = 0;
61 } 61 }
62 62
63 void TextureLayerImpl::dumpLayerProperties(std::string* str, int indent) const 63 void TextureLayerImpl::dumpLayerProperties(std::string* str, int indent) const
64 { 64 {
65 str->append(indentString(indent)); 65 str->append(indentString(indent));
66 base::StringAppendF(str, "texture layer texture id: %u premultiplied: %d\n", m_textureId, m_premultipliedAlpha); 66 base::StringAppendF(str, "texture layer texture id: %u premultiplied: %d\n", m_textureId, m_premultipliedAlpha);
67 LayerImpl::dumpLayerProperties(str, indent); 67 LayerImpl::dumpLayerProperties(str, indent);
68 } 68 }
69 69
70 void TextureLayerImpl::didLoseContext() 70 void TextureLayerImpl::didLoseOutputSurface()
71 { 71 {
72 m_textureId = 0; 72 m_textureId = 0;
73 m_externalTextureResource = 0; 73 m_externalTextureResource = 0;
74 } 74 }
75 75
76 const char* TextureLayerImpl::layerTypeAsString() const 76 const char* TextureLayerImpl::layerTypeAsString() const
77 { 77 {
78 return "TextureLayer"; 78 return "TextureLayer";
79 } 79 }
80 80
81 } // namespace cc 81 } // namespace cc
OLDNEW
« cc/layer_tree_host.cc ('K') | « cc/texture_layer_impl.h ('k') | cc/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698