| OLD | NEW |
| 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCHeadsUpDisplayLayerImpl.h" | 7 #include "CCHeadsUpDisplayLayerImpl.h" |
| 8 | 8 |
| 9 #include "CCDebugRectHistory.h" | 9 #include "CCDebugRectHistory.h" |
| 10 #include "CCFontAtlas.h" | 10 #include "CCFontAtlas.h" |
| 11 #include "CCFrameRateCounter.h" | 11 #include "CCFrameRateCounter.h" |
| 12 #include "CCLayerTreeHostImpl.h" | 12 #include "CCLayerTreeHostImpl.h" |
| 13 #include "CCQuadSink.h" | 13 #include "CCQuadSink.h" |
| 14 #include "CCTextureDrawQuad.h" | |
| 15 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
| 15 #include "cc/texture_draw_quad.h" |
| 16 #include "skia/ext/platform_canvas.h" | 16 #include "skia/ext/platform_canvas.h" |
| 17 #include "skia/ext/platform_canvas.h" | 17 #include "skia/ext/platform_canvas.h" |
| 18 #include "third_party/khronos/GLES2/gl2.h" | 18 #include "third_party/khronos/GLES2/gl2.h" |
| 19 #include "third_party/khronos/GLES2/gl2ext.h" | 19 #include "third_party/khronos/GLES2/gl2ext.h" |
| 20 #include "third_party/skia/include/core/SkBitmap.h" | 20 #include "third_party/skia/include/core/SkBitmap.h" |
| 21 #include "third_party/skia/include/core/SkPaint.h" | 21 #include "third_party/skia/include/core/SkPaint.h" |
| 22 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 22 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
| 23 #include "ui/gfx/point.h" | 23 #include "ui/gfx/point.h" |
| 24 | 24 |
| 25 namespace cc { | 25 namespace cc { |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 canvas->drawRect(skRect, paint); | 288 canvas->drawRect(skRect, paint); |
| 289 } | 289 } |
| 290 } | 290 } |
| 291 | 291 |
| 292 const char* CCHeadsUpDisplayLayerImpl::layerTypeAsString() const | 292 const char* CCHeadsUpDisplayLayerImpl::layerTypeAsString() const |
| 293 { | 293 { |
| 294 return "HeadsUpDisplayLayer"; | 294 return "HeadsUpDisplayLayer"; |
| 295 } | 295 } |
| 296 | 296 |
| 297 } | 297 } |
| OLD | NEW |