| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2010 Mozilla Corporation. All rights reserved. | 4 * Copyright (C) 2010 Mozilla Corporation. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 | 29 |
| 30 #if USE(3D_GRAPHICS) | 30 #if USE(3D_GRAPHICS) |
| 31 | 31 |
| 32 #include "core/platform/graphics/GraphicsContext3D.h" | 32 #include "core/platform/graphics/GraphicsContext3D.h" |
| 33 #include "core/platform/graphics/cpu/arm/GraphicsContext3DNEON.h" | 33 #include "core/platform/graphics/cpu/arm/GraphicsContext3DNEON.h" |
| 34 | 34 |
| 35 #include "CheckedInt.h" | 35 #include "CheckedInt.h" |
| 36 #include "GraphicsContext3DPrivate.h" | |
| 37 #include "ImageData.h" | 36 #include "ImageData.h" |
| 38 #include "SkTypes.h" | 37 #include "SkTypes.h" |
| 38 #include "core/platform/chromium/support/GraphicsContext3DPrivate.h" |
| 39 #include "core/platform/graphics/Extensions3D.h" | 39 #include "core/platform/graphics/Extensions3D.h" |
| 40 #include "core/platform/graphics/Image.h" | 40 #include "core/platform/graphics/Image.h" |
| 41 #include "core/platform/graphics/ImageBuffer.h" | 41 #include "core/platform/graphics/ImageBuffer.h" |
| 42 #include "core/platform/graphics/ImageObserver.h" | 42 #include "core/platform/graphics/ImageObserver.h" |
| 43 #include "core/platform/graphics/gpu/DrawingBuffer.h" | 43 #include "core/platform/graphics/gpu/DrawingBuffer.h" |
| 44 #include "core/platform/image-decoders/ImageDecoder.h" | 44 #include "core/platform/image-decoders/ImageDecoder.h" |
| 45 | 45 |
| 46 #include <public/Platform.h> | 46 #include <public/Platform.h> |
| 47 #include <public/WebGraphicsContext3D.h> | 47 #include <public/WebGraphicsContext3D.h> |
| 48 #include <wtf/ArrayBufferView.h> | 48 #include <wtf/ArrayBufferView.h> |
| (...skipping 1972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2021 case GraphicsContext3D::DEPTH_STENCIL: | 2021 case GraphicsContext3D::DEPTH_STENCIL: |
| 2022 return ChannelDepth | ChannelStencil; | 2022 return ChannelDepth | ChannelStencil; |
| 2023 default: | 2023 default: |
| 2024 return 0; | 2024 return 0; |
| 2025 } | 2025 } |
| 2026 } | 2026 } |
| 2027 | 2027 |
| 2028 } // namespace WebCore | 2028 } // namespace WebCore |
| 2029 | 2029 |
| 2030 #endif // USE(3D_GRAPHICS) | 2030 #endif // USE(3D_GRAPHICS) |
| OLD | NEW |