Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h

Issue 2815793002: [SharedArrayBuffer] Add "AllowShared" extended attribute, used for WebGL (Closed)
Patch Set: merge HEAD Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698