| 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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 GLint internalformat, | 1012 GLint internalformat, |
| 1013 GLint xoffset, | 1013 GLint xoffset, |
| 1014 GLint yoffset, | 1014 GLint yoffset, |
| 1015 GLint zoffset, | 1015 GLint zoffset, |
| 1016 GLenum format, | 1016 GLenum format, |
| 1017 GLenum type, | 1017 GLenum type, |
| 1018 Image*, | 1018 Image*, |
| 1019 WebGLImageConversion::ImageHtmlDomSource, | 1019 WebGLImageConversion::ImageHtmlDomSource, |
| 1020 bool flipY, | 1020 bool flipY, |
| 1021 bool premultiplyAlpha, | 1021 bool premultiplyAlpha, |
| 1022 const IntRect&); | 1022 const IntRect&, |
| 1023 GLsizei depth, |
| 1024 GLint unpackImageHeight); |
| 1023 | 1025 |
| 1024 // Copy from the source directly to the texture via the gpu, without a | 1026 // Copy from the source directly to the texture via the gpu, without a |
| 1025 // read-back to system memory. Souce could be canvas or imageBitmap. | 1027 // read-back to system memory. Souce could be canvas or imageBitmap. |
| 1026 void texImageByGPU(TexImageByGPUType, | 1028 void texImageByGPU(TexImageByGPUType, |
| 1027 WebGLTexture*, | 1029 WebGLTexture*, |
| 1028 GLenum target, | 1030 GLenum target, |
| 1029 GLint level, | 1031 GLint level, |
| 1030 GLint internalformat, | 1032 GLint internalformat, |
| 1031 GLenum type, | 1033 GLenum type, |
| 1032 GLint xoffset, | 1034 GLint xoffset, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1483 GLenum, | 1485 GLenum, |
| 1484 GLint, | 1486 GLint, |
| 1485 GLint, | 1487 GLint, |
| 1486 GLenum, | 1488 GLenum, |
| 1487 GLenum, | 1489 GLenum, |
| 1488 GLint, | 1490 GLint, |
| 1489 GLint, | 1491 GLint, |
| 1490 GLint, | 1492 GLint, |
| 1491 HTMLImageElement*, | 1493 HTMLImageElement*, |
| 1492 const IntRect&, | 1494 const IntRect&, |
| 1495 GLsizei, |
| 1496 GLint, |
| 1493 ExceptionState&); | 1497 ExceptionState&); |
| 1494 void texImageHelperHTMLCanvasElement(TexImageFunctionID, | 1498 void texImageHelperHTMLCanvasElement(TexImageFunctionID, |
| 1495 GLenum, | 1499 GLenum, |
| 1496 GLint, | 1500 GLint, |
| 1497 GLint, | 1501 GLint, |
| 1498 GLenum, | 1502 GLenum, |
| 1499 GLenum, | 1503 GLenum, |
| 1500 GLint, | 1504 GLint, |
| 1501 GLint, | 1505 GLint, |
| 1502 GLint, | 1506 GLint, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1562 context, | 1566 context, |
| 1563 context->is3d(), | 1567 context->is3d(), |
| 1564 context.is3d()); | 1568 context.is3d()); |
| 1565 | 1569 |
| 1566 } // namespace blink | 1570 } // namespace blink |
| 1567 | 1571 |
| 1568 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1572 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1569 blink::WebGLRenderingContextBase::TextureUnitState); | 1573 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1570 | 1574 |
| 1571 #endif // WebGLRenderingContextBase_h | 1575 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |