mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
ddb90bc78f
Use google protocol buffer to handle our package in LayerScope. Note: LayerScopePacket.pb.h and LayerScopePacket.pb.cc were generated by version 2.4.1.
1232 lines
36 KiB
C++
1232 lines
36 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
#include "LayerScopePacket.pb.h"
|
|
|
|
#include <algorithm>
|
|
|
|
#include <google/protobuf/stubs/once.h>
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
namespace mozilla {
|
|
namespace layers {
|
|
namespace layerscope {
|
|
|
|
void protobuf_ShutdownFile_LayerScopePacket_2eproto() {
|
|
delete FramePacket::default_instance_;
|
|
delete ColorPacket::default_instance_;
|
|
delete TexturePacket::default_instance_;
|
|
delete Packet::default_instance_;
|
|
}
|
|
|
|
void protobuf_AddDesc_LayerScopePacket_2eproto() {
|
|
static bool already_here = false;
|
|
if (already_here) return;
|
|
already_here = true;
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
FramePacket::default_instance_ = new FramePacket();
|
|
ColorPacket::default_instance_ = new ColorPacket();
|
|
TexturePacket::default_instance_ = new TexturePacket();
|
|
Packet::default_instance_ = new Packet();
|
|
FramePacket::default_instance_->InitAsDefaultInstance();
|
|
ColorPacket::default_instance_->InitAsDefaultInstance();
|
|
TexturePacket::default_instance_->InitAsDefaultInstance();
|
|
Packet::default_instance_->InitAsDefaultInstance();
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_LayerScopePacket_2eproto);
|
|
}
|
|
|
|
// Force AddDescriptors() to be called at static initialization time.
|
|
struct StaticDescriptorInitializer_LayerScopePacket_2eproto {
|
|
StaticDescriptorInitializer_LayerScopePacket_2eproto() {
|
|
protobuf_AddDesc_LayerScopePacket_2eproto();
|
|
}
|
|
} static_descriptor_initializer_LayerScopePacket_2eproto_;
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int FramePacket::kValueFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
FramePacket::FramePacket()
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
}
|
|
|
|
void FramePacket::InitAsDefaultInstance() {
|
|
}
|
|
|
|
FramePacket::FramePacket(const FramePacket& from)
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void FramePacket::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
value_ = GOOGLE_ULONGLONG(0);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
FramePacket::~FramePacket() {
|
|
SharedDtor();
|
|
}
|
|
|
|
void FramePacket::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void FramePacket::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const FramePacket& FramePacket::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_LayerScopePacket_2eproto(); return *default_instance_;
|
|
}
|
|
|
|
FramePacket* FramePacket::default_instance_ = NULL;
|
|
|
|
FramePacket* FramePacket::New() const {
|
|
return new FramePacket;
|
|
}
|
|
|
|
void FramePacket::Clear() {
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
value_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
bool FramePacket::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
|
::google::protobuf::uint32 tag;
|
|
while ((tag = input->ReadTag()) != 0) {
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// optional uint64 value = 1;
|
|
case 1: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
input, &value_)));
|
|
set_has_value();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectAtEnd()) return true;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_uninterpreted:
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
return true;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
#undef DO_
|
|
}
|
|
|
|
void FramePacket::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// optional uint64 value = 1;
|
|
if (has_value()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->value(), output);
|
|
}
|
|
|
|
}
|
|
|
|
int FramePacket::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// optional uint64 value = 1;
|
|
if (has_value()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->value());
|
|
}
|
|
|
|
}
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = total_size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
return total_size;
|
|
}
|
|
|
|
void FramePacket::CheckTypeAndMergeFrom(
|
|
const ::google::protobuf::MessageLite& from) {
|
|
MergeFrom(*::google::protobuf::down_cast<const FramePacket*>(&from));
|
|
}
|
|
|
|
void FramePacket::MergeFrom(const FramePacket& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_value()) {
|
|
set_value(from.value());
|
|
}
|
|
}
|
|
}
|
|
|
|
void FramePacket::CopyFrom(const FramePacket& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool FramePacket::IsInitialized() const {
|
|
|
|
return true;
|
|
}
|
|
|
|
void FramePacket::Swap(FramePacket* other) {
|
|
if (other != this) {
|
|
std::swap(value_, other->value_);
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]);
|
|
std::swap(_cached_size_, other->_cached_size_);
|
|
}
|
|
}
|
|
|
|
::std::string FramePacket::GetTypeName() const {
|
|
return "mozilla.layers.layerscope.FramePacket";
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int ColorPacket::kLayerrefFieldNumber;
|
|
const int ColorPacket::kWidthFieldNumber;
|
|
const int ColorPacket::kHeightFieldNumber;
|
|
const int ColorPacket::kColorFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
ColorPacket::ColorPacket()
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
}
|
|
|
|
void ColorPacket::InitAsDefaultInstance() {
|
|
}
|
|
|
|
ColorPacket::ColorPacket(const ColorPacket& from)
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void ColorPacket::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
layerref_ = GOOGLE_ULONGLONG(0);
|
|
width_ = 0u;
|
|
height_ = 0u;
|
|
color_ = 0u;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
ColorPacket::~ColorPacket() {
|
|
SharedDtor();
|
|
}
|
|
|
|
void ColorPacket::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void ColorPacket::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const ColorPacket& ColorPacket::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_LayerScopePacket_2eproto(); return *default_instance_;
|
|
}
|
|
|
|
ColorPacket* ColorPacket::default_instance_ = NULL;
|
|
|
|
ColorPacket* ColorPacket::New() const {
|
|
return new ColorPacket;
|
|
}
|
|
|
|
void ColorPacket::Clear() {
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
layerref_ = GOOGLE_ULONGLONG(0);
|
|
width_ = 0u;
|
|
height_ = 0u;
|
|
color_ = 0u;
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
bool ColorPacket::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
|
::google::protobuf::uint32 tag;
|
|
while ((tag = input->ReadTag()) != 0) {
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required uint64 layerref = 1;
|
|
case 1: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
input, &layerref_)));
|
|
set_has_layerref();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_width;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
case 2: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_width:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &width_)));
|
|
set_has_width();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(24)) goto parse_height;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
case 3: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_height:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &height_)));
|
|
set_has_height();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_color;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 color = 4;
|
|
case 4: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_color:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &color_)));
|
|
set_has_color();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectAtEnd()) return true;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_uninterpreted:
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
return true;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
#undef DO_
|
|
}
|
|
|
|
void ColorPacket::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// required uint64 layerref = 1;
|
|
if (has_layerref()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->layerref(), output);
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
if (has_width()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->width(), output);
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
if (has_height()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->height(), output);
|
|
}
|
|
|
|
// optional uint32 color = 4;
|
|
if (has_color()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->color(), output);
|
|
}
|
|
|
|
}
|
|
|
|
int ColorPacket::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required uint64 layerref = 1;
|
|
if (has_layerref()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->layerref());
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
if (has_width()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->width());
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
if (has_height()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->height());
|
|
}
|
|
|
|
// optional uint32 color = 4;
|
|
if (has_color()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->color());
|
|
}
|
|
|
|
}
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = total_size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
return total_size;
|
|
}
|
|
|
|
void ColorPacket::CheckTypeAndMergeFrom(
|
|
const ::google::protobuf::MessageLite& from) {
|
|
MergeFrom(*::google::protobuf::down_cast<const ColorPacket*>(&from));
|
|
}
|
|
|
|
void ColorPacket::MergeFrom(const ColorPacket& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_layerref()) {
|
|
set_layerref(from.layerref());
|
|
}
|
|
if (from.has_width()) {
|
|
set_width(from.width());
|
|
}
|
|
if (from.has_height()) {
|
|
set_height(from.height());
|
|
}
|
|
if (from.has_color()) {
|
|
set_color(from.color());
|
|
}
|
|
}
|
|
}
|
|
|
|
void ColorPacket::CopyFrom(const ColorPacket& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool ColorPacket::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void ColorPacket::Swap(ColorPacket* other) {
|
|
if (other != this) {
|
|
std::swap(layerref_, other->layerref_);
|
|
std::swap(width_, other->width_);
|
|
std::swap(height_, other->height_);
|
|
std::swap(color_, other->color_);
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]);
|
|
std::swap(_cached_size_, other->_cached_size_);
|
|
}
|
|
}
|
|
|
|
::std::string ColorPacket::GetTypeName() const {
|
|
return "mozilla.layers.layerscope.ColorPacket";
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifndef _MSC_VER
|
|
const int TexturePacket::kLayerrefFieldNumber;
|
|
const int TexturePacket::kWidthFieldNumber;
|
|
const int TexturePacket::kHeightFieldNumber;
|
|
const int TexturePacket::kStrideFieldNumber;
|
|
const int TexturePacket::kNameFieldNumber;
|
|
const int TexturePacket::kTargetFieldNumber;
|
|
const int TexturePacket::kDataformatFieldNumber;
|
|
const int TexturePacket::kGlcontextFieldNumber;
|
|
const int TexturePacket::kDataFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
TexturePacket::TexturePacket()
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
}
|
|
|
|
void TexturePacket::InitAsDefaultInstance() {
|
|
}
|
|
|
|
TexturePacket::TexturePacket(const TexturePacket& from)
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void TexturePacket::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
layerref_ = GOOGLE_ULONGLONG(0);
|
|
width_ = 0u;
|
|
height_ = 0u;
|
|
stride_ = 0u;
|
|
name_ = 0u;
|
|
target_ = 0u;
|
|
dataformat_ = 0u;
|
|
glcontext_ = GOOGLE_ULONGLONG(0);
|
|
data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
TexturePacket::~TexturePacket() {
|
|
SharedDtor();
|
|
}
|
|
|
|
void TexturePacket::SharedDtor() {
|
|
if (data_ != &::google::protobuf::internal::kEmptyString) {
|
|
delete data_;
|
|
}
|
|
if (this != default_instance_) {
|
|
}
|
|
}
|
|
|
|
void TexturePacket::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const TexturePacket& TexturePacket::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_LayerScopePacket_2eproto(); return *default_instance_;
|
|
}
|
|
|
|
TexturePacket* TexturePacket::default_instance_ = NULL;
|
|
|
|
TexturePacket* TexturePacket::New() const {
|
|
return new TexturePacket;
|
|
}
|
|
|
|
void TexturePacket::Clear() {
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
layerref_ = GOOGLE_ULONGLONG(0);
|
|
width_ = 0u;
|
|
height_ = 0u;
|
|
stride_ = 0u;
|
|
name_ = 0u;
|
|
target_ = 0u;
|
|
dataformat_ = 0u;
|
|
glcontext_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (has_data()) {
|
|
if (data_ != &::google::protobuf::internal::kEmptyString) {
|
|
data_->clear();
|
|
}
|
|
}
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
bool TexturePacket::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
|
::google::protobuf::uint32 tag;
|
|
while ((tag = input->ReadTag()) != 0) {
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required uint64 layerref = 1;
|
|
case 1: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
input, &layerref_)));
|
|
set_has_layerref();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(16)) goto parse_width;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
case 2: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_width:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &width_)));
|
|
set_has_width();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(24)) goto parse_height;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
case 3: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_height:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &height_)));
|
|
set_has_height();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(32)) goto parse_stride;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 stride = 4;
|
|
case 4: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_stride:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &stride_)));
|
|
set_has_stride();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(40)) goto parse_name;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 name = 5;
|
|
case 5: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_name:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &name_)));
|
|
set_has_name();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(48)) goto parse_target;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 target = 6;
|
|
case 6: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_target:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &target_)));
|
|
set_has_target();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(56)) goto parse_dataformat;
|
|
break;
|
|
}
|
|
|
|
// optional uint32 dataformat = 7;
|
|
case 7: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_dataformat:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
|
|
input, &dataformat_)));
|
|
set_has_dataformat();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(64)) goto parse_glcontext;
|
|
break;
|
|
}
|
|
|
|
// optional uint64 glcontext = 8;
|
|
case 8: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
parse_glcontext:
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
|
|
input, &glcontext_)));
|
|
set_has_glcontext();
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(74)) goto parse_data;
|
|
break;
|
|
}
|
|
|
|
// optional bytes data = 9;
|
|
case 9: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
|
parse_data:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
|
|
input, this->mutable_data()));
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectAtEnd()) return true;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_uninterpreted:
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
return true;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
#undef DO_
|
|
}
|
|
|
|
void TexturePacket::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// required uint64 layerref = 1;
|
|
if (has_layerref()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->layerref(), output);
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
if (has_width()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->width(), output);
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
if (has_height()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->height(), output);
|
|
}
|
|
|
|
// optional uint32 stride = 4;
|
|
if (has_stride()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->stride(), output);
|
|
}
|
|
|
|
// optional uint32 name = 5;
|
|
if (has_name()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->name(), output);
|
|
}
|
|
|
|
// optional uint32 target = 6;
|
|
if (has_target()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->target(), output);
|
|
}
|
|
|
|
// optional uint32 dataformat = 7;
|
|
if (has_dataformat()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->dataformat(), output);
|
|
}
|
|
|
|
// optional uint64 glcontext = 8;
|
|
if (has_glcontext()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->glcontext(), output);
|
|
}
|
|
|
|
// optional bytes data = 9;
|
|
if (has_data()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteBytes(
|
|
9, this->data(), output);
|
|
}
|
|
|
|
}
|
|
|
|
int TexturePacket::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required uint64 layerref = 1;
|
|
if (has_layerref()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->layerref());
|
|
}
|
|
|
|
// optional uint32 width = 2;
|
|
if (has_width()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->width());
|
|
}
|
|
|
|
// optional uint32 height = 3;
|
|
if (has_height()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->height());
|
|
}
|
|
|
|
// optional uint32 stride = 4;
|
|
if (has_stride()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->stride());
|
|
}
|
|
|
|
// optional uint32 name = 5;
|
|
if (has_name()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->name());
|
|
}
|
|
|
|
// optional uint32 target = 6;
|
|
if (has_target()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->target());
|
|
}
|
|
|
|
// optional uint32 dataformat = 7;
|
|
if (has_dataformat()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt32Size(
|
|
this->dataformat());
|
|
}
|
|
|
|
// optional uint64 glcontext = 8;
|
|
if (has_glcontext()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::UInt64Size(
|
|
this->glcontext());
|
|
}
|
|
|
|
}
|
|
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
// optional bytes data = 9;
|
|
if (has_data()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this->data());
|
|
}
|
|
|
|
}
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = total_size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
return total_size;
|
|
}
|
|
|
|
void TexturePacket::CheckTypeAndMergeFrom(
|
|
const ::google::protobuf::MessageLite& from) {
|
|
MergeFrom(*::google::protobuf::down_cast<const TexturePacket*>(&from));
|
|
}
|
|
|
|
void TexturePacket::MergeFrom(const TexturePacket& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_layerref()) {
|
|
set_layerref(from.layerref());
|
|
}
|
|
if (from.has_width()) {
|
|
set_width(from.width());
|
|
}
|
|
if (from.has_height()) {
|
|
set_height(from.height());
|
|
}
|
|
if (from.has_stride()) {
|
|
set_stride(from.stride());
|
|
}
|
|
if (from.has_name()) {
|
|
set_name(from.name());
|
|
}
|
|
if (from.has_target()) {
|
|
set_target(from.target());
|
|
}
|
|
if (from.has_dataformat()) {
|
|
set_dataformat(from.dataformat());
|
|
}
|
|
if (from.has_glcontext()) {
|
|
set_glcontext(from.glcontext());
|
|
}
|
|
}
|
|
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
|
|
if (from.has_data()) {
|
|
set_data(from.data());
|
|
}
|
|
}
|
|
}
|
|
|
|
void TexturePacket::CopyFrom(const TexturePacket& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool TexturePacket::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
void TexturePacket::Swap(TexturePacket* other) {
|
|
if (other != this) {
|
|
std::swap(layerref_, other->layerref_);
|
|
std::swap(width_, other->width_);
|
|
std::swap(height_, other->height_);
|
|
std::swap(stride_, other->stride_);
|
|
std::swap(name_, other->name_);
|
|
std::swap(target_, other->target_);
|
|
std::swap(dataformat_, other->dataformat_);
|
|
std::swap(glcontext_, other->glcontext_);
|
|
std::swap(data_, other->data_);
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]);
|
|
std::swap(_cached_size_, other->_cached_size_);
|
|
}
|
|
}
|
|
|
|
::std::string TexturePacket::GetTypeName() const {
|
|
return "mozilla.layers.layerscope.TexturePacket";
|
|
}
|
|
|
|
|
|
// ===================================================================
|
|
|
|
bool Packet_DataType_IsValid(int value) {
|
|
switch(value) {
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
case 4:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
#ifndef _MSC_VER
|
|
const Packet_DataType Packet::FRAMESTART;
|
|
const Packet_DataType Packet::FRAMEEND;
|
|
const Packet_DataType Packet::COLOR;
|
|
const Packet_DataType Packet::TEXTURE;
|
|
const Packet_DataType Packet::DataType_MIN;
|
|
const Packet_DataType Packet::DataType_MAX;
|
|
const int Packet::DataType_ARRAYSIZE;
|
|
#endif // _MSC_VER
|
|
#ifndef _MSC_VER
|
|
const int Packet::kTypeFieldNumber;
|
|
const int Packet::kFrameFieldNumber;
|
|
const int Packet::kColorFieldNumber;
|
|
const int Packet::kTextureFieldNumber;
|
|
#endif // !_MSC_VER
|
|
|
|
Packet::Packet()
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
}
|
|
|
|
void Packet::InitAsDefaultInstance() {
|
|
frame_ = const_cast< ::mozilla::layers::layerscope::FramePacket*>(&::mozilla::layers::layerscope::FramePacket::default_instance());
|
|
color_ = const_cast< ::mozilla::layers::layerscope::ColorPacket*>(&::mozilla::layers::layerscope::ColorPacket::default_instance());
|
|
texture_ = const_cast< ::mozilla::layers::layerscope::TexturePacket*>(&::mozilla::layers::layerscope::TexturePacket::default_instance());
|
|
}
|
|
|
|
Packet::Packet(const Packet& from)
|
|
: ::google::protobuf::MessageLite() {
|
|
SharedCtor();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
void Packet::SharedCtor() {
|
|
_cached_size_ = 0;
|
|
type_ = 1;
|
|
frame_ = NULL;
|
|
color_ = NULL;
|
|
texture_ = NULL;
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
Packet::~Packet() {
|
|
SharedDtor();
|
|
}
|
|
|
|
void Packet::SharedDtor() {
|
|
if (this != default_instance_) {
|
|
delete frame_;
|
|
delete color_;
|
|
delete texture_;
|
|
}
|
|
}
|
|
|
|
void Packet::SetCachedSize(int size) const {
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
}
|
|
const Packet& Packet::default_instance() {
|
|
if (default_instance_ == NULL) protobuf_AddDesc_LayerScopePacket_2eproto(); return *default_instance_;
|
|
}
|
|
|
|
Packet* Packet::default_instance_ = NULL;
|
|
|
|
Packet* Packet::New() const {
|
|
return new Packet;
|
|
}
|
|
|
|
void Packet::Clear() {
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
type_ = 1;
|
|
if (has_frame()) {
|
|
if (frame_ != NULL) frame_->::mozilla::layers::layerscope::FramePacket::Clear();
|
|
}
|
|
if (has_color()) {
|
|
if (color_ != NULL) color_->::mozilla::layers::layerscope::ColorPacket::Clear();
|
|
}
|
|
if (has_texture()) {
|
|
if (texture_ != NULL) texture_->::mozilla::layers::layerscope::TexturePacket::Clear();
|
|
}
|
|
}
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_));
|
|
}
|
|
|
|
bool Packet::MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) {
|
|
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
|
::google::protobuf::uint32 tag;
|
|
while ((tag = input->ReadTag()) != 0) {
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
// required .mozilla.layers.layerscope.Packet.DataType type = 1;
|
|
case 1: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
|
int value;
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
input, &value)));
|
|
if (::mozilla::layers::layerscope::Packet_DataType_IsValid(value)) {
|
|
set_type(static_cast< ::mozilla::layers::layerscope::Packet_DataType >(value));
|
|
}
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(18)) goto parse_frame;
|
|
break;
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.FramePacket frame = 2;
|
|
case 2: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
|
parse_frame:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_frame()));
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(26)) goto parse_color;
|
|
break;
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.ColorPacket color = 3;
|
|
case 3: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
|
parse_color:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_color()));
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectTag(34)) goto parse_texture;
|
|
break;
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.TexturePacket texture = 4;
|
|
case 4: {
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
|
parse_texture:
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
|
input, mutable_texture()));
|
|
} else {
|
|
goto handle_uninterpreted;
|
|
}
|
|
if (input->ExpectAtEnd()) return true;
|
|
break;
|
|
}
|
|
|
|
default: {
|
|
handle_uninterpreted:
|
|
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
return true;
|
|
}
|
|
DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
#undef DO_
|
|
}
|
|
|
|
void Packet::SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const {
|
|
// required .mozilla.layers.layerscope.Packet.DataType type = 1;
|
|
if (has_type()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
1, this->type(), output);
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.FramePacket frame = 2;
|
|
if (has_frame()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessage(
|
|
2, this->frame(), output);
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.ColorPacket color = 3;
|
|
if (has_color()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessage(
|
|
3, this->color(), output);
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.TexturePacket texture = 4;
|
|
if (has_texture()) {
|
|
::google::protobuf::internal::WireFormatLite::WriteMessage(
|
|
4, this->texture(), output);
|
|
}
|
|
|
|
}
|
|
|
|
int Packet::ByteSize() const {
|
|
int total_size = 0;
|
|
|
|
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
// required .mozilla.layers.layerscope.Packet.DataType type = 1;
|
|
if (has_type()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.FramePacket frame = 2;
|
|
if (has_frame()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->frame());
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.ColorPacket color = 3;
|
|
if (has_color()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->color());
|
|
}
|
|
|
|
// optional .mozilla.layers.layerscope.TexturePacket texture = 4;
|
|
if (has_texture()) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
|
this->texture());
|
|
}
|
|
|
|
}
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
_cached_size_ = total_size;
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
return total_size;
|
|
}
|
|
|
|
void Packet::CheckTypeAndMergeFrom(
|
|
const ::google::protobuf::MessageLite& from) {
|
|
MergeFrom(*::google::protobuf::down_cast<const Packet*>(&from));
|
|
}
|
|
|
|
void Packet::MergeFrom(const Packet& from) {
|
|
GOOGLE_CHECK_NE(&from, this);
|
|
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
|
if (from.has_type()) {
|
|
set_type(from.type());
|
|
}
|
|
if (from.has_frame()) {
|
|
mutable_frame()->::mozilla::layers::layerscope::FramePacket::MergeFrom(from.frame());
|
|
}
|
|
if (from.has_color()) {
|
|
mutable_color()->::mozilla::layers::layerscope::ColorPacket::MergeFrom(from.color());
|
|
}
|
|
if (from.has_texture()) {
|
|
mutable_texture()->::mozilla::layers::layerscope::TexturePacket::MergeFrom(from.texture());
|
|
}
|
|
}
|
|
}
|
|
|
|
void Packet::CopyFrom(const Packet& from) {
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
bool Packet::IsInitialized() const {
|
|
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
|
if (has_color()) {
|
|
if (!this->color().IsInitialized()) return false;
|
|
}
|
|
if (has_texture()) {
|
|
if (!this->texture().IsInitialized()) return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void Packet::Swap(Packet* other) {
|
|
if (other != this) {
|
|
std::swap(type_, other->type_);
|
|
std::swap(frame_, other->frame_);
|
|
std::swap(color_, other->color_);
|
|
std::swap(texture_, other->texture_);
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]);
|
|
std::swap(_cached_size_, other->_cached_size_);
|
|
}
|
|
}
|
|
|
|
::std::string Packet::GetTypeName() const {
|
|
return "mozilla.layers.layerscope.Packet";
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace layerscope
|
|
} // namespace layers
|
|
} // namespace mozilla
|
|
|
|
// @@protoc_insertion_point(global_scope)
|