OLD | NEW |
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 #include "cc/output/gl_renderer.h" | 5 #include "cc/output/gl_renderer.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "third_party/khronos/GLES2/gl2ext.h" | 45 #include "third_party/khronos/GLES2/gl2ext.h" |
46 #include "third_party/skia/include/core/SkBitmap.h" | 46 #include "third_party/skia/include/core/SkBitmap.h" |
47 #include "third_party/skia/include/core/SkColor.h" | 47 #include "third_party/skia/include/core/SkColor.h" |
48 #include "third_party/skia/include/core/SkColorFilter.h" | 48 #include "third_party/skia/include/core/SkColorFilter.h" |
49 #include "third_party/skia/include/core/SkSurface.h" | 49 #include "third_party/skia/include/core/SkSurface.h" |
50 #include "third_party/skia/include/gpu/GrContext.h" | 50 #include "third_party/skia/include/gpu/GrContext.h" |
51 #include "third_party/skia/include/gpu/GrTexture.h" | 51 #include "third_party/skia/include/gpu/GrTexture.h" |
52 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 52 #include "third_party/skia/include/gpu/SkGpuDevice.h" |
53 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" | 53 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" |
54 #include "third_party/skia/include/gpu/gl/GrGLInterface.h" | 54 #include "third_party/skia/include/gpu/gl/GrGLInterface.h" |
55 #include "ui/gfx/quad_f.h" | 55 #include "ui/gfx/geometry/quad_f.h" |
56 #include "ui/gfx/rect_conversions.h" | 56 #include "ui/gfx/rect_conversions.h" |
57 | 57 |
58 using gpu::gles2::GLES2Interface; | 58 using gpu::gles2::GLES2Interface; |
59 | 59 |
60 namespace cc { | 60 namespace cc { |
61 namespace { | 61 namespace { |
62 | 62 |
63 class FallbackFence : public ResourceProvider::Fence { | 63 class FallbackFence : public ResourceProvider::Fence { |
64 public: | 64 public: |
65 explicit FallbackFence(gpu::gles2::GLES2Interface* gl) | 65 explicit FallbackFence(gpu::gles2::GLES2Interface* gl) |
(...skipping 3139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3205 context_support_->ScheduleOverlayPlane( | 3205 context_support_->ScheduleOverlayPlane( |
3206 overlay.plane_z_order, | 3206 overlay.plane_z_order, |
3207 overlay.transform, | 3207 overlay.transform, |
3208 pending_overlay_resources_.back()->texture_id(), | 3208 pending_overlay_resources_.back()->texture_id(), |
3209 overlay.display_rect, | 3209 overlay.display_rect, |
3210 overlay.uv_rect); | 3210 overlay.uv_rect); |
3211 } | 3211 } |
3212 } | 3212 } |
3213 | 3213 |
3214 } // namespace cc | 3214 } // namespace cc |
OLD | NEW |