#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "gpu/command_buffer/service/raster_decoder_unittest_base.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/functional/callback_helpers.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
#include "gpu/command_buffer/common/raster_cmd_format.h"
#include "gpu/command_buffer/common/shared_image_usage.h"
#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/context_state_test_helpers.h"
#include "gpu/command_buffer/service/copy_texture_chromium_mock.h"
#include "gpu/command_buffer/service/gpu_switches.h"
#include "gpu/command_buffer/service/logger.h"
#include "gpu/command_buffer/service/program_manager.h"
#include "gpu/command_buffer/service/service_utils.h"
#include "gpu/command_buffer/service/shared_context_state.h"
#include "gpu/command_buffer/service/shared_image/gl_texture_image_backing_factory.h"
#include "gpu/command_buffer/service/test_helper.h"
#include "gpu/command_buffer/service/vertex_attrib_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_mock.h"
#include "ui/gl/init/gl_factory.h"
#include "ui/gl/test/gl_surface_test_support.h"
MockGLInterface;
_;
AnyNumber;
AtMost;
Between;
InSequence;
Ne;
Pointee;
Return;
SetArgPointee;
StrictMock;
namespace gpu {
namespace raster {
RasterDecoderTestBase::InitState::InitState() = default;
RasterDecoderTestBase::InitState::~InitState() = default;
RasterDecoderTestBase::RasterDecoderTestBase()
: … { … }
RasterDecoderTestBase::~RasterDecoderTestBase() = default;
void RasterDecoderTestBase::OnConsoleMessage(int32_t id,
const std::string& message) { … }
void RasterDecoderTestBase::CacheBlob(gpu::GpuDiskCacheType type,
const std::string& key,
const std::string& blob) { … }
void RasterDecoderTestBase::OnFenceSyncRelease(uint64_t release) { … }
void RasterDecoderTestBase::OnDescheduleUntilFinished() { … }
void RasterDecoderTestBase::OnRescheduleAfterFinished() { … }
void RasterDecoderTestBase::OnSwapBuffers(uint64_t swap_id, uint32_t flags) { … }
bool RasterDecoderTestBase::ShouldYield() { … }
void RasterDecoderTestBase::SetUp() { … }
void RasterDecoderTestBase::AddExpectationsForGetCapabilities() { … }
void RasterDecoderTestBase::InitDecoder(const InitState& init) { … }
void RasterDecoderTestBase::ResetDecoder() { … }
void RasterDecoderTestBase::TearDown() { … }
GLint RasterDecoderTestBase::GetGLError() { … }
#ifndef COMPILER_MSVC
const size_t RasterDecoderTestBase::kSharedBufferSize;
const uint32_t RasterDecoderTestBase::kSharedMemoryOffset;
const int32_t RasterDecoderTestBase::kInvalidSharedMemoryId;
const uint32_t RasterDecoderTestBase::kInvalidSharedMemoryOffset;
const uint8_t RasterDecoderTestBase::kInitialMemoryValue;
const uint32_t RasterDecoderTestBase::kNewClientId;
#endif
}
}