#include "gpu/command_buffer/service/shared_image/shared_image_gl_utils.h"
#include "gpu/command_buffer/service/gl_utils.h"
#include "ui/gl/gl_gl_api_implementation.h"
#include "ui/gl/gl_version_info.h"
#include "ui/gl/scoped_restore_texture.h"
namespace gpu {
ScopedPackState::ScopedPackState(int pack_row_length, int pack_alignment)
: … { … }
ScopedPackState::~ScopedPackState() { … }
ScopedUnpackState::ScopedUnpackState(bool uploading_data,
int unpack_row_length,
int unpack_alignment)
: … { … }
ScopedUnpackState::~ScopedUnpackState() { … }
GLuint MakeTextureAndSetParameters(
GLenum target,
bool framebuffer_attachment_angle,
scoped_refptr<gles2::TexturePassthrough>* passthrough_texture,
raw_ptr<gles2::Texture>* texture) { … }
bool IsTexStorage2DAvailable() { … }
}