/* * Copyright (c) 2024, Jelle Raaijmakers * Copyright (c) 2024, Aliaksandr Kalenik * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLUniformLocation); GC::Ptr WebGLUniformLocation::create(JS::Realm& realm, GLuint handle) { return realm.heap().allocate(realm, handle); } WebGLUniformLocation::WebGLUniformLocation(JS::Realm& realm, GLuint handle) : WebGLObject(realm, handle) { } WebGLUniformLocation::~WebGLUniformLocation() = default; }