| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // DrawingBuffer. | 194 // DrawingBuffer. |
| 195 PassRefPtr<StaticBitmapImage> transferToStaticBitmapImage(); | 195 PassRefPtr<StaticBitmapImage> transferToStaticBitmapImage(); |
| 196 | 196 |
| 197 bool copyToPlatformTexture(gpu::gles2::GLES2Interface*, | 197 bool copyToPlatformTexture(gpu::gles2::GLES2Interface*, |
| 198 GLuint texture, | 198 GLuint texture, |
| 199 GLenum internalFormat, | 199 GLenum internalFormat, |
| 200 GLenum destType, | 200 GLenum destType, |
| 201 GLint level, | 201 GLint level, |
| 202 bool premultiplyAlpha, | 202 bool premultiplyAlpha, |
| 203 bool flipY, | 203 bool flipY, |
| 204 const IntPoint& destTextureOffset, |
| 205 const IntRect& sourceSubRectangle, |
| 204 SourceDrawingBuffer); | 206 SourceDrawingBuffer); |
| 205 | 207 |
| 206 bool paintRenderingResultsToImageData(int&, | 208 bool paintRenderingResultsToImageData(int&, |
| 207 int&, | 209 int&, |
| 208 SourceDrawingBuffer, | 210 SourceDrawingBuffer, |
| 209 WTF::ArrayBufferContents&); | 211 WTF::ArrayBufferContents&); |
| 210 | 212 |
| 211 int sampleCount() const { return m_sampleCount; } | 213 int sampleCount() const { return m_sampleCount; } |
| 212 bool explicitResolveOfMultisampleData() const { | 214 bool explicitResolveOfMultisampleData() const { |
| 213 return m_antiAliasingMode == MSAAExplicitResolve; | 215 return m_antiAliasingMode == MSAAExplicitResolve; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 // RuntimeEnabledFeatures::webGLImageChromiumEnabled() call with | 514 // RuntimeEnabledFeatures::webGLImageChromiumEnabled() call with |
| 513 // shouldUseChromiumImage() calls, and set m_chromiumImageUsage to | 515 // shouldUseChromiumImage() calls, and set m_chromiumImageUsage to |
| 514 // DisallowChromiumImage in the case of OffscreenCanvas. | 516 // DisallowChromiumImage in the case of OffscreenCanvas. |
| 515 ChromiumImageUsage m_chromiumImageUsage; | 517 ChromiumImageUsage m_chromiumImageUsage; |
| 516 bool shouldUseChromiumImage(); | 518 bool shouldUseChromiumImage(); |
| 517 }; | 519 }; |
| 518 | 520 |
| 519 } // namespace blink | 521 } // namespace blink |
| 520 | 522 |
| 521 #endif // DrawingBuffer_h | 523 #endif // DrawingBuffer_h |
| OLD | NEW |