Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1648 HTMLCanvasElement*, | 1648 HTMLCanvasElement*, |
| 1649 GLuint, | 1649 GLuint, |
| 1650 GLenum, | 1650 GLenum, |
| 1651 GLenum, | 1651 GLenum, |
| 1652 GLint, | 1652 GLint, |
| 1653 GLint, | 1653 GLint, |
| 1654 GLint, | 1654 GLint, |
| 1655 const IntRect& sourceSubRectangle); | 1655 const IntRect& sourceSubRectangle); |
| 1656 void texImageBitmapByGPU(ImageBitmap*, GLuint, GLenum, GLenum, GLint, bool); | 1656 void texImageBitmapByGPU(ImageBitmap*, GLuint, GLenum, GLenum, GLint, bool); |
| 1657 | 1657 |
| 1658 sk_sp<SkImage> makeImageSnapshotCopy(SkImageInfo&); | |
|
Justin Novosad
2017/01/11 21:40:04
I think the "Copy" part of the name is not necessa
xlai (Olivia)
2017/01/12 20:04:47
Done.
| |
| 1658 const unsigned m_version; | 1659 const unsigned m_version; |
| 1659 | 1660 |
| 1660 bool isPaintable() const final { return drawingBuffer(); } | 1661 bool isPaintable() const final { return drawingBuffer(); } |
| 1661 }; | 1662 }; |
| 1662 | 1663 |
| 1663 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, | 1664 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, |
| 1664 CanvasRenderingContext, | 1665 CanvasRenderingContext, |
| 1665 context, | 1666 context, |
| 1666 context->is3d(), | 1667 context->is3d(), |
| 1667 context.is3d()); | 1668 context.is3d()); |
| 1668 | 1669 |
| 1669 } // namespace blink | 1670 } // namespace blink |
| 1670 | 1671 |
| 1671 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1672 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1672 blink::WebGLRenderingContextBase::TextureUnitState); | 1673 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1673 | 1674 |
| 1674 #endif // WebGLRenderingContextBase_h | 1675 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |