#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/modules/webgl/webgl_shader_pixel_local_storage.h"
#include <array>
#include "third_party/blink/renderer/bindings/modules/v8/webgl_any.h"
#include "third_party/blink/renderer/modules/webgl/webgl_framebuffer.h"
#include "third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h"
namespace blink {
bool WebGLShaderPixelLocalStorage::Supported(
WebGLRenderingContextBase* context) { … }
const char* WebGLShaderPixelLocalStorage::ExtensionName() { … }
WebGLShaderPixelLocalStorage::WebGLShaderPixelLocalStorage(
WebGLRenderingContextBase* context)
: … { … }
WebGLExtensionName WebGLShaderPixelLocalStorage::GetName() const { … }
GLboolean WebGLShaderPixelLocalStorage::isCoherent() const { … }
WebGLFramebuffer* WebGLShaderPixelLocalStorage::ValidatePLSFramebuffer(
WebGLRenderingContextBase* context,
const char* function_name) { … }
bool WebGLShaderPixelLocalStorage::ValidatePLSPlaneIndex(
WebGLRenderingContextBase* context,
const char* function_name,
GLint plane) { … }
bool WebGLShaderPixelLocalStorage::ValidatePLSClearCommand(
WebGLRenderingContextBase* context,
const char* function_name,
GLint plane,
size_t src_length,
GLuint src_offset) { … }
void WebGLShaderPixelLocalStorage::framebufferTexturePixelLocalStorageWEBGL(
GLint plane,
WebGLTexture* texture,
GLint level,
GLint layer) { … }
void WebGLShaderPixelLocalStorage::framebufferPixelLocalClearValuefvWEBGL(
GLint plane,
base::span<const GLfloat> value,
GLuint src_offset) { … }
void WebGLShaderPixelLocalStorage::framebufferPixelLocalClearValueivWEBGL(
GLint plane,
base::span<const GLint> value,
GLuint src_offset) { … }
void WebGLShaderPixelLocalStorage::framebufferPixelLocalClearValueuivWEBGL(
GLint plane,
base::span<const GLuint> value,
GLuint src_offset) { … }
void WebGLShaderPixelLocalStorage::beginPixelLocalStorageWEBGL(
const Vector<GLenum>& loadops) { … }
void WebGLShaderPixelLocalStorage::endPixelLocalStorageWEBGL(
const Vector<GLenum>& storeops) { … }
void WebGLShaderPixelLocalStorage::pixelLocalStorageBarrierWEBGL() { … }
ScriptValue
WebGLShaderPixelLocalStorage::getFramebufferPixelLocalStorageParameterWEBGL(
ScriptState* script_state,
GLint plane,
GLenum pname) { … }
}