#include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_compute_pass_encoder.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_set_return_value_for_core.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_bind_group.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_buffer.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_compute_pipeline.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_query_set.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_bind_group.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_buffer.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_compute_pass_encoder.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_compute_pipeline.h"
#include "third_party/blink/renderer/modules/webgpu/gpu_query_set.h"
#include "third_party/blink/renderer/platform/bindings/cooperative_scheduling_helpers.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/idl_member_installer.h"
#include "third_party/blink/renderer/platform/bindings/runtime_call_stats.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
namespace blink {
bool V8GPUComputePassEncoder::IsExposed(ExecutionContext* execution_context) { … }
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const WrapperTypeInfo V8GPUComputePassEncoder::wrapper_type_info_{ … };
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif
const WrapperTypeInfo& GPUComputePassEncoder::wrapper_type_info_ = …;
static_assert …;
namespace {
namespace v8_gpu_compute_pass_encoder {
void LabelAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void LabelAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void DispatchWorkgroupsOperationNoAllocDirectCallArg3(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_workgroup_count_x, uint32_t v8_arg2_workgroup_count_y, uint32_t v8_arg3_workgroup_count_z, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void DispatchWorkgroupsOperationNoAllocDirectCallArg2(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_workgroup_count_x, uint32_t v8_arg2_workgroup_count_y, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void DispatchWorkgroupsOperationNoAllocDirectCallArg1(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_workgroup_count_x, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void DispatchWorkgroupsOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void DispatchWorkgroupsIndirectOperationNoAllocDirectCallArg2(v8::Local<v8::Object> v8_arg0_receiver, v8::Local<v8::Value> v8_arg1_indirect_buffer, uint64_t v8_arg2_indirect_offset, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void DispatchWorkgroupsIndirectOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void EndOperationNoAllocDirectCallArg0(v8::Local<v8::Object> v8_arg0_receiver, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void EndOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void InsertDebugMarkerOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void PopDebugGroupOperationNoAllocDirectCallArg0(v8::Local<v8::Object> v8_arg0_receiver, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void PopDebugGroupOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void PushDebugGroupOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetBindGroupOperationNoAllocDirectCallOverload1Arg3(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_index, v8::Local<v8::Value> v8_arg2_bind_group, v8::Local<v8::Array> v8_arg3_dynamic_offsets, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void SetBindGroupOperationNoAllocDirectCallOverload1Arg2(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_index, v8::Local<v8::Value> v8_arg2_bind_group, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void SetBindGroupOperationNoAllocDirectCallOverload2Arg5(v8::Local<v8::Object> v8_arg0_receiver, uint32_t v8_arg1_index, v8::Local<v8::Value> v8_arg2_bind_group, v8::Local<v8::Value> v8_arg3_dynamic_offsets_data, uint64_t v8_arg4_dynamic_offsets_data_start, uint32_t v8_arg5_dynamic_offsets_data_length, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void SetBindGroupOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetBindGroupOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetBindGroupOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetPipelineOperationNoAllocDirectCallArg1(v8::Local<v8::Object> v8_arg0_receiver, v8::Local<v8::Value> v8_arg1_pipeline, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void SetPipelineOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void WriteTimestampOperationNoAllocDirectCallArg2(v8::Local<v8::Object> v8_arg0_receiver, v8::Local<v8::Value> v8_arg1_query_set, uint32_t v8_arg2_query_index, v8::FastApiCallbackOptions& v8_arg_callback_options) { … }
void WriteTimestampOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
}
usingnamespacev8_gpu_compute_pass_encoder;
}
void V8GPUComputePassEncoder::InstallInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> interface_template) { … }
void V8GPUComputePassEncoder::InstallUnconditionalProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
}