| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef WebGLGetBufferSubDataAsync_h | 5 #ifndef WebGLGetBufferSubDataAsync_h |
| 6 #define WebGLGetBufferSubDataAsync_h | 6 #define WebGLGetBufferSubDataAsync_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "core/dom/NotShared.h" | 9 #include "core/dom/ArrayBufferViewHelpers.h" |
| 10 #include "modules/webgl/WebGLExtension.h" | 10 #include "modules/webgl/WebGLExtension.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class WebGL2RenderingContextBase; | 14 class WebGL2RenderingContextBase; |
| 15 | 15 |
| 16 class WebGLGetBufferSubDataAsync final : public WebGLExtension { | 16 class WebGLGetBufferSubDataAsync final : public WebGLExtension { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 Member<DOMArrayBufferView> destination_array_buffer_view_; | 64 Member<DOMArrayBufferView> destination_array_buffer_view_; |
| 65 // Pointer into the offset into destinationArrayBufferView. | 65 // Pointer into the offset into destinationArrayBufferView. |
| 66 void* destination_data_ptr_; | 66 void* destination_data_ptr_; |
| 67 // Size in bytes of the copy operation being performed. | 67 // Size in bytes of the copy operation being performed. |
| 68 long long destination_byte_length_; | 68 long long destination_byte_length_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace blink | 71 } // namespace blink |
| 72 | 72 |
| 73 #endif // WebGLGetBufferSubDataAsync_h | 73 #endif // WebGLGetBufferSubDataAsync_h |
| OLD | NEW |