#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "gpu/command_buffer/client/share_group.h"
#include <stdint.h>
#include <memory>
#include <vector>
#include "base/containers/stack.h"
#include "base/logging.h"
#include "base/synchronization/lock.h"
#include "gpu/command_buffer/client/gles2_cmd_helper.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "gpu/command_buffer/client/program_info_manager.h"
#include "gpu/command_buffer/common/id_allocator.h"
namespace gpu {
namespace gles2 {
ShareGroupContextData::IdHandlerData::IdHandlerData() : … { … }
ShareGroupContextData::IdHandlerData::~IdHandlerData() = default;
static_assert …;
class IdHandler : public IdHandlerInterface { … };
class StrictIdHandler : public IdHandlerInterface { … };
class NonReusedIdHandler : public IdHandlerInterface { … };
class RangeIdHandler : public RangeIdHandlerInterface { … };
ShareGroup::ShareGroup(bool bind_generates_resource, uint64_t tracing_guid)
: … { … }
void ShareGroup::Lose() { … }
bool ShareGroup::IsLost() const { … }
void ShareGroup::SetProgramInfoManagerForTesting(ProgramInfoManager* manager) { … }
ShareGroup::~ShareGroup() = default;
}
}