/src/mozilla-central/gfx/layers/protobuf/LayerScopePacket.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: LayerScopePacket.proto |
3 | | |
4 | | #ifndef PROTOBUF_LayerScopePacket_2eproto__INCLUDED |
5 | | #define PROTOBUF_LayerScopePacket_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3004000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3004000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/message_lite.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_util.h> |
32 | | // @@protoc_insertion_point(includes) |
33 | | namespace mozilla { |
34 | | namespace layers { |
35 | | namespace layerscope { |
36 | | class ColorPacket; |
37 | | class ColorPacketDefaultTypeInternal; |
38 | | extern ColorPacketDefaultTypeInternal _ColorPacket_default_instance_; |
39 | | class CommandPacket; |
40 | | class CommandPacketDefaultTypeInternal; |
41 | | extern CommandPacketDefaultTypeInternal _CommandPacket_default_instance_; |
42 | | class DrawPacket; |
43 | | class DrawPacketDefaultTypeInternal; |
44 | | extern DrawPacketDefaultTypeInternal _DrawPacket_default_instance_; |
45 | | class DrawPacket_Rect; |
46 | | class DrawPacket_RectDefaultTypeInternal; |
47 | | extern DrawPacket_RectDefaultTypeInternal _DrawPacket_Rect_default_instance_; |
48 | | class FramePacket; |
49 | | class FramePacketDefaultTypeInternal; |
50 | | extern FramePacketDefaultTypeInternal _FramePacket_default_instance_; |
51 | | class LayersPacket; |
52 | | class LayersPacketDefaultTypeInternal; |
53 | | extern LayersPacketDefaultTypeInternal _LayersPacket_default_instance_; |
54 | | class LayersPacket_Layer; |
55 | | class LayersPacket_LayerDefaultTypeInternal; |
56 | | extern LayersPacket_LayerDefaultTypeInternal _LayersPacket_Layer_default_instance_; |
57 | | class LayersPacket_Layer_Matrix; |
58 | | class LayersPacket_Layer_MatrixDefaultTypeInternal; |
59 | | extern LayersPacket_Layer_MatrixDefaultTypeInternal _LayersPacket_Layer_Matrix_default_instance_; |
60 | | class LayersPacket_Layer_Rect; |
61 | | class LayersPacket_Layer_RectDefaultTypeInternal; |
62 | | extern LayersPacket_Layer_RectDefaultTypeInternal _LayersPacket_Layer_Rect_default_instance_; |
63 | | class LayersPacket_Layer_Region; |
64 | | class LayersPacket_Layer_RegionDefaultTypeInternal; |
65 | | extern LayersPacket_Layer_RegionDefaultTypeInternal _LayersPacket_Layer_Region_default_instance_; |
66 | | class LayersPacket_Layer_Shadow; |
67 | | class LayersPacket_Layer_ShadowDefaultTypeInternal; |
68 | | extern LayersPacket_Layer_ShadowDefaultTypeInternal _LayersPacket_Layer_Shadow_default_instance_; |
69 | | class LayersPacket_Layer_Size; |
70 | | class LayersPacket_Layer_SizeDefaultTypeInternal; |
71 | | extern LayersPacket_Layer_SizeDefaultTypeInternal _LayersPacket_Layer_Size_default_instance_; |
72 | | class MetaPacket; |
73 | | class MetaPacketDefaultTypeInternal; |
74 | | extern MetaPacketDefaultTypeInternal _MetaPacket_default_instance_; |
75 | | class Packet; |
76 | | class PacketDefaultTypeInternal; |
77 | | extern PacketDefaultTypeInternal _Packet_default_instance_; |
78 | | class TexturePacket; |
79 | | class TexturePacketDefaultTypeInternal; |
80 | | extern TexturePacketDefaultTypeInternal _TexturePacket_default_instance_; |
81 | | class TexturePacket_EffectMask; |
82 | | class TexturePacket_EffectMaskDefaultTypeInternal; |
83 | | extern TexturePacket_EffectMaskDefaultTypeInternal _TexturePacket_EffectMask_default_instance_; |
84 | | class TexturePacket_Matrix; |
85 | | class TexturePacket_MatrixDefaultTypeInternal; |
86 | | extern TexturePacket_MatrixDefaultTypeInternal _TexturePacket_Matrix_default_instance_; |
87 | | class TexturePacket_Rect; |
88 | | class TexturePacket_RectDefaultTypeInternal; |
89 | | extern TexturePacket_RectDefaultTypeInternal _TexturePacket_Rect_default_instance_; |
90 | | class TexturePacket_Size; |
91 | | class TexturePacket_SizeDefaultTypeInternal; |
92 | | extern TexturePacket_SizeDefaultTypeInternal _TexturePacket_Size_default_instance_; |
93 | | } // namespace layerscope |
94 | | } // namespace layers |
95 | | } // namespace mozilla |
96 | | |
97 | | namespace mozilla { |
98 | | namespace layers { |
99 | | namespace layerscope { |
100 | | |
101 | | namespace protobuf_LayerScopePacket_2eproto { |
102 | | // Internal implementation detail -- do not call these. |
103 | | struct TableStruct { |
104 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
105 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
106 | | static const ::google::protobuf::internal::ParseTable schema[]; |
107 | | static const ::google::protobuf::uint32 offsets[]; |
108 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
109 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
110 | | static void InitDefaultsImpl(); |
111 | | }; |
112 | | void AddDescriptors(); |
113 | | void InitDefaults(); |
114 | | } // namespace protobuf_LayerScopePacket_2eproto |
115 | | |
116 | | enum TexturePacket_Filter { |
117 | | TexturePacket_Filter_GOOD = 0, |
118 | | TexturePacket_Filter_LINEAR = 1, |
119 | | TexturePacket_Filter_POINT = 2 |
120 | | }; |
121 | | bool TexturePacket_Filter_IsValid(int value); |
122 | | const TexturePacket_Filter TexturePacket_Filter_Filter_MIN = TexturePacket_Filter_GOOD; |
123 | | const TexturePacket_Filter TexturePacket_Filter_Filter_MAX = TexturePacket_Filter_POINT; |
124 | | const int TexturePacket_Filter_Filter_ARRAYSIZE = TexturePacket_Filter_Filter_MAX + 1; |
125 | | |
126 | | enum LayersPacket_Layer_LayerType { |
127 | | LayersPacket_Layer_LayerType_UnknownLayer = 0, |
128 | | LayersPacket_Layer_LayerType_LayerManager = 1, |
129 | | LayersPacket_Layer_LayerType_ContainerLayer = 2, |
130 | | LayersPacket_Layer_LayerType_PaintedLayer = 3, |
131 | | LayersPacket_Layer_LayerType_CanvasLayer = 4, |
132 | | LayersPacket_Layer_LayerType_ImageLayer = 5, |
133 | | LayersPacket_Layer_LayerType_ColorLayer = 6, |
134 | | LayersPacket_Layer_LayerType_RefLayer = 8, |
135 | | LayersPacket_Layer_LayerType_ReadbackLayer = 9, |
136 | | LayersPacket_Layer_LayerType_DisplayItemLayer = 10 |
137 | | }; |
138 | | bool LayersPacket_Layer_LayerType_IsValid(int value); |
139 | | const LayersPacket_Layer_LayerType LayersPacket_Layer_LayerType_LayerType_MIN = LayersPacket_Layer_LayerType_UnknownLayer; |
140 | | const LayersPacket_Layer_LayerType LayersPacket_Layer_LayerType_LayerType_MAX = LayersPacket_Layer_LayerType_DisplayItemLayer; |
141 | | const int LayersPacket_Layer_LayerType_LayerType_ARRAYSIZE = LayersPacket_Layer_LayerType_LayerType_MAX + 1; |
142 | | |
143 | | enum LayersPacket_Layer_ScrollingDirect { |
144 | | LayersPacket_Layer_ScrollingDirect_VERTICAL = 1, |
145 | | LayersPacket_Layer_ScrollingDirect_HORIZONTAL = 2 |
146 | | }; |
147 | | bool LayersPacket_Layer_ScrollingDirect_IsValid(int value); |
148 | | const LayersPacket_Layer_ScrollingDirect LayersPacket_Layer_ScrollingDirect_ScrollingDirect_MIN = LayersPacket_Layer_ScrollingDirect_VERTICAL; |
149 | | const LayersPacket_Layer_ScrollingDirect LayersPacket_Layer_ScrollingDirect_ScrollingDirect_MAX = LayersPacket_Layer_ScrollingDirect_HORIZONTAL; |
150 | | const int LayersPacket_Layer_ScrollingDirect_ScrollingDirect_ARRAYSIZE = LayersPacket_Layer_ScrollingDirect_ScrollingDirect_MAX + 1; |
151 | | |
152 | | enum LayersPacket_Layer_Filter { |
153 | | LayersPacket_Layer_Filter_FILTER_FAST = 0, |
154 | | LayersPacket_Layer_Filter_FILTER_GOOD = 1, |
155 | | LayersPacket_Layer_Filter_FILTER_BEST = 2, |
156 | | LayersPacket_Layer_Filter_FILTER_NEAREST = 3, |
157 | | LayersPacket_Layer_Filter_FILTER_BILINEAR = 4, |
158 | | LayersPacket_Layer_Filter_FILTER_GAUSSIAN = 5, |
159 | | LayersPacket_Layer_Filter_FILTER_SENTINEL = 6, |
160 | | LayersPacket_Layer_Filter_FILTER_LINEAR = 7, |
161 | | LayersPacket_Layer_Filter_FILTER_POINT = 8 |
162 | | }; |
163 | | bool LayersPacket_Layer_Filter_IsValid(int value); |
164 | | const LayersPacket_Layer_Filter LayersPacket_Layer_Filter_Filter_MIN = LayersPacket_Layer_Filter_FILTER_FAST; |
165 | | const LayersPacket_Layer_Filter LayersPacket_Layer_Filter_Filter_MAX = LayersPacket_Layer_Filter_FILTER_POINT; |
166 | | const int LayersPacket_Layer_Filter_Filter_ARRAYSIZE = LayersPacket_Layer_Filter_Filter_MAX + 1; |
167 | | |
168 | | enum Packet_DataType { |
169 | | Packet_DataType_FRAMESTART = 1, |
170 | | Packet_DataType_FRAMEEND = 2, |
171 | | Packet_DataType_COLOR = 3, |
172 | | Packet_DataType_TEXTURE = 4, |
173 | | Packet_DataType_LAYERS = 5, |
174 | | Packet_DataType_META = 6, |
175 | | Packet_DataType_DRAW = 7 |
176 | | }; |
177 | | bool Packet_DataType_IsValid(int value); |
178 | | const Packet_DataType Packet_DataType_DataType_MIN = Packet_DataType_FRAMESTART; |
179 | | const Packet_DataType Packet_DataType_DataType_MAX = Packet_DataType_DRAW; |
180 | | const int Packet_DataType_DataType_ARRAYSIZE = Packet_DataType_DataType_MAX + 1; |
181 | | |
182 | | enum CommandPacket_CmdType { |
183 | | CommandPacket_CmdType_NO_OP = 0, |
184 | | CommandPacket_CmdType_LAYERS_TREE = 1, |
185 | | CommandPacket_CmdType_LAYERS_BUFFER = 2 |
186 | | }; |
187 | | bool CommandPacket_CmdType_IsValid(int value); |
188 | | const CommandPacket_CmdType CommandPacket_CmdType_CmdType_MIN = CommandPacket_CmdType_NO_OP; |
189 | | const CommandPacket_CmdType CommandPacket_CmdType_CmdType_MAX = CommandPacket_CmdType_LAYERS_BUFFER; |
190 | | const int CommandPacket_CmdType_CmdType_ARRAYSIZE = CommandPacket_CmdType_CmdType_MAX + 1; |
191 | | |
192 | | // =================================================================== |
193 | | |
194 | | class FramePacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.FramePacket) */ { |
195 | | public: |
196 | | FramePacket(); |
197 | | virtual ~FramePacket(); |
198 | | |
199 | | FramePacket(const FramePacket& from); |
200 | | |
201 | 0 | inline FramePacket& operator=(const FramePacket& from) { |
202 | 0 | CopyFrom(from); |
203 | 0 | return *this; |
204 | 0 | } |
205 | | #if LANG_CXX11 |
206 | | FramePacket(FramePacket&& from) noexcept |
207 | 0 | : FramePacket() { |
208 | 0 | *this = ::std::move(from); |
209 | 0 | } |
210 | | |
211 | 0 | inline FramePacket& operator=(FramePacket&& from) noexcept { |
212 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
213 | 0 | if (this != &from) InternalSwap(&from); |
214 | 0 | } else { |
215 | 0 | CopyFrom(from); |
216 | 0 | } |
217 | 0 | return *this; |
218 | 0 | } |
219 | | #endif |
220 | 0 | inline const ::std::string& unknown_fields() const { |
221 | 0 | return _internal_metadata_.unknown_fields(); |
222 | 0 | } |
223 | 0 | inline ::std::string* mutable_unknown_fields() { |
224 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
225 | 0 | } |
226 | | |
227 | | static const FramePacket& default_instance(); |
228 | | |
229 | 0 | static inline const FramePacket* internal_default_instance() { |
230 | 0 | return reinterpret_cast<const FramePacket*>( |
231 | 0 | &_FramePacket_default_instance_); |
232 | 0 | } |
233 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
234 | | 0; |
235 | | |
236 | | void Swap(FramePacket* other); |
237 | 0 | friend void swap(FramePacket& a, FramePacket& b) { |
238 | 0 | a.Swap(&b); |
239 | 0 | } |
240 | | |
241 | | // implements Message ---------------------------------------------- |
242 | | |
243 | 0 | inline FramePacket* New() const PROTOBUF_FINAL { return New(NULL); } |
244 | | |
245 | | FramePacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
246 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
247 | | PROTOBUF_FINAL; |
248 | | void CopyFrom(const FramePacket& from); |
249 | | void MergeFrom(const FramePacket& from); |
250 | | void Clear() PROTOBUF_FINAL; |
251 | | bool IsInitialized() const PROTOBUF_FINAL; |
252 | | |
253 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
254 | | bool MergePartialFromCodedStream( |
255 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
256 | | void SerializeWithCachedSizes( |
257 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
258 | | void DiscardUnknownFields(); |
259 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
260 | | private: |
261 | | void SharedCtor(); |
262 | | void SharedDtor(); |
263 | | void SetCachedSize(int size) const; |
264 | | void InternalSwap(FramePacket* other); |
265 | | private: |
266 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
267 | 0 | return NULL; |
268 | 0 | } |
269 | 0 | inline void* MaybeArenaPtr() const { |
270 | 0 | return NULL; |
271 | 0 | } |
272 | | public: |
273 | | |
274 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
275 | | |
276 | | // nested types ---------------------------------------------------- |
277 | | |
278 | | // accessors ------------------------------------------------------- |
279 | | |
280 | | // optional uint64 value = 1; |
281 | | bool has_value() const; |
282 | | void clear_value(); |
283 | | static const int kValueFieldNumber = 1; |
284 | | ::google::protobuf::uint64 value() const; |
285 | | void set_value(::google::protobuf::uint64 value); |
286 | | |
287 | | // optional float scale = 2; |
288 | | bool has_scale() const; |
289 | | void clear_scale(); |
290 | | static const int kScaleFieldNumber = 2; |
291 | | float scale() const; |
292 | | void set_scale(float value); |
293 | | |
294 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.FramePacket) |
295 | | private: |
296 | | void set_has_value(); |
297 | | void clear_has_value(); |
298 | | void set_has_scale(); |
299 | | void clear_has_scale(); |
300 | | |
301 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
302 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
303 | | mutable int _cached_size_; |
304 | | ::google::protobuf::uint64 value_; |
305 | | float scale_; |
306 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
307 | | }; |
308 | | // ------------------------------------------------------------------- |
309 | | |
310 | | class ColorPacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.ColorPacket) */ { |
311 | | public: |
312 | | ColorPacket(); |
313 | | virtual ~ColorPacket(); |
314 | | |
315 | | ColorPacket(const ColorPacket& from); |
316 | | |
317 | 0 | inline ColorPacket& operator=(const ColorPacket& from) { |
318 | 0 | CopyFrom(from); |
319 | 0 | return *this; |
320 | 0 | } |
321 | | #if LANG_CXX11 |
322 | | ColorPacket(ColorPacket&& from) noexcept |
323 | 0 | : ColorPacket() { |
324 | 0 | *this = ::std::move(from); |
325 | 0 | } |
326 | | |
327 | 0 | inline ColorPacket& operator=(ColorPacket&& from) noexcept { |
328 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
329 | 0 | if (this != &from) InternalSwap(&from); |
330 | 0 | } else { |
331 | 0 | CopyFrom(from); |
332 | 0 | } |
333 | 0 | return *this; |
334 | 0 | } |
335 | | #endif |
336 | 0 | inline const ::std::string& unknown_fields() const { |
337 | 0 | return _internal_metadata_.unknown_fields(); |
338 | 0 | } |
339 | 0 | inline ::std::string* mutable_unknown_fields() { |
340 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
341 | 0 | } |
342 | | |
343 | | static const ColorPacket& default_instance(); |
344 | | |
345 | 0 | static inline const ColorPacket* internal_default_instance() { |
346 | 0 | return reinterpret_cast<const ColorPacket*>( |
347 | 0 | &_ColorPacket_default_instance_); |
348 | 0 | } |
349 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
350 | | 1; |
351 | | |
352 | | void Swap(ColorPacket* other); |
353 | 0 | friend void swap(ColorPacket& a, ColorPacket& b) { |
354 | 0 | a.Swap(&b); |
355 | 0 | } |
356 | | |
357 | | // implements Message ---------------------------------------------- |
358 | | |
359 | 0 | inline ColorPacket* New() const PROTOBUF_FINAL { return New(NULL); } |
360 | | |
361 | | ColorPacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
362 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
363 | | PROTOBUF_FINAL; |
364 | | void CopyFrom(const ColorPacket& from); |
365 | | void MergeFrom(const ColorPacket& from); |
366 | | void Clear() PROTOBUF_FINAL; |
367 | | bool IsInitialized() const PROTOBUF_FINAL; |
368 | | |
369 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
370 | | bool MergePartialFromCodedStream( |
371 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
372 | | void SerializeWithCachedSizes( |
373 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
374 | | void DiscardUnknownFields(); |
375 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
376 | | private: |
377 | | void SharedCtor(); |
378 | | void SharedDtor(); |
379 | | void SetCachedSize(int size) const; |
380 | | void InternalSwap(ColorPacket* other); |
381 | | private: |
382 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
383 | 0 | return NULL; |
384 | 0 | } |
385 | 0 | inline void* MaybeArenaPtr() const { |
386 | 0 | return NULL; |
387 | 0 | } |
388 | | public: |
389 | | |
390 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
391 | | |
392 | | // nested types ---------------------------------------------------- |
393 | | |
394 | | // accessors ------------------------------------------------------- |
395 | | |
396 | | // required uint64 layerref = 1; |
397 | | bool has_layerref() const; |
398 | | void clear_layerref(); |
399 | | static const int kLayerrefFieldNumber = 1; |
400 | | ::google::protobuf::uint64 layerref() const; |
401 | | void set_layerref(::google::protobuf::uint64 value); |
402 | | |
403 | | // optional uint32 width = 2; |
404 | | bool has_width() const; |
405 | | void clear_width(); |
406 | | static const int kWidthFieldNumber = 2; |
407 | | ::google::protobuf::uint32 width() const; |
408 | | void set_width(::google::protobuf::uint32 value); |
409 | | |
410 | | // optional uint32 height = 3; |
411 | | bool has_height() const; |
412 | | void clear_height(); |
413 | | static const int kHeightFieldNumber = 3; |
414 | | ::google::protobuf::uint32 height() const; |
415 | | void set_height(::google::protobuf::uint32 value); |
416 | | |
417 | | // optional uint32 color = 4; |
418 | | bool has_color() const; |
419 | | void clear_color(); |
420 | | static const int kColorFieldNumber = 4; |
421 | | ::google::protobuf::uint32 color() const; |
422 | | void set_color(::google::protobuf::uint32 value); |
423 | | |
424 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.ColorPacket) |
425 | | private: |
426 | | void set_has_layerref(); |
427 | | void clear_has_layerref(); |
428 | | void set_has_width(); |
429 | | void clear_has_width(); |
430 | | void set_has_height(); |
431 | | void clear_has_height(); |
432 | | void set_has_color(); |
433 | | void clear_has_color(); |
434 | | |
435 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
436 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
437 | | mutable int _cached_size_; |
438 | | ::google::protobuf::uint64 layerref_; |
439 | | ::google::protobuf::uint32 width_; |
440 | | ::google::protobuf::uint32 height_; |
441 | | ::google::protobuf::uint32 color_; |
442 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
443 | | }; |
444 | | // ------------------------------------------------------------------- |
445 | | |
446 | | class TexturePacket_Rect : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.TexturePacket.Rect) */ { |
447 | | public: |
448 | | TexturePacket_Rect(); |
449 | | virtual ~TexturePacket_Rect(); |
450 | | |
451 | | TexturePacket_Rect(const TexturePacket_Rect& from); |
452 | | |
453 | 0 | inline TexturePacket_Rect& operator=(const TexturePacket_Rect& from) { |
454 | 0 | CopyFrom(from); |
455 | 0 | return *this; |
456 | 0 | } |
457 | | #if LANG_CXX11 |
458 | | TexturePacket_Rect(TexturePacket_Rect&& from) noexcept |
459 | 0 | : TexturePacket_Rect() { |
460 | 0 | *this = ::std::move(from); |
461 | 0 | } |
462 | | |
463 | 0 | inline TexturePacket_Rect& operator=(TexturePacket_Rect&& from) noexcept { |
464 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
465 | 0 | if (this != &from) InternalSwap(&from); |
466 | 0 | } else { |
467 | 0 | CopyFrom(from); |
468 | 0 | } |
469 | 0 | return *this; |
470 | 0 | } |
471 | | #endif |
472 | 0 | inline const ::std::string& unknown_fields() const { |
473 | 0 | return _internal_metadata_.unknown_fields(); |
474 | 0 | } |
475 | 0 | inline ::std::string* mutable_unknown_fields() { |
476 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
477 | 0 | } |
478 | | |
479 | | static const TexturePacket_Rect& default_instance(); |
480 | | |
481 | 0 | static inline const TexturePacket_Rect* internal_default_instance() { |
482 | 0 | return reinterpret_cast<const TexturePacket_Rect*>( |
483 | 0 | &_TexturePacket_Rect_default_instance_); |
484 | 0 | } |
485 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
486 | | 2; |
487 | | |
488 | | void Swap(TexturePacket_Rect* other); |
489 | 0 | friend void swap(TexturePacket_Rect& a, TexturePacket_Rect& b) { |
490 | 0 | a.Swap(&b); |
491 | 0 | } |
492 | | |
493 | | // implements Message ---------------------------------------------- |
494 | | |
495 | 0 | inline TexturePacket_Rect* New() const PROTOBUF_FINAL { return New(NULL); } |
496 | | |
497 | | TexturePacket_Rect* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
498 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
499 | | PROTOBUF_FINAL; |
500 | | void CopyFrom(const TexturePacket_Rect& from); |
501 | | void MergeFrom(const TexturePacket_Rect& from); |
502 | | void Clear() PROTOBUF_FINAL; |
503 | | bool IsInitialized() const PROTOBUF_FINAL; |
504 | | |
505 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
506 | | bool MergePartialFromCodedStream( |
507 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
508 | | void SerializeWithCachedSizes( |
509 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
510 | | void DiscardUnknownFields(); |
511 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
512 | | private: |
513 | | void SharedCtor(); |
514 | | void SharedDtor(); |
515 | | void SetCachedSize(int size) const; |
516 | | void InternalSwap(TexturePacket_Rect* other); |
517 | | private: |
518 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
519 | 0 | return NULL; |
520 | 0 | } |
521 | 0 | inline void* MaybeArenaPtr() const { |
522 | 0 | return NULL; |
523 | 0 | } |
524 | | public: |
525 | | |
526 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
527 | | |
528 | | // nested types ---------------------------------------------------- |
529 | | |
530 | | // accessors ------------------------------------------------------- |
531 | | |
532 | | // optional float x = 1; |
533 | | bool has_x() const; |
534 | | void clear_x(); |
535 | | static const int kXFieldNumber = 1; |
536 | | float x() const; |
537 | | void set_x(float value); |
538 | | |
539 | | // optional float y = 2; |
540 | | bool has_y() const; |
541 | | void clear_y(); |
542 | | static const int kYFieldNumber = 2; |
543 | | float y() const; |
544 | | void set_y(float value); |
545 | | |
546 | | // optional float w = 3; |
547 | | bool has_w() const; |
548 | | void clear_w(); |
549 | | static const int kWFieldNumber = 3; |
550 | | float w() const; |
551 | | void set_w(float value); |
552 | | |
553 | | // optional float h = 4; |
554 | | bool has_h() const; |
555 | | void clear_h(); |
556 | | static const int kHFieldNumber = 4; |
557 | | float h() const; |
558 | | void set_h(float value); |
559 | | |
560 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.TexturePacket.Rect) |
561 | | private: |
562 | | void set_has_x(); |
563 | | void clear_has_x(); |
564 | | void set_has_y(); |
565 | | void clear_has_y(); |
566 | | void set_has_w(); |
567 | | void clear_has_w(); |
568 | | void set_has_h(); |
569 | | void clear_has_h(); |
570 | | |
571 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
572 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
573 | | mutable int _cached_size_; |
574 | | float x_; |
575 | | float y_; |
576 | | float w_; |
577 | | float h_; |
578 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
579 | | }; |
580 | | // ------------------------------------------------------------------- |
581 | | |
582 | | class TexturePacket_Size : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.TexturePacket.Size) */ { |
583 | | public: |
584 | | TexturePacket_Size(); |
585 | | virtual ~TexturePacket_Size(); |
586 | | |
587 | | TexturePacket_Size(const TexturePacket_Size& from); |
588 | | |
589 | 0 | inline TexturePacket_Size& operator=(const TexturePacket_Size& from) { |
590 | 0 | CopyFrom(from); |
591 | 0 | return *this; |
592 | 0 | } |
593 | | #if LANG_CXX11 |
594 | | TexturePacket_Size(TexturePacket_Size&& from) noexcept |
595 | 0 | : TexturePacket_Size() { |
596 | 0 | *this = ::std::move(from); |
597 | 0 | } |
598 | | |
599 | 0 | inline TexturePacket_Size& operator=(TexturePacket_Size&& from) noexcept { |
600 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
601 | 0 | if (this != &from) InternalSwap(&from); |
602 | 0 | } else { |
603 | 0 | CopyFrom(from); |
604 | 0 | } |
605 | 0 | return *this; |
606 | 0 | } |
607 | | #endif |
608 | 0 | inline const ::std::string& unknown_fields() const { |
609 | 0 | return _internal_metadata_.unknown_fields(); |
610 | 0 | } |
611 | 0 | inline ::std::string* mutable_unknown_fields() { |
612 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
613 | 0 | } |
614 | | |
615 | | static const TexturePacket_Size& default_instance(); |
616 | | |
617 | 0 | static inline const TexturePacket_Size* internal_default_instance() { |
618 | 0 | return reinterpret_cast<const TexturePacket_Size*>( |
619 | 0 | &_TexturePacket_Size_default_instance_); |
620 | 0 | } |
621 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
622 | | 3; |
623 | | |
624 | | void Swap(TexturePacket_Size* other); |
625 | 0 | friend void swap(TexturePacket_Size& a, TexturePacket_Size& b) { |
626 | 0 | a.Swap(&b); |
627 | 0 | } |
628 | | |
629 | | // implements Message ---------------------------------------------- |
630 | | |
631 | 0 | inline TexturePacket_Size* New() const PROTOBUF_FINAL { return New(NULL); } |
632 | | |
633 | | TexturePacket_Size* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
634 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
635 | | PROTOBUF_FINAL; |
636 | | void CopyFrom(const TexturePacket_Size& from); |
637 | | void MergeFrom(const TexturePacket_Size& from); |
638 | | void Clear() PROTOBUF_FINAL; |
639 | | bool IsInitialized() const PROTOBUF_FINAL; |
640 | | |
641 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
642 | | bool MergePartialFromCodedStream( |
643 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
644 | | void SerializeWithCachedSizes( |
645 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
646 | | void DiscardUnknownFields(); |
647 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
648 | | private: |
649 | | void SharedCtor(); |
650 | | void SharedDtor(); |
651 | | void SetCachedSize(int size) const; |
652 | | void InternalSwap(TexturePacket_Size* other); |
653 | | private: |
654 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
655 | 0 | return NULL; |
656 | 0 | } |
657 | 0 | inline void* MaybeArenaPtr() const { |
658 | 0 | return NULL; |
659 | 0 | } |
660 | | public: |
661 | | |
662 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
663 | | |
664 | | // nested types ---------------------------------------------------- |
665 | | |
666 | | // accessors ------------------------------------------------------- |
667 | | |
668 | | // optional int32 w = 1; |
669 | | bool has_w() const; |
670 | | void clear_w(); |
671 | | static const int kWFieldNumber = 1; |
672 | | ::google::protobuf::int32 w() const; |
673 | | void set_w(::google::protobuf::int32 value); |
674 | | |
675 | | // optional int32 h = 2; |
676 | | bool has_h() const; |
677 | | void clear_h(); |
678 | | static const int kHFieldNumber = 2; |
679 | | ::google::protobuf::int32 h() const; |
680 | | void set_h(::google::protobuf::int32 value); |
681 | | |
682 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.TexturePacket.Size) |
683 | | private: |
684 | | void set_has_w(); |
685 | | void clear_has_w(); |
686 | | void set_has_h(); |
687 | | void clear_has_h(); |
688 | | |
689 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
690 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
691 | | mutable int _cached_size_; |
692 | | ::google::protobuf::int32 w_; |
693 | | ::google::protobuf::int32 h_; |
694 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
695 | | }; |
696 | | // ------------------------------------------------------------------- |
697 | | |
698 | | class TexturePacket_Matrix : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.TexturePacket.Matrix) */ { |
699 | | public: |
700 | | TexturePacket_Matrix(); |
701 | | virtual ~TexturePacket_Matrix(); |
702 | | |
703 | | TexturePacket_Matrix(const TexturePacket_Matrix& from); |
704 | | |
705 | 0 | inline TexturePacket_Matrix& operator=(const TexturePacket_Matrix& from) { |
706 | 0 | CopyFrom(from); |
707 | 0 | return *this; |
708 | 0 | } |
709 | | #if LANG_CXX11 |
710 | | TexturePacket_Matrix(TexturePacket_Matrix&& from) noexcept |
711 | 0 | : TexturePacket_Matrix() { |
712 | 0 | *this = ::std::move(from); |
713 | 0 | } |
714 | | |
715 | 0 | inline TexturePacket_Matrix& operator=(TexturePacket_Matrix&& from) noexcept { |
716 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
717 | 0 | if (this != &from) InternalSwap(&from); |
718 | 0 | } else { |
719 | 0 | CopyFrom(from); |
720 | 0 | } |
721 | 0 | return *this; |
722 | 0 | } |
723 | | #endif |
724 | 0 | inline const ::std::string& unknown_fields() const { |
725 | 0 | return _internal_metadata_.unknown_fields(); |
726 | 0 | } |
727 | 0 | inline ::std::string* mutable_unknown_fields() { |
728 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
729 | 0 | } |
730 | | |
731 | | static const TexturePacket_Matrix& default_instance(); |
732 | | |
733 | 0 | static inline const TexturePacket_Matrix* internal_default_instance() { |
734 | 0 | return reinterpret_cast<const TexturePacket_Matrix*>( |
735 | 0 | &_TexturePacket_Matrix_default_instance_); |
736 | 0 | } |
737 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
738 | | 4; |
739 | | |
740 | | void Swap(TexturePacket_Matrix* other); |
741 | 0 | friend void swap(TexturePacket_Matrix& a, TexturePacket_Matrix& b) { |
742 | 0 | a.Swap(&b); |
743 | 0 | } |
744 | | |
745 | | // implements Message ---------------------------------------------- |
746 | | |
747 | 0 | inline TexturePacket_Matrix* New() const PROTOBUF_FINAL { return New(NULL); } |
748 | | |
749 | | TexturePacket_Matrix* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
750 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
751 | | PROTOBUF_FINAL; |
752 | | void CopyFrom(const TexturePacket_Matrix& from); |
753 | | void MergeFrom(const TexturePacket_Matrix& from); |
754 | | void Clear() PROTOBUF_FINAL; |
755 | | bool IsInitialized() const PROTOBUF_FINAL; |
756 | | |
757 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
758 | | bool MergePartialFromCodedStream( |
759 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
760 | | void SerializeWithCachedSizes( |
761 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
762 | | void DiscardUnknownFields(); |
763 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
764 | | private: |
765 | | void SharedCtor(); |
766 | | void SharedDtor(); |
767 | | void SetCachedSize(int size) const; |
768 | | void InternalSwap(TexturePacket_Matrix* other); |
769 | | private: |
770 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
771 | 0 | return NULL; |
772 | 0 | } |
773 | 0 | inline void* MaybeArenaPtr() const { |
774 | 0 | return NULL; |
775 | 0 | } |
776 | | public: |
777 | | |
778 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
779 | | |
780 | | // nested types ---------------------------------------------------- |
781 | | |
782 | | // accessors ------------------------------------------------------- |
783 | | |
784 | | // repeated float m = 3; |
785 | | int m_size() const; |
786 | | void clear_m(); |
787 | | static const int kMFieldNumber = 3; |
788 | | float m(int index) const; |
789 | | void set_m(int index, float value); |
790 | | void add_m(float value); |
791 | | const ::google::protobuf::RepeatedField< float >& |
792 | | m() const; |
793 | | ::google::protobuf::RepeatedField< float >* |
794 | | mutable_m(); |
795 | | |
796 | | // optional bool is2D = 1; |
797 | | bool has_is2d() const; |
798 | | void clear_is2d(); |
799 | | static const int kIs2DFieldNumber = 1; |
800 | | bool is2d() const; |
801 | | void set_is2d(bool value); |
802 | | |
803 | | // optional bool isId = 2; |
804 | | bool has_isid() const; |
805 | | void clear_isid(); |
806 | | static const int kIsIdFieldNumber = 2; |
807 | | bool isid() const; |
808 | | void set_isid(bool value); |
809 | | |
810 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.TexturePacket.Matrix) |
811 | | private: |
812 | | void set_has_is2d(); |
813 | | void clear_has_is2d(); |
814 | | void set_has_isid(); |
815 | | void clear_has_isid(); |
816 | | |
817 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
818 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
819 | | mutable int _cached_size_; |
820 | | ::google::protobuf::RepeatedField< float > m_; |
821 | | bool is2d_; |
822 | | bool isid_; |
823 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
824 | | }; |
825 | | // ------------------------------------------------------------------- |
826 | | |
827 | | class TexturePacket_EffectMask : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.TexturePacket.EffectMask) */ { |
828 | | public: |
829 | | TexturePacket_EffectMask(); |
830 | | virtual ~TexturePacket_EffectMask(); |
831 | | |
832 | | TexturePacket_EffectMask(const TexturePacket_EffectMask& from); |
833 | | |
834 | 0 | inline TexturePacket_EffectMask& operator=(const TexturePacket_EffectMask& from) { |
835 | 0 | CopyFrom(from); |
836 | 0 | return *this; |
837 | 0 | } |
838 | | #if LANG_CXX11 |
839 | | TexturePacket_EffectMask(TexturePacket_EffectMask&& from) noexcept |
840 | 0 | : TexturePacket_EffectMask() { |
841 | 0 | *this = ::std::move(from); |
842 | 0 | } |
843 | | |
844 | 0 | inline TexturePacket_EffectMask& operator=(TexturePacket_EffectMask&& from) noexcept { |
845 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
846 | 0 | if (this != &from) InternalSwap(&from); |
847 | 0 | } else { |
848 | 0 | CopyFrom(from); |
849 | 0 | } |
850 | 0 | return *this; |
851 | 0 | } |
852 | | #endif |
853 | 0 | inline const ::std::string& unknown_fields() const { |
854 | 0 | return _internal_metadata_.unknown_fields(); |
855 | 0 | } |
856 | 0 | inline ::std::string* mutable_unknown_fields() { |
857 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
858 | 0 | } |
859 | | |
860 | | static const TexturePacket_EffectMask& default_instance(); |
861 | | |
862 | 0 | static inline const TexturePacket_EffectMask* internal_default_instance() { |
863 | 0 | return reinterpret_cast<const TexturePacket_EffectMask*>( |
864 | 0 | &_TexturePacket_EffectMask_default_instance_); |
865 | 0 | } |
866 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
867 | | 5; |
868 | | |
869 | | void Swap(TexturePacket_EffectMask* other); |
870 | 0 | friend void swap(TexturePacket_EffectMask& a, TexturePacket_EffectMask& b) { |
871 | 0 | a.Swap(&b); |
872 | 0 | } |
873 | | |
874 | | // implements Message ---------------------------------------------- |
875 | | |
876 | 0 | inline TexturePacket_EffectMask* New() const PROTOBUF_FINAL { return New(NULL); } |
877 | | |
878 | | TexturePacket_EffectMask* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
879 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
880 | | PROTOBUF_FINAL; |
881 | | void CopyFrom(const TexturePacket_EffectMask& from); |
882 | | void MergeFrom(const TexturePacket_EffectMask& from); |
883 | | void Clear() PROTOBUF_FINAL; |
884 | | bool IsInitialized() const PROTOBUF_FINAL; |
885 | | |
886 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
887 | | bool MergePartialFromCodedStream( |
888 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
889 | | void SerializeWithCachedSizes( |
890 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
891 | | void DiscardUnknownFields(); |
892 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
893 | | private: |
894 | | void SharedCtor(); |
895 | | void SharedDtor(); |
896 | | void SetCachedSize(int size) const; |
897 | | void InternalSwap(TexturePacket_EffectMask* other); |
898 | | private: |
899 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
900 | 0 | return NULL; |
901 | 0 | } |
902 | 0 | inline void* MaybeArenaPtr() const { |
903 | 0 | return NULL; |
904 | 0 | } |
905 | | public: |
906 | | |
907 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
908 | | |
909 | | // nested types ---------------------------------------------------- |
910 | | |
911 | | // accessors ------------------------------------------------------- |
912 | | |
913 | | // optional .mozilla.layers.layerscope.TexturePacket.Size mSize = 2; |
914 | | bool has_msize() const; |
915 | | void clear_msize(); |
916 | | static const int kMSizeFieldNumber = 2; |
917 | | const ::mozilla::layers::layerscope::TexturePacket_Size& msize() const; |
918 | | ::mozilla::layers::layerscope::TexturePacket_Size* mutable_msize(); |
919 | | ::mozilla::layers::layerscope::TexturePacket_Size* release_msize(); |
920 | | void set_allocated_msize(::mozilla::layers::layerscope::TexturePacket_Size* msize); |
921 | | |
922 | | // optional .mozilla.layers.layerscope.TexturePacket.Matrix mMaskTransform = 3; |
923 | | bool has_mmasktransform() const; |
924 | | void clear_mmasktransform(); |
925 | | static const int kMMaskTransformFieldNumber = 3; |
926 | | const ::mozilla::layers::layerscope::TexturePacket_Matrix& mmasktransform() const; |
927 | | ::mozilla::layers::layerscope::TexturePacket_Matrix* mutable_mmasktransform(); |
928 | | ::mozilla::layers::layerscope::TexturePacket_Matrix* release_mmasktransform(); |
929 | | void set_allocated_mmasktransform(::mozilla::layers::layerscope::TexturePacket_Matrix* mmasktransform); |
930 | | |
931 | | // optional bool mIs3D = 1; |
932 | | bool has_mis3d() const; |
933 | | void clear_mis3d(); |
934 | | static const int kMIs3DFieldNumber = 1; |
935 | | bool mis3d() const; |
936 | | void set_mis3d(bool value); |
937 | | |
938 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.TexturePacket.EffectMask) |
939 | | private: |
940 | | void set_has_mis3d(); |
941 | | void clear_has_mis3d(); |
942 | | void set_has_msize(); |
943 | | void clear_has_msize(); |
944 | | void set_has_mmasktransform(); |
945 | | void clear_has_mmasktransform(); |
946 | | |
947 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
948 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
949 | | mutable int _cached_size_; |
950 | | ::mozilla::layers::layerscope::TexturePacket_Size* msize_; |
951 | | ::mozilla::layers::layerscope::TexturePacket_Matrix* mmasktransform_; |
952 | | bool mis3d_; |
953 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
954 | | }; |
955 | | // ------------------------------------------------------------------- |
956 | | |
957 | | class TexturePacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.TexturePacket) */ { |
958 | | public: |
959 | | TexturePacket(); |
960 | | virtual ~TexturePacket(); |
961 | | |
962 | | TexturePacket(const TexturePacket& from); |
963 | | |
964 | 0 | inline TexturePacket& operator=(const TexturePacket& from) { |
965 | 0 | CopyFrom(from); |
966 | 0 | return *this; |
967 | 0 | } |
968 | | #if LANG_CXX11 |
969 | | TexturePacket(TexturePacket&& from) noexcept |
970 | 0 | : TexturePacket() { |
971 | 0 | *this = ::std::move(from); |
972 | 0 | } |
973 | | |
974 | 0 | inline TexturePacket& operator=(TexturePacket&& from) noexcept { |
975 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
976 | 0 | if (this != &from) InternalSwap(&from); |
977 | 0 | } else { |
978 | 0 | CopyFrom(from); |
979 | 0 | } |
980 | 0 | return *this; |
981 | 0 | } |
982 | | #endif |
983 | 0 | inline const ::std::string& unknown_fields() const { |
984 | 0 | return _internal_metadata_.unknown_fields(); |
985 | 0 | } |
986 | 0 | inline ::std::string* mutable_unknown_fields() { |
987 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
988 | 0 | } |
989 | | |
990 | | static const TexturePacket& default_instance(); |
991 | | |
992 | 0 | static inline const TexturePacket* internal_default_instance() { |
993 | 0 | return reinterpret_cast<const TexturePacket*>( |
994 | 0 | &_TexturePacket_default_instance_); |
995 | 0 | } |
996 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
997 | | 6; |
998 | | |
999 | | void Swap(TexturePacket* other); |
1000 | 0 | friend void swap(TexturePacket& a, TexturePacket& b) { |
1001 | 0 | a.Swap(&b); |
1002 | 0 | } |
1003 | | |
1004 | | // implements Message ---------------------------------------------- |
1005 | | |
1006 | 0 | inline TexturePacket* New() const PROTOBUF_FINAL { return New(NULL); } |
1007 | | |
1008 | | TexturePacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1009 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1010 | | PROTOBUF_FINAL; |
1011 | | void CopyFrom(const TexturePacket& from); |
1012 | | void MergeFrom(const TexturePacket& from); |
1013 | | void Clear() PROTOBUF_FINAL; |
1014 | | bool IsInitialized() const PROTOBUF_FINAL; |
1015 | | |
1016 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1017 | | bool MergePartialFromCodedStream( |
1018 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1019 | | void SerializeWithCachedSizes( |
1020 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1021 | | void DiscardUnknownFields(); |
1022 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1023 | | private: |
1024 | | void SharedCtor(); |
1025 | | void SharedDtor(); |
1026 | | void SetCachedSize(int size) const; |
1027 | | void InternalSwap(TexturePacket* other); |
1028 | | private: |
1029 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1030 | 0 | return NULL; |
1031 | 0 | } |
1032 | 0 | inline void* MaybeArenaPtr() const { |
1033 | 0 | return NULL; |
1034 | 0 | } |
1035 | | public: |
1036 | | |
1037 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1038 | | |
1039 | | // nested types ---------------------------------------------------- |
1040 | | |
1041 | | typedef TexturePacket_Rect Rect; |
1042 | | typedef TexturePacket_Size Size; |
1043 | | typedef TexturePacket_Matrix Matrix; |
1044 | | typedef TexturePacket_EffectMask EffectMask; |
1045 | | |
1046 | | typedef TexturePacket_Filter Filter; |
1047 | | static const Filter GOOD = |
1048 | | TexturePacket_Filter_GOOD; |
1049 | | static const Filter LINEAR = |
1050 | | TexturePacket_Filter_LINEAR; |
1051 | | static const Filter POINT = |
1052 | | TexturePacket_Filter_POINT; |
1053 | 0 | static inline bool Filter_IsValid(int value) { |
1054 | 0 | return TexturePacket_Filter_IsValid(value); |
1055 | 0 | } |
1056 | | static const Filter Filter_MIN = |
1057 | | TexturePacket_Filter_Filter_MIN; |
1058 | | static const Filter Filter_MAX = |
1059 | | TexturePacket_Filter_Filter_MAX; |
1060 | | static const int Filter_ARRAYSIZE = |
1061 | | TexturePacket_Filter_Filter_ARRAYSIZE; |
1062 | | |
1063 | | // accessors ------------------------------------------------------- |
1064 | | |
1065 | | // optional bytes data = 9; |
1066 | | bool has_data() const; |
1067 | | void clear_data(); |
1068 | | static const int kDataFieldNumber = 9; |
1069 | | const ::std::string& data() const; |
1070 | | void set_data(const ::std::string& value); |
1071 | | #if LANG_CXX11 |
1072 | | void set_data(::std::string&& value); |
1073 | | #endif |
1074 | | void set_data(const char* value); |
1075 | | void set_data(const void* value, size_t size); |
1076 | | ::std::string* mutable_data(); |
1077 | | ::std::string* release_data(); |
1078 | | void set_allocated_data(::std::string* data); |
1079 | | |
1080 | | // optional .mozilla.layers.layerscope.TexturePacket.Rect mTextureCoords = 10; |
1081 | | bool has_mtexturecoords() const; |
1082 | | void clear_mtexturecoords(); |
1083 | | static const int kMTextureCoordsFieldNumber = 10; |
1084 | | const ::mozilla::layers::layerscope::TexturePacket_Rect& mtexturecoords() const; |
1085 | | ::mozilla::layers::layerscope::TexturePacket_Rect* mutable_mtexturecoords(); |
1086 | | ::mozilla::layers::layerscope::TexturePacket_Rect* release_mtexturecoords(); |
1087 | | void set_allocated_mtexturecoords(::mozilla::layers::layerscope::TexturePacket_Rect* mtexturecoords); |
1088 | | |
1089 | | // optional .mozilla.layers.layerscope.TexturePacket.EffectMask mask = 21; |
1090 | | bool has_mask() const; |
1091 | | void clear_mask(); |
1092 | | static const int kMaskFieldNumber = 21; |
1093 | | const ::mozilla::layers::layerscope::TexturePacket_EffectMask& mask() const; |
1094 | | ::mozilla::layers::layerscope::TexturePacket_EffectMask* mutable_mask(); |
1095 | | ::mozilla::layers::layerscope::TexturePacket_EffectMask* release_mask(); |
1096 | | void set_allocated_mask(::mozilla::layers::layerscope::TexturePacket_EffectMask* mask); |
1097 | | |
1098 | | // required uint64 layerref = 1; |
1099 | | bool has_layerref() const; |
1100 | | void clear_layerref(); |
1101 | | static const int kLayerrefFieldNumber = 1; |
1102 | | ::google::protobuf::uint64 layerref() const; |
1103 | | void set_layerref(::google::protobuf::uint64 value); |
1104 | | |
1105 | | // optional uint32 width = 2; |
1106 | | bool has_width() const; |
1107 | | void clear_width(); |
1108 | | static const int kWidthFieldNumber = 2; |
1109 | | ::google::protobuf::uint32 width() const; |
1110 | | void set_width(::google::protobuf::uint32 value); |
1111 | | |
1112 | | // optional uint32 height = 3; |
1113 | | bool has_height() const; |
1114 | | void clear_height(); |
1115 | | static const int kHeightFieldNumber = 3; |
1116 | | ::google::protobuf::uint32 height() const; |
1117 | | void set_height(::google::protobuf::uint32 value); |
1118 | | |
1119 | | // optional uint32 stride = 4; |
1120 | | bool has_stride() const; |
1121 | | void clear_stride(); |
1122 | | static const int kStrideFieldNumber = 4; |
1123 | | ::google::protobuf::uint32 stride() const; |
1124 | | void set_stride(::google::protobuf::uint32 value); |
1125 | | |
1126 | | // optional uint32 name = 5; |
1127 | | bool has_name() const; |
1128 | | void clear_name(); |
1129 | | static const int kNameFieldNumber = 5; |
1130 | | ::google::protobuf::uint32 name() const; |
1131 | | void set_name(::google::protobuf::uint32 value); |
1132 | | |
1133 | | // optional uint32 target = 6; |
1134 | | bool has_target() const; |
1135 | | void clear_target(); |
1136 | | static const int kTargetFieldNumber = 6; |
1137 | | ::google::protobuf::uint32 target() const; |
1138 | | void set_target(::google::protobuf::uint32 value); |
1139 | | |
1140 | | // optional uint32 dataformat = 7; |
1141 | | bool has_dataformat() const; |
1142 | | void clear_dataformat(); |
1143 | | static const int kDataformatFieldNumber = 7; |
1144 | | ::google::protobuf::uint32 dataformat() const; |
1145 | | void set_dataformat(::google::protobuf::uint32 value); |
1146 | | |
1147 | | // optional uint64 glcontext = 8; |
1148 | | bool has_glcontext() const; |
1149 | | void clear_glcontext(); |
1150 | | static const int kGlcontextFieldNumber = 8; |
1151 | | ::google::protobuf::uint64 glcontext() const; |
1152 | | void set_glcontext(::google::protobuf::uint64 value); |
1153 | | |
1154 | | // optional .mozilla.layers.layerscope.TexturePacket.Filter mFilter = 12; |
1155 | | bool has_mfilter() const; |
1156 | | void clear_mfilter(); |
1157 | | static const int kMFilterFieldNumber = 12; |
1158 | | ::mozilla::layers::layerscope::TexturePacket_Filter mfilter() const; |
1159 | | void set_mfilter(::mozilla::layers::layerscope::TexturePacket_Filter value); |
1160 | | |
1161 | | // optional bool mPremultiplied = 11; |
1162 | | bool has_mpremultiplied() const; |
1163 | | void clear_mpremultiplied(); |
1164 | | static const int kMPremultipliedFieldNumber = 11; |
1165 | | bool mpremultiplied() const; |
1166 | | void set_mpremultiplied(bool value); |
1167 | | |
1168 | | // optional bool isMask = 20; |
1169 | | bool has_ismask() const; |
1170 | | void clear_ismask(); |
1171 | | static const int kIsMaskFieldNumber = 20; |
1172 | | bool ismask() const; |
1173 | | void set_ismask(bool value); |
1174 | | |
1175 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.TexturePacket) |
1176 | | private: |
1177 | | void set_has_layerref(); |
1178 | | void clear_has_layerref(); |
1179 | | void set_has_width(); |
1180 | | void clear_has_width(); |
1181 | | void set_has_height(); |
1182 | | void clear_has_height(); |
1183 | | void set_has_stride(); |
1184 | | void clear_has_stride(); |
1185 | | void set_has_name(); |
1186 | | void clear_has_name(); |
1187 | | void set_has_target(); |
1188 | | void clear_has_target(); |
1189 | | void set_has_dataformat(); |
1190 | | void clear_has_dataformat(); |
1191 | | void set_has_glcontext(); |
1192 | | void clear_has_glcontext(); |
1193 | | void set_has_data(); |
1194 | | void clear_has_data(); |
1195 | | void set_has_mtexturecoords(); |
1196 | | void clear_has_mtexturecoords(); |
1197 | | void set_has_mpremultiplied(); |
1198 | | void clear_has_mpremultiplied(); |
1199 | | void set_has_mfilter(); |
1200 | | void clear_has_mfilter(); |
1201 | | void set_has_ismask(); |
1202 | | void clear_has_ismask(); |
1203 | | void set_has_mask(); |
1204 | | void clear_has_mask(); |
1205 | | |
1206 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1207 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1208 | | mutable int _cached_size_; |
1209 | | ::google::protobuf::internal::ArenaStringPtr data_; |
1210 | | ::mozilla::layers::layerscope::TexturePacket_Rect* mtexturecoords_; |
1211 | | ::mozilla::layers::layerscope::TexturePacket_EffectMask* mask_; |
1212 | | ::google::protobuf::uint64 layerref_; |
1213 | | ::google::protobuf::uint32 width_; |
1214 | | ::google::protobuf::uint32 height_; |
1215 | | ::google::protobuf::uint32 stride_; |
1216 | | ::google::protobuf::uint32 name_; |
1217 | | ::google::protobuf::uint32 target_; |
1218 | | ::google::protobuf::uint32 dataformat_; |
1219 | | ::google::protobuf::uint64 glcontext_; |
1220 | | int mfilter_; |
1221 | | bool mpremultiplied_; |
1222 | | bool ismask_; |
1223 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1224 | | }; |
1225 | | // ------------------------------------------------------------------- |
1226 | | |
1227 | | class LayersPacket_Layer_Size : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer.Size) */ { |
1228 | | public: |
1229 | | LayersPacket_Layer_Size(); |
1230 | | virtual ~LayersPacket_Layer_Size(); |
1231 | | |
1232 | | LayersPacket_Layer_Size(const LayersPacket_Layer_Size& from); |
1233 | | |
1234 | 0 | inline LayersPacket_Layer_Size& operator=(const LayersPacket_Layer_Size& from) { |
1235 | 0 | CopyFrom(from); |
1236 | 0 | return *this; |
1237 | 0 | } |
1238 | | #if LANG_CXX11 |
1239 | | LayersPacket_Layer_Size(LayersPacket_Layer_Size&& from) noexcept |
1240 | 0 | : LayersPacket_Layer_Size() { |
1241 | 0 | *this = ::std::move(from); |
1242 | 0 | } |
1243 | | |
1244 | 0 | inline LayersPacket_Layer_Size& operator=(LayersPacket_Layer_Size&& from) noexcept { |
1245 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1246 | 0 | if (this != &from) InternalSwap(&from); |
1247 | 0 | } else { |
1248 | 0 | CopyFrom(from); |
1249 | 0 | } |
1250 | 0 | return *this; |
1251 | 0 | } |
1252 | | #endif |
1253 | 0 | inline const ::std::string& unknown_fields() const { |
1254 | 0 | return _internal_metadata_.unknown_fields(); |
1255 | 0 | } |
1256 | 0 | inline ::std::string* mutable_unknown_fields() { |
1257 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1258 | 0 | } |
1259 | | |
1260 | | static const LayersPacket_Layer_Size& default_instance(); |
1261 | | |
1262 | 0 | static inline const LayersPacket_Layer_Size* internal_default_instance() { |
1263 | 0 | return reinterpret_cast<const LayersPacket_Layer_Size*>( |
1264 | 0 | &_LayersPacket_Layer_Size_default_instance_); |
1265 | 0 | } |
1266 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1267 | | 7; |
1268 | | |
1269 | | void Swap(LayersPacket_Layer_Size* other); |
1270 | 0 | friend void swap(LayersPacket_Layer_Size& a, LayersPacket_Layer_Size& b) { |
1271 | 0 | a.Swap(&b); |
1272 | 0 | } |
1273 | | |
1274 | | // implements Message ---------------------------------------------- |
1275 | | |
1276 | 0 | inline LayersPacket_Layer_Size* New() const PROTOBUF_FINAL { return New(NULL); } |
1277 | | |
1278 | | LayersPacket_Layer_Size* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1279 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1280 | | PROTOBUF_FINAL; |
1281 | | void CopyFrom(const LayersPacket_Layer_Size& from); |
1282 | | void MergeFrom(const LayersPacket_Layer_Size& from); |
1283 | | void Clear() PROTOBUF_FINAL; |
1284 | | bool IsInitialized() const PROTOBUF_FINAL; |
1285 | | |
1286 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1287 | | bool MergePartialFromCodedStream( |
1288 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1289 | | void SerializeWithCachedSizes( |
1290 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1291 | | void DiscardUnknownFields(); |
1292 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1293 | | private: |
1294 | | void SharedCtor(); |
1295 | | void SharedDtor(); |
1296 | | void SetCachedSize(int size) const; |
1297 | | void InternalSwap(LayersPacket_Layer_Size* other); |
1298 | | private: |
1299 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1300 | 0 | return NULL; |
1301 | 0 | } |
1302 | 0 | inline void* MaybeArenaPtr() const { |
1303 | 0 | return NULL; |
1304 | 0 | } |
1305 | | public: |
1306 | | |
1307 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1308 | | |
1309 | | // nested types ---------------------------------------------------- |
1310 | | |
1311 | | // accessors ------------------------------------------------------- |
1312 | | |
1313 | | // optional int32 w = 1; |
1314 | | bool has_w() const; |
1315 | | void clear_w(); |
1316 | | static const int kWFieldNumber = 1; |
1317 | | ::google::protobuf::int32 w() const; |
1318 | | void set_w(::google::protobuf::int32 value); |
1319 | | |
1320 | | // optional int32 h = 2; |
1321 | | bool has_h() const; |
1322 | | void clear_h(); |
1323 | | static const int kHFieldNumber = 2; |
1324 | | ::google::protobuf::int32 h() const; |
1325 | | void set_h(::google::protobuf::int32 value); |
1326 | | |
1327 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer.Size) |
1328 | | private: |
1329 | | void set_has_w(); |
1330 | | void clear_has_w(); |
1331 | | void set_has_h(); |
1332 | | void clear_has_h(); |
1333 | | |
1334 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1335 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1336 | | mutable int _cached_size_; |
1337 | | ::google::protobuf::int32 w_; |
1338 | | ::google::protobuf::int32 h_; |
1339 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1340 | | }; |
1341 | | // ------------------------------------------------------------------- |
1342 | | |
1343 | | class LayersPacket_Layer_Rect : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer.Rect) */ { |
1344 | | public: |
1345 | | LayersPacket_Layer_Rect(); |
1346 | | virtual ~LayersPacket_Layer_Rect(); |
1347 | | |
1348 | | LayersPacket_Layer_Rect(const LayersPacket_Layer_Rect& from); |
1349 | | |
1350 | 0 | inline LayersPacket_Layer_Rect& operator=(const LayersPacket_Layer_Rect& from) { |
1351 | 0 | CopyFrom(from); |
1352 | 0 | return *this; |
1353 | 0 | } |
1354 | | #if LANG_CXX11 |
1355 | | LayersPacket_Layer_Rect(LayersPacket_Layer_Rect&& from) noexcept |
1356 | 0 | : LayersPacket_Layer_Rect() { |
1357 | 0 | *this = ::std::move(from); |
1358 | 0 | } |
1359 | | |
1360 | 0 | inline LayersPacket_Layer_Rect& operator=(LayersPacket_Layer_Rect&& from) noexcept { |
1361 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1362 | 0 | if (this != &from) InternalSwap(&from); |
1363 | 0 | } else { |
1364 | 0 | CopyFrom(from); |
1365 | 0 | } |
1366 | 0 | return *this; |
1367 | 0 | } |
1368 | | #endif |
1369 | 0 | inline const ::std::string& unknown_fields() const { |
1370 | 0 | return _internal_metadata_.unknown_fields(); |
1371 | 0 | } |
1372 | 0 | inline ::std::string* mutable_unknown_fields() { |
1373 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1374 | 0 | } |
1375 | | |
1376 | | static const LayersPacket_Layer_Rect& default_instance(); |
1377 | | |
1378 | 0 | static inline const LayersPacket_Layer_Rect* internal_default_instance() { |
1379 | 0 | return reinterpret_cast<const LayersPacket_Layer_Rect*>( |
1380 | 0 | &_LayersPacket_Layer_Rect_default_instance_); |
1381 | 0 | } |
1382 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1383 | | 8; |
1384 | | |
1385 | | void Swap(LayersPacket_Layer_Rect* other); |
1386 | 0 | friend void swap(LayersPacket_Layer_Rect& a, LayersPacket_Layer_Rect& b) { |
1387 | 0 | a.Swap(&b); |
1388 | 0 | } |
1389 | | |
1390 | | // implements Message ---------------------------------------------- |
1391 | | |
1392 | 0 | inline LayersPacket_Layer_Rect* New() const PROTOBUF_FINAL { return New(NULL); } |
1393 | | |
1394 | | LayersPacket_Layer_Rect* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1395 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1396 | | PROTOBUF_FINAL; |
1397 | | void CopyFrom(const LayersPacket_Layer_Rect& from); |
1398 | | void MergeFrom(const LayersPacket_Layer_Rect& from); |
1399 | | void Clear() PROTOBUF_FINAL; |
1400 | | bool IsInitialized() const PROTOBUF_FINAL; |
1401 | | |
1402 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1403 | | bool MergePartialFromCodedStream( |
1404 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1405 | | void SerializeWithCachedSizes( |
1406 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1407 | | void DiscardUnknownFields(); |
1408 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1409 | | private: |
1410 | | void SharedCtor(); |
1411 | | void SharedDtor(); |
1412 | | void SetCachedSize(int size) const; |
1413 | | void InternalSwap(LayersPacket_Layer_Rect* other); |
1414 | | private: |
1415 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1416 | 0 | return NULL; |
1417 | 0 | } |
1418 | 0 | inline void* MaybeArenaPtr() const { |
1419 | 0 | return NULL; |
1420 | 0 | } |
1421 | | public: |
1422 | | |
1423 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1424 | | |
1425 | | // nested types ---------------------------------------------------- |
1426 | | |
1427 | | // accessors ------------------------------------------------------- |
1428 | | |
1429 | | // optional int32 x = 1; |
1430 | | bool has_x() const; |
1431 | | void clear_x(); |
1432 | | static const int kXFieldNumber = 1; |
1433 | | ::google::protobuf::int32 x() const; |
1434 | | void set_x(::google::protobuf::int32 value); |
1435 | | |
1436 | | // optional int32 y = 2; |
1437 | | bool has_y() const; |
1438 | | void clear_y(); |
1439 | | static const int kYFieldNumber = 2; |
1440 | | ::google::protobuf::int32 y() const; |
1441 | | void set_y(::google::protobuf::int32 value); |
1442 | | |
1443 | | // optional int32 w = 3; |
1444 | | bool has_w() const; |
1445 | | void clear_w(); |
1446 | | static const int kWFieldNumber = 3; |
1447 | | ::google::protobuf::int32 w() const; |
1448 | | void set_w(::google::protobuf::int32 value); |
1449 | | |
1450 | | // optional int32 h = 4; |
1451 | | bool has_h() const; |
1452 | | void clear_h(); |
1453 | | static const int kHFieldNumber = 4; |
1454 | | ::google::protobuf::int32 h() const; |
1455 | | void set_h(::google::protobuf::int32 value); |
1456 | | |
1457 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer.Rect) |
1458 | | private: |
1459 | | void set_has_x(); |
1460 | | void clear_has_x(); |
1461 | | void set_has_y(); |
1462 | | void clear_has_y(); |
1463 | | void set_has_w(); |
1464 | | void clear_has_w(); |
1465 | | void set_has_h(); |
1466 | | void clear_has_h(); |
1467 | | |
1468 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1469 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1470 | | mutable int _cached_size_; |
1471 | | ::google::protobuf::int32 x_; |
1472 | | ::google::protobuf::int32 y_; |
1473 | | ::google::protobuf::int32 w_; |
1474 | | ::google::protobuf::int32 h_; |
1475 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1476 | | }; |
1477 | | // ------------------------------------------------------------------- |
1478 | | |
1479 | | class LayersPacket_Layer_Region : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer.Region) */ { |
1480 | | public: |
1481 | | LayersPacket_Layer_Region(); |
1482 | | virtual ~LayersPacket_Layer_Region(); |
1483 | | |
1484 | | LayersPacket_Layer_Region(const LayersPacket_Layer_Region& from); |
1485 | | |
1486 | 0 | inline LayersPacket_Layer_Region& operator=(const LayersPacket_Layer_Region& from) { |
1487 | 0 | CopyFrom(from); |
1488 | 0 | return *this; |
1489 | 0 | } |
1490 | | #if LANG_CXX11 |
1491 | | LayersPacket_Layer_Region(LayersPacket_Layer_Region&& from) noexcept |
1492 | 0 | : LayersPacket_Layer_Region() { |
1493 | 0 | *this = ::std::move(from); |
1494 | 0 | } |
1495 | | |
1496 | 0 | inline LayersPacket_Layer_Region& operator=(LayersPacket_Layer_Region&& from) noexcept { |
1497 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1498 | 0 | if (this != &from) InternalSwap(&from); |
1499 | 0 | } else { |
1500 | 0 | CopyFrom(from); |
1501 | 0 | } |
1502 | 0 | return *this; |
1503 | 0 | } |
1504 | | #endif |
1505 | 0 | inline const ::std::string& unknown_fields() const { |
1506 | 0 | return _internal_metadata_.unknown_fields(); |
1507 | 0 | } |
1508 | 0 | inline ::std::string* mutable_unknown_fields() { |
1509 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1510 | 0 | } |
1511 | | |
1512 | | static const LayersPacket_Layer_Region& default_instance(); |
1513 | | |
1514 | 0 | static inline const LayersPacket_Layer_Region* internal_default_instance() { |
1515 | 0 | return reinterpret_cast<const LayersPacket_Layer_Region*>( |
1516 | 0 | &_LayersPacket_Layer_Region_default_instance_); |
1517 | 0 | } |
1518 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1519 | | 9; |
1520 | | |
1521 | | void Swap(LayersPacket_Layer_Region* other); |
1522 | 0 | friend void swap(LayersPacket_Layer_Region& a, LayersPacket_Layer_Region& b) { |
1523 | 0 | a.Swap(&b); |
1524 | 0 | } |
1525 | | |
1526 | | // implements Message ---------------------------------------------- |
1527 | | |
1528 | 0 | inline LayersPacket_Layer_Region* New() const PROTOBUF_FINAL { return New(NULL); } |
1529 | | |
1530 | | LayersPacket_Layer_Region* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1531 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1532 | | PROTOBUF_FINAL; |
1533 | | void CopyFrom(const LayersPacket_Layer_Region& from); |
1534 | | void MergeFrom(const LayersPacket_Layer_Region& from); |
1535 | | void Clear() PROTOBUF_FINAL; |
1536 | | bool IsInitialized() const PROTOBUF_FINAL; |
1537 | | |
1538 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1539 | | bool MergePartialFromCodedStream( |
1540 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1541 | | void SerializeWithCachedSizes( |
1542 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1543 | | void DiscardUnknownFields(); |
1544 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1545 | | private: |
1546 | | void SharedCtor(); |
1547 | | void SharedDtor(); |
1548 | | void SetCachedSize(int size) const; |
1549 | | void InternalSwap(LayersPacket_Layer_Region* other); |
1550 | | private: |
1551 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1552 | 0 | return NULL; |
1553 | 0 | } |
1554 | 0 | inline void* MaybeArenaPtr() const { |
1555 | 0 | return NULL; |
1556 | 0 | } |
1557 | | public: |
1558 | | |
1559 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1560 | | |
1561 | | // nested types ---------------------------------------------------- |
1562 | | |
1563 | | // accessors ------------------------------------------------------- |
1564 | | |
1565 | | // repeated .mozilla.layers.layerscope.LayersPacket.Layer.Rect r = 1; |
1566 | | int r_size() const; |
1567 | | void clear_r(); |
1568 | | static const int kRFieldNumber = 1; |
1569 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& r(int index) const; |
1570 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* mutable_r(int index); |
1571 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* add_r(); |
1572 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer_Rect >* |
1573 | | mutable_r(); |
1574 | | const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer_Rect >& |
1575 | | r() const; |
1576 | | |
1577 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer.Region) |
1578 | | private: |
1579 | | |
1580 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1581 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1582 | | mutable int _cached_size_; |
1583 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer_Rect > r_; |
1584 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1585 | | }; |
1586 | | // ------------------------------------------------------------------- |
1587 | | |
1588 | | class LayersPacket_Layer_Matrix : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer.Matrix) */ { |
1589 | | public: |
1590 | | LayersPacket_Layer_Matrix(); |
1591 | | virtual ~LayersPacket_Layer_Matrix(); |
1592 | | |
1593 | | LayersPacket_Layer_Matrix(const LayersPacket_Layer_Matrix& from); |
1594 | | |
1595 | 0 | inline LayersPacket_Layer_Matrix& operator=(const LayersPacket_Layer_Matrix& from) { |
1596 | 0 | CopyFrom(from); |
1597 | 0 | return *this; |
1598 | 0 | } |
1599 | | #if LANG_CXX11 |
1600 | | LayersPacket_Layer_Matrix(LayersPacket_Layer_Matrix&& from) noexcept |
1601 | 0 | : LayersPacket_Layer_Matrix() { |
1602 | 0 | *this = ::std::move(from); |
1603 | 0 | } |
1604 | | |
1605 | 0 | inline LayersPacket_Layer_Matrix& operator=(LayersPacket_Layer_Matrix&& from) noexcept { |
1606 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1607 | 0 | if (this != &from) InternalSwap(&from); |
1608 | 0 | } else { |
1609 | 0 | CopyFrom(from); |
1610 | 0 | } |
1611 | 0 | return *this; |
1612 | 0 | } |
1613 | | #endif |
1614 | 0 | inline const ::std::string& unknown_fields() const { |
1615 | 0 | return _internal_metadata_.unknown_fields(); |
1616 | 0 | } |
1617 | 0 | inline ::std::string* mutable_unknown_fields() { |
1618 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1619 | 0 | } |
1620 | | |
1621 | | static const LayersPacket_Layer_Matrix& default_instance(); |
1622 | | |
1623 | 0 | static inline const LayersPacket_Layer_Matrix* internal_default_instance() { |
1624 | 0 | return reinterpret_cast<const LayersPacket_Layer_Matrix*>( |
1625 | 0 | &_LayersPacket_Layer_Matrix_default_instance_); |
1626 | 0 | } |
1627 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1628 | | 10; |
1629 | | |
1630 | | void Swap(LayersPacket_Layer_Matrix* other); |
1631 | 0 | friend void swap(LayersPacket_Layer_Matrix& a, LayersPacket_Layer_Matrix& b) { |
1632 | 0 | a.Swap(&b); |
1633 | 0 | } |
1634 | | |
1635 | | // implements Message ---------------------------------------------- |
1636 | | |
1637 | 0 | inline LayersPacket_Layer_Matrix* New() const PROTOBUF_FINAL { return New(NULL); } |
1638 | | |
1639 | | LayersPacket_Layer_Matrix* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1640 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1641 | | PROTOBUF_FINAL; |
1642 | | void CopyFrom(const LayersPacket_Layer_Matrix& from); |
1643 | | void MergeFrom(const LayersPacket_Layer_Matrix& from); |
1644 | | void Clear() PROTOBUF_FINAL; |
1645 | | bool IsInitialized() const PROTOBUF_FINAL; |
1646 | | |
1647 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1648 | | bool MergePartialFromCodedStream( |
1649 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1650 | | void SerializeWithCachedSizes( |
1651 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1652 | | void DiscardUnknownFields(); |
1653 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1654 | | private: |
1655 | | void SharedCtor(); |
1656 | | void SharedDtor(); |
1657 | | void SetCachedSize(int size) const; |
1658 | | void InternalSwap(LayersPacket_Layer_Matrix* other); |
1659 | | private: |
1660 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1661 | 0 | return NULL; |
1662 | 0 | } |
1663 | 0 | inline void* MaybeArenaPtr() const { |
1664 | 0 | return NULL; |
1665 | 0 | } |
1666 | | public: |
1667 | | |
1668 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1669 | | |
1670 | | // nested types ---------------------------------------------------- |
1671 | | |
1672 | | // accessors ------------------------------------------------------- |
1673 | | |
1674 | | // repeated float m = 3; |
1675 | | int m_size() const; |
1676 | | void clear_m(); |
1677 | | static const int kMFieldNumber = 3; |
1678 | | float m(int index) const; |
1679 | | void set_m(int index, float value); |
1680 | | void add_m(float value); |
1681 | | const ::google::protobuf::RepeatedField< float >& |
1682 | | m() const; |
1683 | | ::google::protobuf::RepeatedField< float >* |
1684 | | mutable_m(); |
1685 | | |
1686 | | // optional bool is2D = 1; |
1687 | | bool has_is2d() const; |
1688 | | void clear_is2d(); |
1689 | | static const int kIs2DFieldNumber = 1; |
1690 | | bool is2d() const; |
1691 | | void set_is2d(bool value); |
1692 | | |
1693 | | // optional bool isId = 2; |
1694 | | bool has_isid() const; |
1695 | | void clear_isid(); |
1696 | | static const int kIsIdFieldNumber = 2; |
1697 | | bool isid() const; |
1698 | | void set_isid(bool value); |
1699 | | |
1700 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer.Matrix) |
1701 | | private: |
1702 | | void set_has_is2d(); |
1703 | | void clear_has_is2d(); |
1704 | | void set_has_isid(); |
1705 | | void clear_has_isid(); |
1706 | | |
1707 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1708 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1709 | | mutable int _cached_size_; |
1710 | | ::google::protobuf::RepeatedField< float > m_; |
1711 | | bool is2d_; |
1712 | | bool isid_; |
1713 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1714 | | }; |
1715 | | // ------------------------------------------------------------------- |
1716 | | |
1717 | | class LayersPacket_Layer_Shadow : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer.Shadow) */ { |
1718 | | public: |
1719 | | LayersPacket_Layer_Shadow(); |
1720 | | virtual ~LayersPacket_Layer_Shadow(); |
1721 | | |
1722 | | LayersPacket_Layer_Shadow(const LayersPacket_Layer_Shadow& from); |
1723 | | |
1724 | 0 | inline LayersPacket_Layer_Shadow& operator=(const LayersPacket_Layer_Shadow& from) { |
1725 | 0 | CopyFrom(from); |
1726 | 0 | return *this; |
1727 | 0 | } |
1728 | | #if LANG_CXX11 |
1729 | | LayersPacket_Layer_Shadow(LayersPacket_Layer_Shadow&& from) noexcept |
1730 | 0 | : LayersPacket_Layer_Shadow() { |
1731 | 0 | *this = ::std::move(from); |
1732 | 0 | } |
1733 | | |
1734 | 0 | inline LayersPacket_Layer_Shadow& operator=(LayersPacket_Layer_Shadow&& from) noexcept { |
1735 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1736 | 0 | if (this != &from) InternalSwap(&from); |
1737 | 0 | } else { |
1738 | 0 | CopyFrom(from); |
1739 | 0 | } |
1740 | 0 | return *this; |
1741 | 0 | } |
1742 | | #endif |
1743 | 0 | inline const ::std::string& unknown_fields() const { |
1744 | 0 | return _internal_metadata_.unknown_fields(); |
1745 | 0 | } |
1746 | 0 | inline ::std::string* mutable_unknown_fields() { |
1747 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1748 | 0 | } |
1749 | | |
1750 | | static const LayersPacket_Layer_Shadow& default_instance(); |
1751 | | |
1752 | 0 | static inline const LayersPacket_Layer_Shadow* internal_default_instance() { |
1753 | 0 | return reinterpret_cast<const LayersPacket_Layer_Shadow*>( |
1754 | 0 | &_LayersPacket_Layer_Shadow_default_instance_); |
1755 | 0 | } |
1756 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1757 | | 11; |
1758 | | |
1759 | | void Swap(LayersPacket_Layer_Shadow* other); |
1760 | 0 | friend void swap(LayersPacket_Layer_Shadow& a, LayersPacket_Layer_Shadow& b) { |
1761 | 0 | a.Swap(&b); |
1762 | 0 | } |
1763 | | |
1764 | | // implements Message ---------------------------------------------- |
1765 | | |
1766 | 0 | inline LayersPacket_Layer_Shadow* New() const PROTOBUF_FINAL { return New(NULL); } |
1767 | | |
1768 | | LayersPacket_Layer_Shadow* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1769 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1770 | | PROTOBUF_FINAL; |
1771 | | void CopyFrom(const LayersPacket_Layer_Shadow& from); |
1772 | | void MergeFrom(const LayersPacket_Layer_Shadow& from); |
1773 | | void Clear() PROTOBUF_FINAL; |
1774 | | bool IsInitialized() const PROTOBUF_FINAL; |
1775 | | |
1776 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1777 | | bool MergePartialFromCodedStream( |
1778 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1779 | | void SerializeWithCachedSizes( |
1780 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1781 | | void DiscardUnknownFields(); |
1782 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1783 | | private: |
1784 | | void SharedCtor(); |
1785 | | void SharedDtor(); |
1786 | | void SetCachedSize(int size) const; |
1787 | | void InternalSwap(LayersPacket_Layer_Shadow* other); |
1788 | | private: |
1789 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1790 | 0 | return NULL; |
1791 | 0 | } |
1792 | 0 | inline void* MaybeArenaPtr() const { |
1793 | 0 | return NULL; |
1794 | 0 | } |
1795 | | public: |
1796 | | |
1797 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1798 | | |
1799 | | // nested types ---------------------------------------------------- |
1800 | | |
1801 | | // accessors ------------------------------------------------------- |
1802 | | |
1803 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Rect clip = 1; |
1804 | | bool has_clip() const; |
1805 | | void clear_clip(); |
1806 | | static const int kClipFieldNumber = 1; |
1807 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& clip() const; |
1808 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* mutable_clip(); |
1809 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* release_clip(); |
1810 | | void set_allocated_clip(::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip); |
1811 | | |
1812 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Matrix transform = 2; |
1813 | | bool has_transform() const; |
1814 | | void clear_transform(); |
1815 | | static const int kTransformFieldNumber = 2; |
1816 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix& transform() const; |
1817 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* mutable_transform(); |
1818 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* release_transform(); |
1819 | | void set_allocated_transform(::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform); |
1820 | | |
1821 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vRegion = 3; |
1822 | | bool has_vregion() const; |
1823 | | void clear_vregion(); |
1824 | | static const int kVRegionFieldNumber = 3; |
1825 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& vregion() const; |
1826 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_vregion(); |
1827 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_vregion(); |
1828 | | void set_allocated_vregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion); |
1829 | | |
1830 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer.Shadow) |
1831 | | private: |
1832 | | void set_has_clip(); |
1833 | | void clear_has_clip(); |
1834 | | void set_has_transform(); |
1835 | | void clear_has_transform(); |
1836 | | void set_has_vregion(); |
1837 | | void clear_has_vregion(); |
1838 | | |
1839 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
1840 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1841 | | mutable int _cached_size_; |
1842 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip_; |
1843 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform_; |
1844 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion_; |
1845 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
1846 | | }; |
1847 | | // ------------------------------------------------------------------- |
1848 | | |
1849 | | class LayersPacket_Layer : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket.Layer) */ { |
1850 | | public: |
1851 | | LayersPacket_Layer(); |
1852 | | virtual ~LayersPacket_Layer(); |
1853 | | |
1854 | | LayersPacket_Layer(const LayersPacket_Layer& from); |
1855 | | |
1856 | 0 | inline LayersPacket_Layer& operator=(const LayersPacket_Layer& from) { |
1857 | 0 | CopyFrom(from); |
1858 | 0 | return *this; |
1859 | 0 | } |
1860 | | #if LANG_CXX11 |
1861 | | LayersPacket_Layer(LayersPacket_Layer&& from) noexcept |
1862 | 0 | : LayersPacket_Layer() { |
1863 | 0 | *this = ::std::move(from); |
1864 | 0 | } |
1865 | | |
1866 | 0 | inline LayersPacket_Layer& operator=(LayersPacket_Layer&& from) noexcept { |
1867 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1868 | 0 | if (this != &from) InternalSwap(&from); |
1869 | 0 | } else { |
1870 | 0 | CopyFrom(from); |
1871 | 0 | } |
1872 | 0 | return *this; |
1873 | 0 | } |
1874 | | #endif |
1875 | 0 | inline const ::std::string& unknown_fields() const { |
1876 | 0 | return _internal_metadata_.unknown_fields(); |
1877 | 0 | } |
1878 | 0 | inline ::std::string* mutable_unknown_fields() { |
1879 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1880 | 0 | } |
1881 | | |
1882 | | static const LayersPacket_Layer& default_instance(); |
1883 | | |
1884 | 0 | static inline const LayersPacket_Layer* internal_default_instance() { |
1885 | 0 | return reinterpret_cast<const LayersPacket_Layer*>( |
1886 | 0 | &_LayersPacket_Layer_default_instance_); |
1887 | 0 | } |
1888 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1889 | | 12; |
1890 | | |
1891 | | void Swap(LayersPacket_Layer* other); |
1892 | 0 | friend void swap(LayersPacket_Layer& a, LayersPacket_Layer& b) { |
1893 | 0 | a.Swap(&b); |
1894 | 0 | } |
1895 | | |
1896 | | // implements Message ---------------------------------------------- |
1897 | | |
1898 | 0 | inline LayersPacket_Layer* New() const PROTOBUF_FINAL { return New(NULL); } |
1899 | | |
1900 | | LayersPacket_Layer* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1901 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
1902 | | PROTOBUF_FINAL; |
1903 | | void CopyFrom(const LayersPacket_Layer& from); |
1904 | | void MergeFrom(const LayersPacket_Layer& from); |
1905 | | void Clear() PROTOBUF_FINAL; |
1906 | | bool IsInitialized() const PROTOBUF_FINAL; |
1907 | | |
1908 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1909 | | bool MergePartialFromCodedStream( |
1910 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1911 | | void SerializeWithCachedSizes( |
1912 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1913 | | void DiscardUnknownFields(); |
1914 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1915 | | private: |
1916 | | void SharedCtor(); |
1917 | | void SharedDtor(); |
1918 | | void SetCachedSize(int size) const; |
1919 | | void InternalSwap(LayersPacket_Layer* other); |
1920 | | private: |
1921 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1922 | 0 | return NULL; |
1923 | 0 | } |
1924 | 0 | inline void* MaybeArenaPtr() const { |
1925 | 0 | return NULL; |
1926 | 0 | } |
1927 | | public: |
1928 | | |
1929 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
1930 | | |
1931 | | // nested types ---------------------------------------------------- |
1932 | | |
1933 | | typedef LayersPacket_Layer_Size Size; |
1934 | | typedef LayersPacket_Layer_Rect Rect; |
1935 | | typedef LayersPacket_Layer_Region Region; |
1936 | | typedef LayersPacket_Layer_Matrix Matrix; |
1937 | | typedef LayersPacket_Layer_Shadow Shadow; |
1938 | | |
1939 | | typedef LayersPacket_Layer_LayerType LayerType; |
1940 | | static const LayerType UnknownLayer = |
1941 | | LayersPacket_Layer_LayerType_UnknownLayer; |
1942 | | static const LayerType LayerManager = |
1943 | | LayersPacket_Layer_LayerType_LayerManager; |
1944 | | static const LayerType ContainerLayer = |
1945 | | LayersPacket_Layer_LayerType_ContainerLayer; |
1946 | | static const LayerType PaintedLayer = |
1947 | | LayersPacket_Layer_LayerType_PaintedLayer; |
1948 | | static const LayerType CanvasLayer = |
1949 | | LayersPacket_Layer_LayerType_CanvasLayer; |
1950 | | static const LayerType ImageLayer = |
1951 | | LayersPacket_Layer_LayerType_ImageLayer; |
1952 | | static const LayerType ColorLayer = |
1953 | | LayersPacket_Layer_LayerType_ColorLayer; |
1954 | | static const LayerType RefLayer = |
1955 | | LayersPacket_Layer_LayerType_RefLayer; |
1956 | | static const LayerType ReadbackLayer = |
1957 | | LayersPacket_Layer_LayerType_ReadbackLayer; |
1958 | | static const LayerType DisplayItemLayer = |
1959 | | LayersPacket_Layer_LayerType_DisplayItemLayer; |
1960 | 0 | static inline bool LayerType_IsValid(int value) { |
1961 | 0 | return LayersPacket_Layer_LayerType_IsValid(value); |
1962 | 0 | } |
1963 | | static const LayerType LayerType_MIN = |
1964 | | LayersPacket_Layer_LayerType_LayerType_MIN; |
1965 | | static const LayerType LayerType_MAX = |
1966 | | LayersPacket_Layer_LayerType_LayerType_MAX; |
1967 | | static const int LayerType_ARRAYSIZE = |
1968 | | LayersPacket_Layer_LayerType_LayerType_ARRAYSIZE; |
1969 | | |
1970 | | typedef LayersPacket_Layer_ScrollingDirect ScrollingDirect; |
1971 | | static const ScrollingDirect VERTICAL = |
1972 | | LayersPacket_Layer_ScrollingDirect_VERTICAL; |
1973 | | static const ScrollingDirect HORIZONTAL = |
1974 | | LayersPacket_Layer_ScrollingDirect_HORIZONTAL; |
1975 | 0 | static inline bool ScrollingDirect_IsValid(int value) { |
1976 | 0 | return LayersPacket_Layer_ScrollingDirect_IsValid(value); |
1977 | 0 | } |
1978 | | static const ScrollingDirect ScrollingDirect_MIN = |
1979 | | LayersPacket_Layer_ScrollingDirect_ScrollingDirect_MIN; |
1980 | | static const ScrollingDirect ScrollingDirect_MAX = |
1981 | | LayersPacket_Layer_ScrollingDirect_ScrollingDirect_MAX; |
1982 | | static const int ScrollingDirect_ARRAYSIZE = |
1983 | | LayersPacket_Layer_ScrollingDirect_ScrollingDirect_ARRAYSIZE; |
1984 | | |
1985 | | typedef LayersPacket_Layer_Filter Filter; |
1986 | | static const Filter FILTER_FAST = |
1987 | | LayersPacket_Layer_Filter_FILTER_FAST; |
1988 | | static const Filter FILTER_GOOD = |
1989 | | LayersPacket_Layer_Filter_FILTER_GOOD; |
1990 | | static const Filter FILTER_BEST = |
1991 | | LayersPacket_Layer_Filter_FILTER_BEST; |
1992 | | static const Filter FILTER_NEAREST = |
1993 | | LayersPacket_Layer_Filter_FILTER_NEAREST; |
1994 | | static const Filter FILTER_BILINEAR = |
1995 | | LayersPacket_Layer_Filter_FILTER_BILINEAR; |
1996 | | static const Filter FILTER_GAUSSIAN = |
1997 | | LayersPacket_Layer_Filter_FILTER_GAUSSIAN; |
1998 | | static const Filter FILTER_SENTINEL = |
1999 | | LayersPacket_Layer_Filter_FILTER_SENTINEL; |
2000 | | static const Filter FILTER_LINEAR = |
2001 | | LayersPacket_Layer_Filter_FILTER_LINEAR; |
2002 | | static const Filter FILTER_POINT = |
2003 | | LayersPacket_Layer_Filter_FILTER_POINT; |
2004 | 0 | static inline bool Filter_IsValid(int value) { |
2005 | 0 | return LayersPacket_Layer_Filter_IsValid(value); |
2006 | 0 | } |
2007 | | static const Filter Filter_MIN = |
2008 | | LayersPacket_Layer_Filter_Filter_MIN; |
2009 | | static const Filter Filter_MAX = |
2010 | | LayersPacket_Layer_Filter_Filter_MAX; |
2011 | | static const int Filter_ARRAYSIZE = |
2012 | | LayersPacket_Layer_Filter_Filter_ARRAYSIZE; |
2013 | | |
2014 | | // accessors ------------------------------------------------------- |
2015 | | |
2016 | | // optional bytes displayListLog = 106; |
2017 | | bool has_displaylistlog() const; |
2018 | | void clear_displaylistlog(); |
2019 | | static const int kDisplayListLogFieldNumber = 106; |
2020 | | const ::std::string& displaylistlog() const; |
2021 | | void set_displaylistlog(const ::std::string& value); |
2022 | | #if LANG_CXX11 |
2023 | | void set_displaylistlog(::std::string&& value); |
2024 | | #endif |
2025 | | void set_displaylistlog(const char* value); |
2026 | | void set_displaylistlog(const void* value, size_t size); |
2027 | | ::std::string* mutable_displaylistlog(); |
2028 | | ::std::string* release_displaylistlog(); |
2029 | | void set_allocated_displaylistlog(::std::string* displaylistlog); |
2030 | | |
2031 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Rect clip = 10; |
2032 | | bool has_clip() const; |
2033 | | void clear_clip(); |
2034 | | static const int kClipFieldNumber = 10; |
2035 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& clip() const; |
2036 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* mutable_clip(); |
2037 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* release_clip(); |
2038 | | void set_allocated_clip(::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip); |
2039 | | |
2040 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Matrix transform = 11; |
2041 | | bool has_transform() const; |
2042 | | void clear_transform(); |
2043 | | static const int kTransformFieldNumber = 11; |
2044 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix& transform() const; |
2045 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* mutable_transform(); |
2046 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* release_transform(); |
2047 | | void set_allocated_transform(::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform); |
2048 | | |
2049 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vRegion = 12; |
2050 | | bool has_vregion() const; |
2051 | | void clear_vregion(); |
2052 | | static const int kVRegionFieldNumber = 12; |
2053 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& vregion() const; |
2054 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_vregion(); |
2055 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_vregion(); |
2056 | | void set_allocated_vregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion); |
2057 | | |
2058 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Shadow shadow = 13; |
2059 | | bool has_shadow() const; |
2060 | | void clear_shadow(); |
2061 | | static const int kShadowFieldNumber = 13; |
2062 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow& shadow() const; |
2063 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* mutable_shadow(); |
2064 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* release_shadow(); |
2065 | | void set_allocated_shadow(::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* shadow); |
2066 | | |
2067 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region hitRegion = 20; |
2068 | | bool has_hitregion() const; |
2069 | | void clear_hitregion(); |
2070 | | static const int kHitRegionFieldNumber = 20; |
2071 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& hitregion() const; |
2072 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_hitregion(); |
2073 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_hitregion(); |
2074 | | void set_allocated_hitregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* hitregion); |
2075 | | |
2076 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region dispatchRegion = 21; |
2077 | | bool has_dispatchregion() const; |
2078 | | void clear_dispatchregion(); |
2079 | | static const int kDispatchRegionFieldNumber = 21; |
2080 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& dispatchregion() const; |
2081 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_dispatchregion(); |
2082 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_dispatchregion(); |
2083 | | void set_allocated_dispatchregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* dispatchregion); |
2084 | | |
2085 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region noActionRegion = 22; |
2086 | | bool has_noactionregion() const; |
2087 | | void clear_noactionregion(); |
2088 | | static const int kNoActionRegionFieldNumber = 22; |
2089 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& noactionregion() const; |
2090 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_noactionregion(); |
2091 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_noactionregion(); |
2092 | | void set_allocated_noactionregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* noactionregion); |
2093 | | |
2094 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region hPanRegion = 23; |
2095 | | bool has_hpanregion() const; |
2096 | | void clear_hpanregion(); |
2097 | | static const int kHPanRegionFieldNumber = 23; |
2098 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& hpanregion() const; |
2099 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_hpanregion(); |
2100 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_hpanregion(); |
2101 | | void set_allocated_hpanregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* hpanregion); |
2102 | | |
2103 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vPanRegion = 24; |
2104 | | bool has_vpanregion() const; |
2105 | | void clear_vpanregion(); |
2106 | | static const int kVPanRegionFieldNumber = 24; |
2107 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& vpanregion() const; |
2108 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_vpanregion(); |
2109 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_vpanregion(); |
2110 | | void set_allocated_vpanregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vpanregion); |
2111 | | |
2112 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region valid = 100; |
2113 | | bool has_valid() const; |
2114 | | void clear_valid(); |
2115 | | static const int kValidFieldNumber = 100; |
2116 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& valid() const; |
2117 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* mutable_valid(); |
2118 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* release_valid(); |
2119 | | void set_allocated_valid(::mozilla::layers::layerscope::LayersPacket_Layer_Region* valid); |
2120 | | |
2121 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Size size = 104; |
2122 | | bool has_size() const; |
2123 | | void clear_size(); |
2124 | | static const int kSizeFieldNumber = 104; |
2125 | | const ::mozilla::layers::layerscope::LayersPacket_Layer_Size& size() const; |
2126 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Size* mutable_size(); |
2127 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Size* release_size(); |
2128 | | void set_allocated_size(::mozilla::layers::layerscope::LayersPacket_Layer_Size* size); |
2129 | | |
2130 | | // required uint64 ptr = 2; |
2131 | | bool has_ptr() const; |
2132 | | void clear_ptr(); |
2133 | | static const int kPtrFieldNumber = 2; |
2134 | | ::google::protobuf::uint64 ptr() const; |
2135 | | void set_ptr(::google::protobuf::uint64 value); |
2136 | | |
2137 | | // required uint64 parentPtr = 3; |
2138 | | bool has_parentptr() const; |
2139 | | void clear_parentptr(); |
2140 | | static const int kParentPtrFieldNumber = 3; |
2141 | | ::google::protobuf::uint64 parentptr() const; |
2142 | | void set_parentptr(::google::protobuf::uint64 value); |
2143 | | |
2144 | | // required .mozilla.layers.layerscope.LayersPacket.Layer.LayerType type = 1; |
2145 | | bool has_type() const; |
2146 | | void clear_type(); |
2147 | | static const int kTypeFieldNumber = 1; |
2148 | | ::mozilla::layers::layerscope::LayersPacket_Layer_LayerType type() const; |
2149 | | void set_type(::mozilla::layers::layerscope::LayersPacket_Layer_LayerType value); |
2150 | | |
2151 | | // optional float opacity = 14; |
2152 | | bool has_opacity() const; |
2153 | | void clear_opacity(); |
2154 | | static const int kOpacityFieldNumber = 14; |
2155 | | float opacity() const; |
2156 | | void set_opacity(float value); |
2157 | | |
2158 | | // optional uint64 barID = 18; |
2159 | | bool has_barid() const; |
2160 | | void clear_barid(); |
2161 | | static const int kBarIDFieldNumber = 18; |
2162 | | ::google::protobuf::uint64 barid() const; |
2163 | | void set_barid(::google::protobuf::uint64 value); |
2164 | | |
2165 | | // optional uint64 mask = 19; |
2166 | | bool has_mask() const; |
2167 | | void clear_mask(); |
2168 | | static const int kMaskFieldNumber = 19; |
2169 | | ::google::protobuf::uint64 mask() const; |
2170 | | void set_mask(::google::protobuf::uint64 value); |
2171 | | |
2172 | | // optional bool cOpaque = 15; |
2173 | | bool has_copaque() const; |
2174 | | void clear_copaque(); |
2175 | | static const int kCOpaqueFieldNumber = 15; |
2176 | | bool copaque() const; |
2177 | | void set_copaque(bool value); |
2178 | | |
2179 | | // optional bool cAlpha = 16; |
2180 | | bool has_calpha() const; |
2181 | | void clear_calpha(); |
2182 | | static const int kCAlphaFieldNumber = 16; |
2183 | | bool calpha() const; |
2184 | | void set_calpha(bool value); |
2185 | | |
2186 | | // optional uint32 color = 101; |
2187 | | bool has_color() const; |
2188 | | void clear_color(); |
2189 | | static const int kColorFieldNumber = 101; |
2190 | | ::google::protobuf::uint32 color() const; |
2191 | | void set_color(::google::protobuf::uint32 value); |
2192 | | |
2193 | | // optional uint64 refID = 103; |
2194 | | bool has_refid() const; |
2195 | | void clear_refid(); |
2196 | | static const int kRefIDFieldNumber = 103; |
2197 | | ::google::protobuf::uint64 refid() const; |
2198 | | void set_refid(::google::protobuf::uint64 value); |
2199 | | |
2200 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Filter filter = 102; |
2201 | | bool has_filter() const; |
2202 | | void clear_filter(); |
2203 | | static const int kFilterFieldNumber = 102; |
2204 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Filter filter() const; |
2205 | | void set_filter(::mozilla::layers::layerscope::LayersPacket_Layer_Filter value); |
2206 | | |
2207 | | // optional uint32 displayListLogLength = 105; |
2208 | | bool has_displaylistloglength() const; |
2209 | | void clear_displaylistloglength(); |
2210 | | static const int kDisplayListLogLengthFieldNumber = 105; |
2211 | | ::google::protobuf::uint32 displaylistloglength() const; |
2212 | | void set_displaylistloglength(::google::protobuf::uint32 value); |
2213 | | |
2214 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.ScrollingDirect direct = 17; |
2215 | | bool has_direct() const; |
2216 | | void clear_direct(); |
2217 | | static const int kDirectFieldNumber = 17; |
2218 | | ::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect direct() const; |
2219 | | void set_direct(::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect value); |
2220 | | |
2221 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket.Layer) |
2222 | | private: |
2223 | | void set_has_type(); |
2224 | | void clear_has_type(); |
2225 | | void set_has_ptr(); |
2226 | | void clear_has_ptr(); |
2227 | | void set_has_parentptr(); |
2228 | | void clear_has_parentptr(); |
2229 | | void set_has_clip(); |
2230 | | void clear_has_clip(); |
2231 | | void set_has_transform(); |
2232 | | void clear_has_transform(); |
2233 | | void set_has_vregion(); |
2234 | | void clear_has_vregion(); |
2235 | | void set_has_shadow(); |
2236 | | void clear_has_shadow(); |
2237 | | void set_has_opacity(); |
2238 | | void clear_has_opacity(); |
2239 | | void set_has_copaque(); |
2240 | | void clear_has_copaque(); |
2241 | | void set_has_calpha(); |
2242 | | void clear_has_calpha(); |
2243 | | void set_has_direct(); |
2244 | | void clear_has_direct(); |
2245 | | void set_has_barid(); |
2246 | | void clear_has_barid(); |
2247 | | void set_has_mask(); |
2248 | | void clear_has_mask(); |
2249 | | void set_has_hitregion(); |
2250 | | void clear_has_hitregion(); |
2251 | | void set_has_dispatchregion(); |
2252 | | void clear_has_dispatchregion(); |
2253 | | void set_has_noactionregion(); |
2254 | | void clear_has_noactionregion(); |
2255 | | void set_has_hpanregion(); |
2256 | | void clear_has_hpanregion(); |
2257 | | void set_has_vpanregion(); |
2258 | | void clear_has_vpanregion(); |
2259 | | void set_has_valid(); |
2260 | | void clear_has_valid(); |
2261 | | void set_has_color(); |
2262 | | void clear_has_color(); |
2263 | | void set_has_filter(); |
2264 | | void clear_has_filter(); |
2265 | | void set_has_refid(); |
2266 | | void clear_has_refid(); |
2267 | | void set_has_size(); |
2268 | | void clear_has_size(); |
2269 | | void set_has_displaylistloglength(); |
2270 | | void clear_has_displaylistloglength(); |
2271 | | void set_has_displaylistlog(); |
2272 | | void clear_has_displaylistlog(); |
2273 | | |
2274 | | // helper for ByteSizeLong() |
2275 | | size_t RequiredFieldsByteSizeFallback() const; |
2276 | | |
2277 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
2278 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2279 | | mutable int _cached_size_; |
2280 | | ::google::protobuf::internal::ArenaStringPtr displaylistlog_; |
2281 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip_; |
2282 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform_; |
2283 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion_; |
2284 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* shadow_; |
2285 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* hitregion_; |
2286 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* dispatchregion_; |
2287 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* noactionregion_; |
2288 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* hpanregion_; |
2289 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* vpanregion_; |
2290 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* valid_; |
2291 | | ::mozilla::layers::layerscope::LayersPacket_Layer_Size* size_; |
2292 | | ::google::protobuf::uint64 ptr_; |
2293 | | ::google::protobuf::uint64 parentptr_; |
2294 | | int type_; |
2295 | | float opacity_; |
2296 | | ::google::protobuf::uint64 barid_; |
2297 | | ::google::protobuf::uint64 mask_; |
2298 | | bool copaque_; |
2299 | | bool calpha_; |
2300 | | ::google::protobuf::uint32 color_; |
2301 | | ::google::protobuf::uint64 refid_; |
2302 | | int filter_; |
2303 | | ::google::protobuf::uint32 displaylistloglength_; |
2304 | | int direct_; |
2305 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
2306 | | }; |
2307 | | // ------------------------------------------------------------------- |
2308 | | |
2309 | | class LayersPacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.LayersPacket) */ { |
2310 | | public: |
2311 | | LayersPacket(); |
2312 | | virtual ~LayersPacket(); |
2313 | | |
2314 | | LayersPacket(const LayersPacket& from); |
2315 | | |
2316 | 0 | inline LayersPacket& operator=(const LayersPacket& from) { |
2317 | 0 | CopyFrom(from); |
2318 | 0 | return *this; |
2319 | 0 | } |
2320 | | #if LANG_CXX11 |
2321 | | LayersPacket(LayersPacket&& from) noexcept |
2322 | 0 | : LayersPacket() { |
2323 | 0 | *this = ::std::move(from); |
2324 | 0 | } |
2325 | | |
2326 | 0 | inline LayersPacket& operator=(LayersPacket&& from) noexcept { |
2327 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2328 | 0 | if (this != &from) InternalSwap(&from); |
2329 | 0 | } else { |
2330 | 0 | CopyFrom(from); |
2331 | 0 | } |
2332 | 0 | return *this; |
2333 | 0 | } |
2334 | | #endif |
2335 | 0 | inline const ::std::string& unknown_fields() const { |
2336 | 0 | return _internal_metadata_.unknown_fields(); |
2337 | 0 | } |
2338 | 0 | inline ::std::string* mutable_unknown_fields() { |
2339 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2340 | 0 | } |
2341 | | |
2342 | | static const LayersPacket& default_instance(); |
2343 | | |
2344 | 0 | static inline const LayersPacket* internal_default_instance() { |
2345 | 0 | return reinterpret_cast<const LayersPacket*>( |
2346 | 0 | &_LayersPacket_default_instance_); |
2347 | 0 | } |
2348 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2349 | | 13; |
2350 | | |
2351 | | void Swap(LayersPacket* other); |
2352 | 0 | friend void swap(LayersPacket& a, LayersPacket& b) { |
2353 | 0 | a.Swap(&b); |
2354 | 0 | } |
2355 | | |
2356 | | // implements Message ---------------------------------------------- |
2357 | | |
2358 | 0 | inline LayersPacket* New() const PROTOBUF_FINAL { return New(NULL); } |
2359 | | |
2360 | | LayersPacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2361 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
2362 | | PROTOBUF_FINAL; |
2363 | | void CopyFrom(const LayersPacket& from); |
2364 | | void MergeFrom(const LayersPacket& from); |
2365 | | void Clear() PROTOBUF_FINAL; |
2366 | | bool IsInitialized() const PROTOBUF_FINAL; |
2367 | | |
2368 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2369 | | bool MergePartialFromCodedStream( |
2370 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2371 | | void SerializeWithCachedSizes( |
2372 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2373 | | void DiscardUnknownFields(); |
2374 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2375 | | private: |
2376 | | void SharedCtor(); |
2377 | | void SharedDtor(); |
2378 | | void SetCachedSize(int size) const; |
2379 | | void InternalSwap(LayersPacket* other); |
2380 | | private: |
2381 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2382 | 0 | return NULL; |
2383 | 0 | } |
2384 | 0 | inline void* MaybeArenaPtr() const { |
2385 | 0 | return NULL; |
2386 | 0 | } |
2387 | | public: |
2388 | | |
2389 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
2390 | | |
2391 | | // nested types ---------------------------------------------------- |
2392 | | |
2393 | | typedef LayersPacket_Layer Layer; |
2394 | | |
2395 | | // accessors ------------------------------------------------------- |
2396 | | |
2397 | | // repeated .mozilla.layers.layerscope.LayersPacket.Layer layer = 1; |
2398 | | int layer_size() const; |
2399 | | void clear_layer(); |
2400 | | static const int kLayerFieldNumber = 1; |
2401 | | const ::mozilla::layers::layerscope::LayersPacket_Layer& layer(int index) const; |
2402 | | ::mozilla::layers::layerscope::LayersPacket_Layer* mutable_layer(int index); |
2403 | | ::mozilla::layers::layerscope::LayersPacket_Layer* add_layer(); |
2404 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer >* |
2405 | | mutable_layer(); |
2406 | | const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer >& |
2407 | | layer() const; |
2408 | | |
2409 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.LayersPacket) |
2410 | | private: |
2411 | | |
2412 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
2413 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2414 | | mutable int _cached_size_; |
2415 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer > layer_; |
2416 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
2417 | | }; |
2418 | | // ------------------------------------------------------------------- |
2419 | | |
2420 | | class MetaPacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.MetaPacket) */ { |
2421 | | public: |
2422 | | MetaPacket(); |
2423 | | virtual ~MetaPacket(); |
2424 | | |
2425 | | MetaPacket(const MetaPacket& from); |
2426 | | |
2427 | 0 | inline MetaPacket& operator=(const MetaPacket& from) { |
2428 | 0 | CopyFrom(from); |
2429 | 0 | return *this; |
2430 | 0 | } |
2431 | | #if LANG_CXX11 |
2432 | | MetaPacket(MetaPacket&& from) noexcept |
2433 | 0 | : MetaPacket() { |
2434 | 0 | *this = ::std::move(from); |
2435 | 0 | } |
2436 | | |
2437 | 0 | inline MetaPacket& operator=(MetaPacket&& from) noexcept { |
2438 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2439 | 0 | if (this != &from) InternalSwap(&from); |
2440 | 0 | } else { |
2441 | 0 | CopyFrom(from); |
2442 | 0 | } |
2443 | 0 | return *this; |
2444 | 0 | } |
2445 | | #endif |
2446 | 0 | inline const ::std::string& unknown_fields() const { |
2447 | 0 | return _internal_metadata_.unknown_fields(); |
2448 | 0 | } |
2449 | 0 | inline ::std::string* mutable_unknown_fields() { |
2450 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2451 | 0 | } |
2452 | | |
2453 | | static const MetaPacket& default_instance(); |
2454 | | |
2455 | 0 | static inline const MetaPacket* internal_default_instance() { |
2456 | 0 | return reinterpret_cast<const MetaPacket*>( |
2457 | 0 | &_MetaPacket_default_instance_); |
2458 | 0 | } |
2459 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2460 | | 14; |
2461 | | |
2462 | | void Swap(MetaPacket* other); |
2463 | 0 | friend void swap(MetaPacket& a, MetaPacket& b) { |
2464 | 0 | a.Swap(&b); |
2465 | 0 | } |
2466 | | |
2467 | | // implements Message ---------------------------------------------- |
2468 | | |
2469 | 0 | inline MetaPacket* New() const PROTOBUF_FINAL { return New(NULL); } |
2470 | | |
2471 | | MetaPacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2472 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
2473 | | PROTOBUF_FINAL; |
2474 | | void CopyFrom(const MetaPacket& from); |
2475 | | void MergeFrom(const MetaPacket& from); |
2476 | | void Clear() PROTOBUF_FINAL; |
2477 | | bool IsInitialized() const PROTOBUF_FINAL; |
2478 | | |
2479 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2480 | | bool MergePartialFromCodedStream( |
2481 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2482 | | void SerializeWithCachedSizes( |
2483 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2484 | | void DiscardUnknownFields(); |
2485 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2486 | | private: |
2487 | | void SharedCtor(); |
2488 | | void SharedDtor(); |
2489 | | void SetCachedSize(int size) const; |
2490 | | void InternalSwap(MetaPacket* other); |
2491 | | private: |
2492 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2493 | 0 | return NULL; |
2494 | 0 | } |
2495 | 0 | inline void* MaybeArenaPtr() const { |
2496 | 0 | return NULL; |
2497 | 0 | } |
2498 | | public: |
2499 | | |
2500 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
2501 | | |
2502 | | // nested types ---------------------------------------------------- |
2503 | | |
2504 | | // accessors ------------------------------------------------------- |
2505 | | |
2506 | | // optional bool composedByHwc = 1; |
2507 | | bool has_composedbyhwc() const; |
2508 | | void clear_composedbyhwc(); |
2509 | | static const int kComposedByHwcFieldNumber = 1; |
2510 | | bool composedbyhwc() const; |
2511 | | void set_composedbyhwc(bool value); |
2512 | | |
2513 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.MetaPacket) |
2514 | | private: |
2515 | | void set_has_composedbyhwc(); |
2516 | | void clear_has_composedbyhwc(); |
2517 | | |
2518 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
2519 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2520 | | mutable int _cached_size_; |
2521 | | bool composedbyhwc_; |
2522 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
2523 | | }; |
2524 | | // ------------------------------------------------------------------- |
2525 | | |
2526 | | class DrawPacket_Rect : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.DrawPacket.Rect) */ { |
2527 | | public: |
2528 | | DrawPacket_Rect(); |
2529 | | virtual ~DrawPacket_Rect(); |
2530 | | |
2531 | | DrawPacket_Rect(const DrawPacket_Rect& from); |
2532 | | |
2533 | 0 | inline DrawPacket_Rect& operator=(const DrawPacket_Rect& from) { |
2534 | 0 | CopyFrom(from); |
2535 | 0 | return *this; |
2536 | 0 | } |
2537 | | #if LANG_CXX11 |
2538 | | DrawPacket_Rect(DrawPacket_Rect&& from) noexcept |
2539 | 0 | : DrawPacket_Rect() { |
2540 | 0 | *this = ::std::move(from); |
2541 | 0 | } |
2542 | | |
2543 | 0 | inline DrawPacket_Rect& operator=(DrawPacket_Rect&& from) noexcept { |
2544 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2545 | 0 | if (this != &from) InternalSwap(&from); |
2546 | 0 | } else { |
2547 | 0 | CopyFrom(from); |
2548 | 0 | } |
2549 | 0 | return *this; |
2550 | 0 | } |
2551 | | #endif |
2552 | 0 | inline const ::std::string& unknown_fields() const { |
2553 | 0 | return _internal_metadata_.unknown_fields(); |
2554 | 0 | } |
2555 | 0 | inline ::std::string* mutable_unknown_fields() { |
2556 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2557 | 0 | } |
2558 | | |
2559 | | static const DrawPacket_Rect& default_instance(); |
2560 | | |
2561 | 0 | static inline const DrawPacket_Rect* internal_default_instance() { |
2562 | 0 | return reinterpret_cast<const DrawPacket_Rect*>( |
2563 | 0 | &_DrawPacket_Rect_default_instance_); |
2564 | 0 | } |
2565 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2566 | | 15; |
2567 | | |
2568 | | void Swap(DrawPacket_Rect* other); |
2569 | 0 | friend void swap(DrawPacket_Rect& a, DrawPacket_Rect& b) { |
2570 | 0 | a.Swap(&b); |
2571 | 0 | } |
2572 | | |
2573 | | // implements Message ---------------------------------------------- |
2574 | | |
2575 | 0 | inline DrawPacket_Rect* New() const PROTOBUF_FINAL { return New(NULL); } |
2576 | | |
2577 | | DrawPacket_Rect* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2578 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
2579 | | PROTOBUF_FINAL; |
2580 | | void CopyFrom(const DrawPacket_Rect& from); |
2581 | | void MergeFrom(const DrawPacket_Rect& from); |
2582 | | void Clear() PROTOBUF_FINAL; |
2583 | | bool IsInitialized() const PROTOBUF_FINAL; |
2584 | | |
2585 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2586 | | bool MergePartialFromCodedStream( |
2587 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2588 | | void SerializeWithCachedSizes( |
2589 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2590 | | void DiscardUnknownFields(); |
2591 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2592 | | private: |
2593 | | void SharedCtor(); |
2594 | | void SharedDtor(); |
2595 | | void SetCachedSize(int size) const; |
2596 | | void InternalSwap(DrawPacket_Rect* other); |
2597 | | private: |
2598 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2599 | 0 | return NULL; |
2600 | 0 | } |
2601 | 0 | inline void* MaybeArenaPtr() const { |
2602 | 0 | return NULL; |
2603 | 0 | } |
2604 | | public: |
2605 | | |
2606 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
2607 | | |
2608 | | // nested types ---------------------------------------------------- |
2609 | | |
2610 | | // accessors ------------------------------------------------------- |
2611 | | |
2612 | | // required float x = 1; |
2613 | | bool has_x() const; |
2614 | | void clear_x(); |
2615 | | static const int kXFieldNumber = 1; |
2616 | | float x() const; |
2617 | | void set_x(float value); |
2618 | | |
2619 | | // required float y = 2; |
2620 | | bool has_y() const; |
2621 | | void clear_y(); |
2622 | | static const int kYFieldNumber = 2; |
2623 | | float y() const; |
2624 | | void set_y(float value); |
2625 | | |
2626 | | // required float w = 3; |
2627 | | bool has_w() const; |
2628 | | void clear_w(); |
2629 | | static const int kWFieldNumber = 3; |
2630 | | float w() const; |
2631 | | void set_w(float value); |
2632 | | |
2633 | | // required float h = 4; |
2634 | | bool has_h() const; |
2635 | | void clear_h(); |
2636 | | static const int kHFieldNumber = 4; |
2637 | | float h() const; |
2638 | | void set_h(float value); |
2639 | | |
2640 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.DrawPacket.Rect) |
2641 | | private: |
2642 | | void set_has_x(); |
2643 | | void clear_has_x(); |
2644 | | void set_has_y(); |
2645 | | void clear_has_y(); |
2646 | | void set_has_w(); |
2647 | | void clear_has_w(); |
2648 | | void set_has_h(); |
2649 | | void clear_has_h(); |
2650 | | |
2651 | | // helper for ByteSizeLong() |
2652 | | size_t RequiredFieldsByteSizeFallback() const; |
2653 | | |
2654 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
2655 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2656 | | mutable int _cached_size_; |
2657 | | float x_; |
2658 | | float y_; |
2659 | | float w_; |
2660 | | float h_; |
2661 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
2662 | | }; |
2663 | | // ------------------------------------------------------------------- |
2664 | | |
2665 | | class DrawPacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.DrawPacket) */ { |
2666 | | public: |
2667 | | DrawPacket(); |
2668 | | virtual ~DrawPacket(); |
2669 | | |
2670 | | DrawPacket(const DrawPacket& from); |
2671 | | |
2672 | 0 | inline DrawPacket& operator=(const DrawPacket& from) { |
2673 | 0 | CopyFrom(from); |
2674 | 0 | return *this; |
2675 | 0 | } |
2676 | | #if LANG_CXX11 |
2677 | | DrawPacket(DrawPacket&& from) noexcept |
2678 | 0 | : DrawPacket() { |
2679 | 0 | *this = ::std::move(from); |
2680 | 0 | } |
2681 | | |
2682 | 0 | inline DrawPacket& operator=(DrawPacket&& from) noexcept { |
2683 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2684 | 0 | if (this != &from) InternalSwap(&from); |
2685 | 0 | } else { |
2686 | 0 | CopyFrom(from); |
2687 | 0 | } |
2688 | 0 | return *this; |
2689 | 0 | } |
2690 | | #endif |
2691 | 0 | inline const ::std::string& unknown_fields() const { |
2692 | 0 | return _internal_metadata_.unknown_fields(); |
2693 | 0 | } |
2694 | 0 | inline ::std::string* mutable_unknown_fields() { |
2695 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2696 | 0 | } |
2697 | | |
2698 | | static const DrawPacket& default_instance(); |
2699 | | |
2700 | 0 | static inline const DrawPacket* internal_default_instance() { |
2701 | 0 | return reinterpret_cast<const DrawPacket*>( |
2702 | 0 | &_DrawPacket_default_instance_); |
2703 | 0 | } |
2704 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2705 | | 16; |
2706 | | |
2707 | | void Swap(DrawPacket* other); |
2708 | 0 | friend void swap(DrawPacket& a, DrawPacket& b) { |
2709 | 0 | a.Swap(&b); |
2710 | 0 | } |
2711 | | |
2712 | | // implements Message ---------------------------------------------- |
2713 | | |
2714 | 0 | inline DrawPacket* New() const PROTOBUF_FINAL { return New(NULL); } |
2715 | | |
2716 | | DrawPacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2717 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
2718 | | PROTOBUF_FINAL; |
2719 | | void CopyFrom(const DrawPacket& from); |
2720 | | void MergeFrom(const DrawPacket& from); |
2721 | | void Clear() PROTOBUF_FINAL; |
2722 | | bool IsInitialized() const PROTOBUF_FINAL; |
2723 | | |
2724 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2725 | | bool MergePartialFromCodedStream( |
2726 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2727 | | void SerializeWithCachedSizes( |
2728 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2729 | | void DiscardUnknownFields(); |
2730 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2731 | | private: |
2732 | | void SharedCtor(); |
2733 | | void SharedDtor(); |
2734 | | void SetCachedSize(int size) const; |
2735 | | void InternalSwap(DrawPacket* other); |
2736 | | private: |
2737 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2738 | 0 | return NULL; |
2739 | 0 | } |
2740 | 0 | inline void* MaybeArenaPtr() const { |
2741 | 0 | return NULL; |
2742 | 0 | } |
2743 | | public: |
2744 | | |
2745 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
2746 | | |
2747 | | // nested types ---------------------------------------------------- |
2748 | | |
2749 | | typedef DrawPacket_Rect Rect; |
2750 | | |
2751 | | // accessors ------------------------------------------------------- |
2752 | | |
2753 | | // repeated float mvMatrix = 3; |
2754 | | int mvmatrix_size() const; |
2755 | | void clear_mvmatrix(); |
2756 | | static const int kMvMatrixFieldNumber = 3; |
2757 | | float mvmatrix(int index) const; |
2758 | | void set_mvmatrix(int index, float value); |
2759 | | void add_mvmatrix(float value); |
2760 | | const ::google::protobuf::RepeatedField< float >& |
2761 | | mvmatrix() const; |
2762 | | ::google::protobuf::RepeatedField< float >* |
2763 | | mutable_mvmatrix(); |
2764 | | |
2765 | | // repeated .mozilla.layers.layerscope.DrawPacket.Rect layerRect = 5; |
2766 | | int layerrect_size() const; |
2767 | | void clear_layerrect(); |
2768 | | static const int kLayerRectFieldNumber = 5; |
2769 | | const ::mozilla::layers::layerscope::DrawPacket_Rect& layerrect(int index) const; |
2770 | | ::mozilla::layers::layerscope::DrawPacket_Rect* mutable_layerrect(int index); |
2771 | | ::mozilla::layers::layerscope::DrawPacket_Rect* add_layerrect(); |
2772 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >* |
2773 | | mutable_layerrect(); |
2774 | | const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >& |
2775 | | layerrect() const; |
2776 | | |
2777 | | // repeated uint32 texIDs = 7; |
2778 | | int texids_size() const; |
2779 | | void clear_texids(); |
2780 | | static const int kTexIDsFieldNumber = 7; |
2781 | | ::google::protobuf::uint32 texids(int index) const; |
2782 | | void set_texids(int index, ::google::protobuf::uint32 value); |
2783 | | void add_texids(::google::protobuf::uint32 value); |
2784 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
2785 | | texids() const; |
2786 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
2787 | | mutable_texids(); |
2788 | | |
2789 | | // repeated .mozilla.layers.layerscope.DrawPacket.Rect textureRect = 8; |
2790 | | int texturerect_size() const; |
2791 | | void clear_texturerect(); |
2792 | | static const int kTextureRectFieldNumber = 8; |
2793 | | const ::mozilla::layers::layerscope::DrawPacket_Rect& texturerect(int index) const; |
2794 | | ::mozilla::layers::layerscope::DrawPacket_Rect* mutable_texturerect(int index); |
2795 | | ::mozilla::layers::layerscope::DrawPacket_Rect* add_texturerect(); |
2796 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >* |
2797 | | mutable_texturerect(); |
2798 | | const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >& |
2799 | | texturerect() const; |
2800 | | |
2801 | | // required float offsetX = 1; |
2802 | | bool has_offsetx() const; |
2803 | | void clear_offsetx(); |
2804 | | static const int kOffsetXFieldNumber = 1; |
2805 | | float offsetx() const; |
2806 | | void set_offsetx(float value); |
2807 | | |
2808 | | // required float offsetY = 2; |
2809 | | bool has_offsety() const; |
2810 | | void clear_offsety(); |
2811 | | static const int kOffsetYFieldNumber = 2; |
2812 | | float offsety() const; |
2813 | | void set_offsety(float value); |
2814 | | |
2815 | | // required uint64 layerref = 6; |
2816 | | bool has_layerref() const; |
2817 | | void clear_layerref(); |
2818 | | static const int kLayerrefFieldNumber = 6; |
2819 | | ::google::protobuf::uint64 layerref() const; |
2820 | | void set_layerref(::google::protobuf::uint64 value); |
2821 | | |
2822 | | // required uint32 totalRects = 4; |
2823 | | bool has_totalrects() const; |
2824 | | void clear_totalrects(); |
2825 | | static const int kTotalRectsFieldNumber = 4; |
2826 | | ::google::protobuf::uint32 totalrects() const; |
2827 | | void set_totalrects(::google::protobuf::uint32 value); |
2828 | | |
2829 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.DrawPacket) |
2830 | | private: |
2831 | | void set_has_offsetx(); |
2832 | | void clear_has_offsetx(); |
2833 | | void set_has_offsety(); |
2834 | | void clear_has_offsety(); |
2835 | | void set_has_totalrects(); |
2836 | | void clear_has_totalrects(); |
2837 | | void set_has_layerref(); |
2838 | | void clear_has_layerref(); |
2839 | | |
2840 | | // helper for ByteSizeLong() |
2841 | | size_t RequiredFieldsByteSizeFallback() const; |
2842 | | |
2843 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
2844 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2845 | | mutable int _cached_size_; |
2846 | | ::google::protobuf::RepeatedField< float > mvmatrix_; |
2847 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect > layerrect_; |
2848 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > texids_; |
2849 | | ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect > texturerect_; |
2850 | | float offsetx_; |
2851 | | float offsety_; |
2852 | | ::google::protobuf::uint64 layerref_; |
2853 | | ::google::protobuf::uint32 totalrects_; |
2854 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
2855 | | }; |
2856 | | // ------------------------------------------------------------------- |
2857 | | |
2858 | | class Packet : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.Packet) */ { |
2859 | | public: |
2860 | | Packet(); |
2861 | | virtual ~Packet(); |
2862 | | |
2863 | | Packet(const Packet& from); |
2864 | | |
2865 | 0 | inline Packet& operator=(const Packet& from) { |
2866 | 0 | CopyFrom(from); |
2867 | 0 | return *this; |
2868 | 0 | } |
2869 | | #if LANG_CXX11 |
2870 | | Packet(Packet&& from) noexcept |
2871 | 0 | : Packet() { |
2872 | 0 | *this = ::std::move(from); |
2873 | 0 | } |
2874 | | |
2875 | 0 | inline Packet& operator=(Packet&& from) noexcept { |
2876 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2877 | 0 | if (this != &from) InternalSwap(&from); |
2878 | 0 | } else { |
2879 | 0 | CopyFrom(from); |
2880 | 0 | } |
2881 | 0 | return *this; |
2882 | 0 | } |
2883 | | #endif |
2884 | 0 | inline const ::std::string& unknown_fields() const { |
2885 | 0 | return _internal_metadata_.unknown_fields(); |
2886 | 0 | } |
2887 | 0 | inline ::std::string* mutable_unknown_fields() { |
2888 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2889 | 0 | } |
2890 | | |
2891 | | static const Packet& default_instance(); |
2892 | | |
2893 | 0 | static inline const Packet* internal_default_instance() { |
2894 | 0 | return reinterpret_cast<const Packet*>( |
2895 | 0 | &_Packet_default_instance_); |
2896 | 0 | } |
2897 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2898 | | 17; |
2899 | | |
2900 | | void Swap(Packet* other); |
2901 | 0 | friend void swap(Packet& a, Packet& b) { |
2902 | 0 | a.Swap(&b); |
2903 | 0 | } |
2904 | | |
2905 | | // implements Message ---------------------------------------------- |
2906 | | |
2907 | 0 | inline Packet* New() const PROTOBUF_FINAL { return New(NULL); } |
2908 | | |
2909 | | Packet* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2910 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
2911 | | PROTOBUF_FINAL; |
2912 | | void CopyFrom(const Packet& from); |
2913 | | void MergeFrom(const Packet& from); |
2914 | | void Clear() PROTOBUF_FINAL; |
2915 | | bool IsInitialized() const PROTOBUF_FINAL; |
2916 | | |
2917 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2918 | | bool MergePartialFromCodedStream( |
2919 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2920 | | void SerializeWithCachedSizes( |
2921 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2922 | | void DiscardUnknownFields(); |
2923 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2924 | | private: |
2925 | | void SharedCtor(); |
2926 | | void SharedDtor(); |
2927 | | void SetCachedSize(int size) const; |
2928 | | void InternalSwap(Packet* other); |
2929 | | private: |
2930 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2931 | 0 | return NULL; |
2932 | 0 | } |
2933 | 0 | inline void* MaybeArenaPtr() const { |
2934 | 0 | return NULL; |
2935 | 0 | } |
2936 | | public: |
2937 | | |
2938 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
2939 | | |
2940 | | // nested types ---------------------------------------------------- |
2941 | | |
2942 | | typedef Packet_DataType DataType; |
2943 | | static const DataType FRAMESTART = |
2944 | | Packet_DataType_FRAMESTART; |
2945 | | static const DataType FRAMEEND = |
2946 | | Packet_DataType_FRAMEEND; |
2947 | | static const DataType COLOR = |
2948 | | Packet_DataType_COLOR; |
2949 | | static const DataType TEXTURE = |
2950 | | Packet_DataType_TEXTURE; |
2951 | | static const DataType LAYERS = |
2952 | | Packet_DataType_LAYERS; |
2953 | | static const DataType META = |
2954 | | Packet_DataType_META; |
2955 | | static const DataType DRAW = |
2956 | | Packet_DataType_DRAW; |
2957 | 0 | static inline bool DataType_IsValid(int value) { |
2958 | 0 | return Packet_DataType_IsValid(value); |
2959 | 0 | } |
2960 | | static const DataType DataType_MIN = |
2961 | | Packet_DataType_DataType_MIN; |
2962 | | static const DataType DataType_MAX = |
2963 | | Packet_DataType_DataType_MAX; |
2964 | | static const int DataType_ARRAYSIZE = |
2965 | | Packet_DataType_DataType_ARRAYSIZE; |
2966 | | |
2967 | | // accessors ------------------------------------------------------- |
2968 | | |
2969 | | // optional .mozilla.layers.layerscope.FramePacket frame = 2; |
2970 | | bool has_frame() const; |
2971 | | void clear_frame(); |
2972 | | static const int kFrameFieldNumber = 2; |
2973 | | const ::mozilla::layers::layerscope::FramePacket& frame() const; |
2974 | | ::mozilla::layers::layerscope::FramePacket* mutable_frame(); |
2975 | | ::mozilla::layers::layerscope::FramePacket* release_frame(); |
2976 | | void set_allocated_frame(::mozilla::layers::layerscope::FramePacket* frame); |
2977 | | |
2978 | | // optional .mozilla.layers.layerscope.ColorPacket color = 3; |
2979 | | bool has_color() const; |
2980 | | void clear_color(); |
2981 | | static const int kColorFieldNumber = 3; |
2982 | | const ::mozilla::layers::layerscope::ColorPacket& color() const; |
2983 | | ::mozilla::layers::layerscope::ColorPacket* mutable_color(); |
2984 | | ::mozilla::layers::layerscope::ColorPacket* release_color(); |
2985 | | void set_allocated_color(::mozilla::layers::layerscope::ColorPacket* color); |
2986 | | |
2987 | | // optional .mozilla.layers.layerscope.TexturePacket texture = 4; |
2988 | | bool has_texture() const; |
2989 | | void clear_texture(); |
2990 | | static const int kTextureFieldNumber = 4; |
2991 | | const ::mozilla::layers::layerscope::TexturePacket& texture() const; |
2992 | | ::mozilla::layers::layerscope::TexturePacket* mutable_texture(); |
2993 | | ::mozilla::layers::layerscope::TexturePacket* release_texture(); |
2994 | | void set_allocated_texture(::mozilla::layers::layerscope::TexturePacket* texture); |
2995 | | |
2996 | | // optional .mozilla.layers.layerscope.LayersPacket layers = 5; |
2997 | | bool has_layers() const; |
2998 | | void clear_layers(); |
2999 | | static const int kLayersFieldNumber = 5; |
3000 | | const ::mozilla::layers::layerscope::LayersPacket& layers() const; |
3001 | | ::mozilla::layers::layerscope::LayersPacket* mutable_layers(); |
3002 | | ::mozilla::layers::layerscope::LayersPacket* release_layers(); |
3003 | | void set_allocated_layers(::mozilla::layers::layerscope::LayersPacket* layers); |
3004 | | |
3005 | | // optional .mozilla.layers.layerscope.MetaPacket meta = 6; |
3006 | | bool has_meta() const; |
3007 | | void clear_meta(); |
3008 | | static const int kMetaFieldNumber = 6; |
3009 | | const ::mozilla::layers::layerscope::MetaPacket& meta() const; |
3010 | | ::mozilla::layers::layerscope::MetaPacket* mutable_meta(); |
3011 | | ::mozilla::layers::layerscope::MetaPacket* release_meta(); |
3012 | | void set_allocated_meta(::mozilla::layers::layerscope::MetaPacket* meta); |
3013 | | |
3014 | | // optional .mozilla.layers.layerscope.DrawPacket draw = 7; |
3015 | | bool has_draw() const; |
3016 | | void clear_draw(); |
3017 | | static const int kDrawFieldNumber = 7; |
3018 | | const ::mozilla::layers::layerscope::DrawPacket& draw() const; |
3019 | | ::mozilla::layers::layerscope::DrawPacket* mutable_draw(); |
3020 | | ::mozilla::layers::layerscope::DrawPacket* release_draw(); |
3021 | | void set_allocated_draw(::mozilla::layers::layerscope::DrawPacket* draw); |
3022 | | |
3023 | | // required .mozilla.layers.layerscope.Packet.DataType type = 1; |
3024 | | bool has_type() const; |
3025 | | void clear_type(); |
3026 | | static const int kTypeFieldNumber = 1; |
3027 | | ::mozilla::layers::layerscope::Packet_DataType type() const; |
3028 | | void set_type(::mozilla::layers::layerscope::Packet_DataType value); |
3029 | | |
3030 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.Packet) |
3031 | | private: |
3032 | | void set_has_type(); |
3033 | | void clear_has_type(); |
3034 | | void set_has_frame(); |
3035 | | void clear_has_frame(); |
3036 | | void set_has_color(); |
3037 | | void clear_has_color(); |
3038 | | void set_has_texture(); |
3039 | | void clear_has_texture(); |
3040 | | void set_has_layers(); |
3041 | | void clear_has_layers(); |
3042 | | void set_has_meta(); |
3043 | | void clear_has_meta(); |
3044 | | void set_has_draw(); |
3045 | | void clear_has_draw(); |
3046 | | |
3047 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
3048 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3049 | | mutable int _cached_size_; |
3050 | | ::mozilla::layers::layerscope::FramePacket* frame_; |
3051 | | ::mozilla::layers::layerscope::ColorPacket* color_; |
3052 | | ::mozilla::layers::layerscope::TexturePacket* texture_; |
3053 | | ::mozilla::layers::layerscope::LayersPacket* layers_; |
3054 | | ::mozilla::layers::layerscope::MetaPacket* meta_; |
3055 | | ::mozilla::layers::layerscope::DrawPacket* draw_; |
3056 | | int type_; |
3057 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
3058 | | }; |
3059 | | // ------------------------------------------------------------------- |
3060 | | |
3061 | | class CommandPacket : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:mozilla.layers.layerscope.CommandPacket) */ { |
3062 | | public: |
3063 | | CommandPacket(); |
3064 | | virtual ~CommandPacket(); |
3065 | | |
3066 | | CommandPacket(const CommandPacket& from); |
3067 | | |
3068 | 0 | inline CommandPacket& operator=(const CommandPacket& from) { |
3069 | 0 | CopyFrom(from); |
3070 | 0 | return *this; |
3071 | 0 | } |
3072 | | #if LANG_CXX11 |
3073 | | CommandPacket(CommandPacket&& from) noexcept |
3074 | 0 | : CommandPacket() { |
3075 | 0 | *this = ::std::move(from); |
3076 | 0 | } |
3077 | | |
3078 | 0 | inline CommandPacket& operator=(CommandPacket&& from) noexcept { |
3079 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3080 | 0 | if (this != &from) InternalSwap(&from); |
3081 | 0 | } else { |
3082 | 0 | CopyFrom(from); |
3083 | 0 | } |
3084 | 0 | return *this; |
3085 | 0 | } |
3086 | | #endif |
3087 | 0 | inline const ::std::string& unknown_fields() const { |
3088 | 0 | return _internal_metadata_.unknown_fields(); |
3089 | 0 | } |
3090 | 0 | inline ::std::string* mutable_unknown_fields() { |
3091 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3092 | 0 | } |
3093 | | |
3094 | | static const CommandPacket& default_instance(); |
3095 | | |
3096 | 0 | static inline const CommandPacket* internal_default_instance() { |
3097 | 0 | return reinterpret_cast<const CommandPacket*>( |
3098 | 0 | &_CommandPacket_default_instance_); |
3099 | 0 | } |
3100 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3101 | | 18; |
3102 | | |
3103 | | void Swap(CommandPacket* other); |
3104 | 0 | friend void swap(CommandPacket& a, CommandPacket& b) { |
3105 | 0 | a.Swap(&b); |
3106 | 0 | } |
3107 | | |
3108 | | // implements Message ---------------------------------------------- |
3109 | | |
3110 | 0 | inline CommandPacket* New() const PROTOBUF_FINAL { return New(NULL); } |
3111 | | |
3112 | | CommandPacket* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3113 | | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) |
3114 | | PROTOBUF_FINAL; |
3115 | | void CopyFrom(const CommandPacket& from); |
3116 | | void MergeFrom(const CommandPacket& from); |
3117 | | void Clear() PROTOBUF_FINAL; |
3118 | | bool IsInitialized() const PROTOBUF_FINAL; |
3119 | | |
3120 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3121 | | bool MergePartialFromCodedStream( |
3122 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3123 | | void SerializeWithCachedSizes( |
3124 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3125 | | void DiscardUnknownFields(); |
3126 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3127 | | private: |
3128 | | void SharedCtor(); |
3129 | | void SharedDtor(); |
3130 | | void SetCachedSize(int size) const; |
3131 | | void InternalSwap(CommandPacket* other); |
3132 | | private: |
3133 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3134 | 0 | return NULL; |
3135 | 0 | } |
3136 | 0 | inline void* MaybeArenaPtr() const { |
3137 | 0 | return NULL; |
3138 | 0 | } |
3139 | | public: |
3140 | | |
3141 | | ::std::string GetTypeName() const PROTOBUF_FINAL; |
3142 | | |
3143 | | // nested types ---------------------------------------------------- |
3144 | | |
3145 | | typedef CommandPacket_CmdType CmdType; |
3146 | | static const CmdType NO_OP = |
3147 | | CommandPacket_CmdType_NO_OP; |
3148 | | static const CmdType LAYERS_TREE = |
3149 | | CommandPacket_CmdType_LAYERS_TREE; |
3150 | | static const CmdType LAYERS_BUFFER = |
3151 | | CommandPacket_CmdType_LAYERS_BUFFER; |
3152 | 0 | static inline bool CmdType_IsValid(int value) { |
3153 | 0 | return CommandPacket_CmdType_IsValid(value); |
3154 | 0 | } |
3155 | | static const CmdType CmdType_MIN = |
3156 | | CommandPacket_CmdType_CmdType_MIN; |
3157 | | static const CmdType CmdType_MAX = |
3158 | | CommandPacket_CmdType_CmdType_MAX; |
3159 | | static const int CmdType_ARRAYSIZE = |
3160 | | CommandPacket_CmdType_CmdType_ARRAYSIZE; |
3161 | | |
3162 | | // accessors ------------------------------------------------------- |
3163 | | |
3164 | | // required .mozilla.layers.layerscope.CommandPacket.CmdType type = 1; |
3165 | | bool has_type() const; |
3166 | | void clear_type(); |
3167 | | static const int kTypeFieldNumber = 1; |
3168 | | ::mozilla::layers::layerscope::CommandPacket_CmdType type() const; |
3169 | | void set_type(::mozilla::layers::layerscope::CommandPacket_CmdType value); |
3170 | | |
3171 | | // optional bool value = 2; |
3172 | | bool has_value() const; |
3173 | | void clear_value(); |
3174 | | static const int kValueFieldNumber = 2; |
3175 | | bool value() const; |
3176 | | void set_value(bool value); |
3177 | | |
3178 | | // @@protoc_insertion_point(class_scope:mozilla.layers.layerscope.CommandPacket) |
3179 | | private: |
3180 | | void set_has_type(); |
3181 | | void clear_has_type(); |
3182 | | void set_has_value(); |
3183 | | void clear_has_value(); |
3184 | | |
3185 | | ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; |
3186 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3187 | | mutable int _cached_size_; |
3188 | | int type_; |
3189 | | bool value_; |
3190 | | friend struct protobuf_LayerScopePacket_2eproto::TableStruct; |
3191 | | }; |
3192 | | // =================================================================== |
3193 | | |
3194 | | |
3195 | | // =================================================================== |
3196 | | |
3197 | | #if !PROTOBUF_INLINE_NOT_IN_HEADERS |
3198 | | #ifdef __GNUC__ |
3199 | | #pragma GCC diagnostic push |
3200 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
3201 | | #endif // __GNUC__ |
3202 | | // FramePacket |
3203 | | |
3204 | | // optional uint64 value = 1; |
3205 | 0 | inline bool FramePacket::has_value() const { |
3206 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3207 | 0 | } |
3208 | 0 | inline void FramePacket::set_has_value() { |
3209 | 0 | _has_bits_[0] |= 0x00000001u; |
3210 | 0 | } |
3211 | 0 | inline void FramePacket::clear_has_value() { |
3212 | 0 | _has_bits_[0] &= ~0x00000001u; |
3213 | 0 | } |
3214 | 0 | inline void FramePacket::clear_value() { |
3215 | 0 | value_ = GOOGLE_ULONGLONG(0); |
3216 | 0 | clear_has_value(); |
3217 | 0 | } |
3218 | 0 | inline ::google::protobuf::uint64 FramePacket::value() const { |
3219 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.FramePacket.value) |
3220 | 0 | return value_; |
3221 | 0 | } |
3222 | 0 | inline void FramePacket::set_value(::google::protobuf::uint64 value) { |
3223 | 0 | set_has_value(); |
3224 | 0 | value_ = value; |
3225 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.FramePacket.value) |
3226 | 0 | } |
3227 | | |
3228 | | // optional float scale = 2; |
3229 | 0 | inline bool FramePacket::has_scale() const { |
3230 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3231 | 0 | } |
3232 | 0 | inline void FramePacket::set_has_scale() { |
3233 | 0 | _has_bits_[0] |= 0x00000002u; |
3234 | 0 | } |
3235 | 0 | inline void FramePacket::clear_has_scale() { |
3236 | 0 | _has_bits_[0] &= ~0x00000002u; |
3237 | 0 | } |
3238 | 0 | inline void FramePacket::clear_scale() { |
3239 | 0 | scale_ = 0; |
3240 | 0 | clear_has_scale(); |
3241 | 0 | } |
3242 | 0 | inline float FramePacket::scale() const { |
3243 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.FramePacket.scale) |
3244 | 0 | return scale_; |
3245 | 0 | } |
3246 | 0 | inline void FramePacket::set_scale(float value) { |
3247 | 0 | set_has_scale(); |
3248 | 0 | scale_ = value; |
3249 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.FramePacket.scale) |
3250 | 0 | } |
3251 | | |
3252 | | // ------------------------------------------------------------------- |
3253 | | |
3254 | | // ColorPacket |
3255 | | |
3256 | | // required uint64 layerref = 1; |
3257 | 0 | inline bool ColorPacket::has_layerref() const { |
3258 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3259 | 0 | } |
3260 | 0 | inline void ColorPacket::set_has_layerref() { |
3261 | 0 | _has_bits_[0] |= 0x00000001u; |
3262 | 0 | } |
3263 | 0 | inline void ColorPacket::clear_has_layerref() { |
3264 | 0 | _has_bits_[0] &= ~0x00000001u; |
3265 | 0 | } |
3266 | 0 | inline void ColorPacket::clear_layerref() { |
3267 | 0 | layerref_ = GOOGLE_ULONGLONG(0); |
3268 | 0 | clear_has_layerref(); |
3269 | 0 | } |
3270 | 0 | inline ::google::protobuf::uint64 ColorPacket::layerref() const { |
3271 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.ColorPacket.layerref) |
3272 | 0 | return layerref_; |
3273 | 0 | } |
3274 | 0 | inline void ColorPacket::set_layerref(::google::protobuf::uint64 value) { |
3275 | 0 | set_has_layerref(); |
3276 | 0 | layerref_ = value; |
3277 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.ColorPacket.layerref) |
3278 | 0 | } |
3279 | | |
3280 | | // optional uint32 width = 2; |
3281 | 0 | inline bool ColorPacket::has_width() const { |
3282 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3283 | 0 | } |
3284 | 0 | inline void ColorPacket::set_has_width() { |
3285 | 0 | _has_bits_[0] |= 0x00000002u; |
3286 | 0 | } |
3287 | 0 | inline void ColorPacket::clear_has_width() { |
3288 | 0 | _has_bits_[0] &= ~0x00000002u; |
3289 | 0 | } |
3290 | 0 | inline void ColorPacket::clear_width() { |
3291 | 0 | width_ = 0u; |
3292 | 0 | clear_has_width(); |
3293 | 0 | } |
3294 | 0 | inline ::google::protobuf::uint32 ColorPacket::width() const { |
3295 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.ColorPacket.width) |
3296 | 0 | return width_; |
3297 | 0 | } |
3298 | 0 | inline void ColorPacket::set_width(::google::protobuf::uint32 value) { |
3299 | 0 | set_has_width(); |
3300 | 0 | width_ = value; |
3301 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.ColorPacket.width) |
3302 | 0 | } |
3303 | | |
3304 | | // optional uint32 height = 3; |
3305 | 0 | inline bool ColorPacket::has_height() const { |
3306 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
3307 | 0 | } |
3308 | 0 | inline void ColorPacket::set_has_height() { |
3309 | 0 | _has_bits_[0] |= 0x00000004u; |
3310 | 0 | } |
3311 | 0 | inline void ColorPacket::clear_has_height() { |
3312 | 0 | _has_bits_[0] &= ~0x00000004u; |
3313 | 0 | } |
3314 | 0 | inline void ColorPacket::clear_height() { |
3315 | 0 | height_ = 0u; |
3316 | 0 | clear_has_height(); |
3317 | 0 | } |
3318 | 0 | inline ::google::protobuf::uint32 ColorPacket::height() const { |
3319 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.ColorPacket.height) |
3320 | 0 | return height_; |
3321 | 0 | } |
3322 | 0 | inline void ColorPacket::set_height(::google::protobuf::uint32 value) { |
3323 | 0 | set_has_height(); |
3324 | 0 | height_ = value; |
3325 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.ColorPacket.height) |
3326 | 0 | } |
3327 | | |
3328 | | // optional uint32 color = 4; |
3329 | 0 | inline bool ColorPacket::has_color() const { |
3330 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
3331 | 0 | } |
3332 | 0 | inline void ColorPacket::set_has_color() { |
3333 | 0 | _has_bits_[0] |= 0x00000008u; |
3334 | 0 | } |
3335 | 0 | inline void ColorPacket::clear_has_color() { |
3336 | 0 | _has_bits_[0] &= ~0x00000008u; |
3337 | 0 | } |
3338 | 0 | inline void ColorPacket::clear_color() { |
3339 | 0 | color_ = 0u; |
3340 | 0 | clear_has_color(); |
3341 | 0 | } |
3342 | 0 | inline ::google::protobuf::uint32 ColorPacket::color() const { |
3343 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.ColorPacket.color) |
3344 | 0 | return color_; |
3345 | 0 | } |
3346 | 0 | inline void ColorPacket::set_color(::google::protobuf::uint32 value) { |
3347 | 0 | set_has_color(); |
3348 | 0 | color_ = value; |
3349 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.ColorPacket.color) |
3350 | 0 | } |
3351 | | |
3352 | | // ------------------------------------------------------------------- |
3353 | | |
3354 | | // TexturePacket_Rect |
3355 | | |
3356 | | // optional float x = 1; |
3357 | 0 | inline bool TexturePacket_Rect::has_x() const { |
3358 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3359 | 0 | } |
3360 | 0 | inline void TexturePacket_Rect::set_has_x() { |
3361 | 0 | _has_bits_[0] |= 0x00000001u; |
3362 | 0 | } |
3363 | 0 | inline void TexturePacket_Rect::clear_has_x() { |
3364 | 0 | _has_bits_[0] &= ~0x00000001u; |
3365 | 0 | } |
3366 | 0 | inline void TexturePacket_Rect::clear_x() { |
3367 | 0 | x_ = 0; |
3368 | 0 | clear_has_x(); |
3369 | 0 | } |
3370 | 0 | inline float TexturePacket_Rect::x() const { |
3371 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Rect.x) |
3372 | 0 | return x_; |
3373 | 0 | } |
3374 | 0 | inline void TexturePacket_Rect::set_x(float value) { |
3375 | 0 | set_has_x(); |
3376 | 0 | x_ = value; |
3377 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Rect.x) |
3378 | 0 | } |
3379 | | |
3380 | | // optional float y = 2; |
3381 | 0 | inline bool TexturePacket_Rect::has_y() const { |
3382 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3383 | 0 | } |
3384 | 0 | inline void TexturePacket_Rect::set_has_y() { |
3385 | 0 | _has_bits_[0] |= 0x00000002u; |
3386 | 0 | } |
3387 | 0 | inline void TexturePacket_Rect::clear_has_y() { |
3388 | 0 | _has_bits_[0] &= ~0x00000002u; |
3389 | 0 | } |
3390 | 0 | inline void TexturePacket_Rect::clear_y() { |
3391 | 0 | y_ = 0; |
3392 | 0 | clear_has_y(); |
3393 | 0 | } |
3394 | 0 | inline float TexturePacket_Rect::y() const { |
3395 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Rect.y) |
3396 | 0 | return y_; |
3397 | 0 | } |
3398 | 0 | inline void TexturePacket_Rect::set_y(float value) { |
3399 | 0 | set_has_y(); |
3400 | 0 | y_ = value; |
3401 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Rect.y) |
3402 | 0 | } |
3403 | | |
3404 | | // optional float w = 3; |
3405 | 0 | inline bool TexturePacket_Rect::has_w() const { |
3406 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
3407 | 0 | } |
3408 | 0 | inline void TexturePacket_Rect::set_has_w() { |
3409 | 0 | _has_bits_[0] |= 0x00000004u; |
3410 | 0 | } |
3411 | 0 | inline void TexturePacket_Rect::clear_has_w() { |
3412 | 0 | _has_bits_[0] &= ~0x00000004u; |
3413 | 0 | } |
3414 | 0 | inline void TexturePacket_Rect::clear_w() { |
3415 | 0 | w_ = 0; |
3416 | 0 | clear_has_w(); |
3417 | 0 | } |
3418 | 0 | inline float TexturePacket_Rect::w() const { |
3419 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Rect.w) |
3420 | 0 | return w_; |
3421 | 0 | } |
3422 | 0 | inline void TexturePacket_Rect::set_w(float value) { |
3423 | 0 | set_has_w(); |
3424 | 0 | w_ = value; |
3425 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Rect.w) |
3426 | 0 | } |
3427 | | |
3428 | | // optional float h = 4; |
3429 | 0 | inline bool TexturePacket_Rect::has_h() const { |
3430 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
3431 | 0 | } |
3432 | 0 | inline void TexturePacket_Rect::set_has_h() { |
3433 | 0 | _has_bits_[0] |= 0x00000008u; |
3434 | 0 | } |
3435 | 0 | inline void TexturePacket_Rect::clear_has_h() { |
3436 | 0 | _has_bits_[0] &= ~0x00000008u; |
3437 | 0 | } |
3438 | 0 | inline void TexturePacket_Rect::clear_h() { |
3439 | 0 | h_ = 0; |
3440 | 0 | clear_has_h(); |
3441 | 0 | } |
3442 | 0 | inline float TexturePacket_Rect::h() const { |
3443 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Rect.h) |
3444 | 0 | return h_; |
3445 | 0 | } |
3446 | 0 | inline void TexturePacket_Rect::set_h(float value) { |
3447 | 0 | set_has_h(); |
3448 | 0 | h_ = value; |
3449 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Rect.h) |
3450 | 0 | } |
3451 | | |
3452 | | // ------------------------------------------------------------------- |
3453 | | |
3454 | | // TexturePacket_Size |
3455 | | |
3456 | | // optional int32 w = 1; |
3457 | 0 | inline bool TexturePacket_Size::has_w() const { |
3458 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3459 | 0 | } |
3460 | 0 | inline void TexturePacket_Size::set_has_w() { |
3461 | 0 | _has_bits_[0] |= 0x00000001u; |
3462 | 0 | } |
3463 | 0 | inline void TexturePacket_Size::clear_has_w() { |
3464 | 0 | _has_bits_[0] &= ~0x00000001u; |
3465 | 0 | } |
3466 | 0 | inline void TexturePacket_Size::clear_w() { |
3467 | 0 | w_ = 0; |
3468 | 0 | clear_has_w(); |
3469 | 0 | } |
3470 | 0 | inline ::google::protobuf::int32 TexturePacket_Size::w() const { |
3471 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Size.w) |
3472 | 0 | return w_; |
3473 | 0 | } |
3474 | 0 | inline void TexturePacket_Size::set_w(::google::protobuf::int32 value) { |
3475 | 0 | set_has_w(); |
3476 | 0 | w_ = value; |
3477 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Size.w) |
3478 | 0 | } |
3479 | | |
3480 | | // optional int32 h = 2; |
3481 | 0 | inline bool TexturePacket_Size::has_h() const { |
3482 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3483 | 0 | } |
3484 | 0 | inline void TexturePacket_Size::set_has_h() { |
3485 | 0 | _has_bits_[0] |= 0x00000002u; |
3486 | 0 | } |
3487 | 0 | inline void TexturePacket_Size::clear_has_h() { |
3488 | 0 | _has_bits_[0] &= ~0x00000002u; |
3489 | 0 | } |
3490 | 0 | inline void TexturePacket_Size::clear_h() { |
3491 | 0 | h_ = 0; |
3492 | 0 | clear_has_h(); |
3493 | 0 | } |
3494 | 0 | inline ::google::protobuf::int32 TexturePacket_Size::h() const { |
3495 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Size.h) |
3496 | 0 | return h_; |
3497 | 0 | } |
3498 | 0 | inline void TexturePacket_Size::set_h(::google::protobuf::int32 value) { |
3499 | 0 | set_has_h(); |
3500 | 0 | h_ = value; |
3501 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Size.h) |
3502 | 0 | } |
3503 | | |
3504 | | // ------------------------------------------------------------------- |
3505 | | |
3506 | | // TexturePacket_Matrix |
3507 | | |
3508 | | // optional bool is2D = 1; |
3509 | 0 | inline bool TexturePacket_Matrix::has_is2d() const { |
3510 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3511 | 0 | } |
3512 | 0 | inline void TexturePacket_Matrix::set_has_is2d() { |
3513 | 0 | _has_bits_[0] |= 0x00000001u; |
3514 | 0 | } |
3515 | 0 | inline void TexturePacket_Matrix::clear_has_is2d() { |
3516 | 0 | _has_bits_[0] &= ~0x00000001u; |
3517 | 0 | } |
3518 | 0 | inline void TexturePacket_Matrix::clear_is2d() { |
3519 | 0 | is2d_ = false; |
3520 | 0 | clear_has_is2d(); |
3521 | 0 | } |
3522 | 0 | inline bool TexturePacket_Matrix::is2d() const { |
3523 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Matrix.is2D) |
3524 | 0 | return is2d_; |
3525 | 0 | } |
3526 | 0 | inline void TexturePacket_Matrix::set_is2d(bool value) { |
3527 | 0 | set_has_is2d(); |
3528 | 0 | is2d_ = value; |
3529 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Matrix.is2D) |
3530 | 0 | } |
3531 | | |
3532 | | // optional bool isId = 2; |
3533 | 0 | inline bool TexturePacket_Matrix::has_isid() const { |
3534 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3535 | 0 | } |
3536 | 0 | inline void TexturePacket_Matrix::set_has_isid() { |
3537 | 0 | _has_bits_[0] |= 0x00000002u; |
3538 | 0 | } |
3539 | 0 | inline void TexturePacket_Matrix::clear_has_isid() { |
3540 | 0 | _has_bits_[0] &= ~0x00000002u; |
3541 | 0 | } |
3542 | 0 | inline void TexturePacket_Matrix::clear_isid() { |
3543 | 0 | isid_ = false; |
3544 | 0 | clear_has_isid(); |
3545 | 0 | } |
3546 | 0 | inline bool TexturePacket_Matrix::isid() const { |
3547 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Matrix.isId) |
3548 | 0 | return isid_; |
3549 | 0 | } |
3550 | 0 | inline void TexturePacket_Matrix::set_isid(bool value) { |
3551 | 0 | set_has_isid(); |
3552 | 0 | isid_ = value; |
3553 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Matrix.isId) |
3554 | 0 | } |
3555 | | |
3556 | | // repeated float m = 3; |
3557 | 0 | inline int TexturePacket_Matrix::m_size() const { |
3558 | 0 | return m_.size(); |
3559 | 0 | } |
3560 | 0 | inline void TexturePacket_Matrix::clear_m() { |
3561 | 0 | m_.Clear(); |
3562 | 0 | } |
3563 | 0 | inline float TexturePacket_Matrix::m(int index) const { |
3564 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.Matrix.m) |
3565 | 0 | return m_.Get(index); |
3566 | 0 | } |
3567 | 0 | inline void TexturePacket_Matrix::set_m(int index, float value) { |
3568 | 0 | m_.Set(index, value); |
3569 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.Matrix.m) |
3570 | 0 | } |
3571 | 0 | inline void TexturePacket_Matrix::add_m(float value) { |
3572 | 0 | m_.Add(value); |
3573 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.TexturePacket.Matrix.m) |
3574 | 0 | } |
3575 | | inline const ::google::protobuf::RepeatedField< float >& |
3576 | 0 | TexturePacket_Matrix::m() const { |
3577 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.TexturePacket.Matrix.m) |
3578 | 0 | return m_; |
3579 | 0 | } |
3580 | | inline ::google::protobuf::RepeatedField< float >* |
3581 | 0 | TexturePacket_Matrix::mutable_m() { |
3582 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.TexturePacket.Matrix.m) |
3583 | 0 | return &m_; |
3584 | 0 | } |
3585 | | |
3586 | | // ------------------------------------------------------------------- |
3587 | | |
3588 | | // TexturePacket_EffectMask |
3589 | | |
3590 | | // optional bool mIs3D = 1; |
3591 | 0 | inline bool TexturePacket_EffectMask::has_mis3d() const { |
3592 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
3593 | 0 | } |
3594 | 0 | inline void TexturePacket_EffectMask::set_has_mis3d() { |
3595 | 0 | _has_bits_[0] |= 0x00000004u; |
3596 | 0 | } |
3597 | 0 | inline void TexturePacket_EffectMask::clear_has_mis3d() { |
3598 | 0 | _has_bits_[0] &= ~0x00000004u; |
3599 | 0 | } |
3600 | 0 | inline void TexturePacket_EffectMask::clear_mis3d() { |
3601 | 0 | mis3d_ = false; |
3602 | 0 | clear_has_mis3d(); |
3603 | 0 | } |
3604 | 0 | inline bool TexturePacket_EffectMask::mis3d() const { |
3605 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.EffectMask.mIs3D) |
3606 | 0 | return mis3d_; |
3607 | 0 | } |
3608 | 0 | inline void TexturePacket_EffectMask::set_mis3d(bool value) { |
3609 | 0 | set_has_mis3d(); |
3610 | 0 | mis3d_ = value; |
3611 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.EffectMask.mIs3D) |
3612 | 0 | } |
3613 | | |
3614 | | // optional .mozilla.layers.layerscope.TexturePacket.Size mSize = 2; |
3615 | 0 | inline bool TexturePacket_EffectMask::has_msize() const { |
3616 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3617 | 0 | } |
3618 | 0 | inline void TexturePacket_EffectMask::set_has_msize() { |
3619 | 0 | _has_bits_[0] |= 0x00000001u; |
3620 | 0 | } |
3621 | 0 | inline void TexturePacket_EffectMask::clear_has_msize() { |
3622 | 0 | _has_bits_[0] &= ~0x00000001u; |
3623 | 0 | } |
3624 | 0 | inline void TexturePacket_EffectMask::clear_msize() { |
3625 | 0 | if (msize_ != NULL) msize_->::mozilla::layers::layerscope::TexturePacket_Size::Clear(); |
3626 | 0 | clear_has_msize(); |
3627 | 0 | } |
3628 | 0 | inline const ::mozilla::layers::layerscope::TexturePacket_Size& TexturePacket_EffectMask::msize() const { |
3629 | 0 | const ::mozilla::layers::layerscope::TexturePacket_Size* p = msize_; |
3630 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.EffectMask.mSize) |
3631 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::TexturePacket_Size*>( |
3632 | 0 | &::mozilla::layers::layerscope::_TexturePacket_Size_default_instance_); |
3633 | 0 | } |
3634 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Size* TexturePacket_EffectMask::mutable_msize() { |
3635 | 0 | set_has_msize(); |
3636 | 0 | if (msize_ == NULL) { |
3637 | 0 | msize_ = new ::mozilla::layers::layerscope::TexturePacket_Size; |
3638 | 0 | } |
3639 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.TexturePacket.EffectMask.mSize) |
3640 | 0 | return msize_; |
3641 | 0 | } |
3642 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Size* TexturePacket_EffectMask::release_msize() { |
3643 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.TexturePacket.EffectMask.mSize) |
3644 | 0 | clear_has_msize(); |
3645 | 0 | ::mozilla::layers::layerscope::TexturePacket_Size* temp = msize_; |
3646 | 0 | msize_ = NULL; |
3647 | 0 | return temp; |
3648 | 0 | } |
3649 | 0 | inline void TexturePacket_EffectMask::set_allocated_msize(::mozilla::layers::layerscope::TexturePacket_Size* msize) { |
3650 | 0 | delete msize_; |
3651 | 0 | msize_ = msize; |
3652 | 0 | if (msize) { |
3653 | 0 | set_has_msize(); |
3654 | 0 | } else { |
3655 | 0 | clear_has_msize(); |
3656 | 0 | } |
3657 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.TexturePacket.EffectMask.mSize) |
3658 | 0 | } |
3659 | | |
3660 | | // optional .mozilla.layers.layerscope.TexturePacket.Matrix mMaskTransform = 3; |
3661 | 0 | inline bool TexturePacket_EffectMask::has_mmasktransform() const { |
3662 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3663 | 0 | } |
3664 | 0 | inline void TexturePacket_EffectMask::set_has_mmasktransform() { |
3665 | 0 | _has_bits_[0] |= 0x00000002u; |
3666 | 0 | } |
3667 | 0 | inline void TexturePacket_EffectMask::clear_has_mmasktransform() { |
3668 | 0 | _has_bits_[0] &= ~0x00000002u; |
3669 | 0 | } |
3670 | 0 | inline void TexturePacket_EffectMask::clear_mmasktransform() { |
3671 | 0 | if (mmasktransform_ != NULL) mmasktransform_->::mozilla::layers::layerscope::TexturePacket_Matrix::Clear(); |
3672 | 0 | clear_has_mmasktransform(); |
3673 | 0 | } |
3674 | 0 | inline const ::mozilla::layers::layerscope::TexturePacket_Matrix& TexturePacket_EffectMask::mmasktransform() const { |
3675 | 0 | const ::mozilla::layers::layerscope::TexturePacket_Matrix* p = mmasktransform_; |
3676 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.EffectMask.mMaskTransform) |
3677 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::TexturePacket_Matrix*>( |
3678 | 0 | &::mozilla::layers::layerscope::_TexturePacket_Matrix_default_instance_); |
3679 | 0 | } |
3680 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Matrix* TexturePacket_EffectMask::mutable_mmasktransform() { |
3681 | 0 | set_has_mmasktransform(); |
3682 | 0 | if (mmasktransform_ == NULL) { |
3683 | 0 | mmasktransform_ = new ::mozilla::layers::layerscope::TexturePacket_Matrix; |
3684 | 0 | } |
3685 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.TexturePacket.EffectMask.mMaskTransform) |
3686 | 0 | return mmasktransform_; |
3687 | 0 | } |
3688 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Matrix* TexturePacket_EffectMask::release_mmasktransform() { |
3689 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.TexturePacket.EffectMask.mMaskTransform) |
3690 | 0 | clear_has_mmasktransform(); |
3691 | 0 | ::mozilla::layers::layerscope::TexturePacket_Matrix* temp = mmasktransform_; |
3692 | 0 | mmasktransform_ = NULL; |
3693 | 0 | return temp; |
3694 | 0 | } |
3695 | 0 | inline void TexturePacket_EffectMask::set_allocated_mmasktransform(::mozilla::layers::layerscope::TexturePacket_Matrix* mmasktransform) { |
3696 | 0 | delete mmasktransform_; |
3697 | 0 | mmasktransform_ = mmasktransform; |
3698 | 0 | if (mmasktransform) { |
3699 | 0 | set_has_mmasktransform(); |
3700 | 0 | } else { |
3701 | 0 | clear_has_mmasktransform(); |
3702 | 0 | } |
3703 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.TexturePacket.EffectMask.mMaskTransform) |
3704 | 0 | } |
3705 | | |
3706 | | // ------------------------------------------------------------------- |
3707 | | |
3708 | | // TexturePacket |
3709 | | |
3710 | | // required uint64 layerref = 1; |
3711 | 0 | inline bool TexturePacket::has_layerref() const { |
3712 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
3713 | 0 | } |
3714 | 0 | inline void TexturePacket::set_has_layerref() { |
3715 | 0 | _has_bits_[0] |= 0x00000008u; |
3716 | 0 | } |
3717 | 0 | inline void TexturePacket::clear_has_layerref() { |
3718 | 0 | _has_bits_[0] &= ~0x00000008u; |
3719 | 0 | } |
3720 | 0 | inline void TexturePacket::clear_layerref() { |
3721 | 0 | layerref_ = GOOGLE_ULONGLONG(0); |
3722 | 0 | clear_has_layerref(); |
3723 | 0 | } |
3724 | 0 | inline ::google::protobuf::uint64 TexturePacket::layerref() const { |
3725 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.layerref) |
3726 | 0 | return layerref_; |
3727 | 0 | } |
3728 | 0 | inline void TexturePacket::set_layerref(::google::protobuf::uint64 value) { |
3729 | 0 | set_has_layerref(); |
3730 | 0 | layerref_ = value; |
3731 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.layerref) |
3732 | 0 | } |
3733 | | |
3734 | | // optional uint32 width = 2; |
3735 | 0 | inline bool TexturePacket::has_width() const { |
3736 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
3737 | 0 | } |
3738 | 0 | inline void TexturePacket::set_has_width() { |
3739 | 0 | _has_bits_[0] |= 0x00000010u; |
3740 | 0 | } |
3741 | 0 | inline void TexturePacket::clear_has_width() { |
3742 | 0 | _has_bits_[0] &= ~0x00000010u; |
3743 | 0 | } |
3744 | 0 | inline void TexturePacket::clear_width() { |
3745 | 0 | width_ = 0u; |
3746 | 0 | clear_has_width(); |
3747 | 0 | } |
3748 | 0 | inline ::google::protobuf::uint32 TexturePacket::width() const { |
3749 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.width) |
3750 | 0 | return width_; |
3751 | 0 | } |
3752 | 0 | inline void TexturePacket::set_width(::google::protobuf::uint32 value) { |
3753 | 0 | set_has_width(); |
3754 | 0 | width_ = value; |
3755 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.width) |
3756 | 0 | } |
3757 | | |
3758 | | // optional uint32 height = 3; |
3759 | 0 | inline bool TexturePacket::has_height() const { |
3760 | 0 | return (_has_bits_[0] & 0x00000020u) != 0; |
3761 | 0 | } |
3762 | 0 | inline void TexturePacket::set_has_height() { |
3763 | 0 | _has_bits_[0] |= 0x00000020u; |
3764 | 0 | } |
3765 | 0 | inline void TexturePacket::clear_has_height() { |
3766 | 0 | _has_bits_[0] &= ~0x00000020u; |
3767 | 0 | } |
3768 | 0 | inline void TexturePacket::clear_height() { |
3769 | 0 | height_ = 0u; |
3770 | 0 | clear_has_height(); |
3771 | 0 | } |
3772 | 0 | inline ::google::protobuf::uint32 TexturePacket::height() const { |
3773 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.height) |
3774 | 0 | return height_; |
3775 | 0 | } |
3776 | 0 | inline void TexturePacket::set_height(::google::protobuf::uint32 value) { |
3777 | 0 | set_has_height(); |
3778 | 0 | height_ = value; |
3779 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.height) |
3780 | 0 | } |
3781 | | |
3782 | | // optional uint32 stride = 4; |
3783 | 0 | inline bool TexturePacket::has_stride() const { |
3784 | 0 | return (_has_bits_[0] & 0x00000040u) != 0; |
3785 | 0 | } |
3786 | 0 | inline void TexturePacket::set_has_stride() { |
3787 | 0 | _has_bits_[0] |= 0x00000040u; |
3788 | 0 | } |
3789 | 0 | inline void TexturePacket::clear_has_stride() { |
3790 | 0 | _has_bits_[0] &= ~0x00000040u; |
3791 | 0 | } |
3792 | 0 | inline void TexturePacket::clear_stride() { |
3793 | 0 | stride_ = 0u; |
3794 | 0 | clear_has_stride(); |
3795 | 0 | } |
3796 | 0 | inline ::google::protobuf::uint32 TexturePacket::stride() const { |
3797 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.stride) |
3798 | 0 | return stride_; |
3799 | 0 | } |
3800 | 0 | inline void TexturePacket::set_stride(::google::protobuf::uint32 value) { |
3801 | 0 | set_has_stride(); |
3802 | 0 | stride_ = value; |
3803 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.stride) |
3804 | 0 | } |
3805 | | |
3806 | | // optional uint32 name = 5; |
3807 | 0 | inline bool TexturePacket::has_name() const { |
3808 | 0 | return (_has_bits_[0] & 0x00000080u) != 0; |
3809 | 0 | } |
3810 | 0 | inline void TexturePacket::set_has_name() { |
3811 | 0 | _has_bits_[0] |= 0x00000080u; |
3812 | 0 | } |
3813 | 0 | inline void TexturePacket::clear_has_name() { |
3814 | 0 | _has_bits_[0] &= ~0x00000080u; |
3815 | 0 | } |
3816 | 0 | inline void TexturePacket::clear_name() { |
3817 | 0 | name_ = 0u; |
3818 | 0 | clear_has_name(); |
3819 | 0 | } |
3820 | 0 | inline ::google::protobuf::uint32 TexturePacket::name() const { |
3821 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.name) |
3822 | 0 | return name_; |
3823 | 0 | } |
3824 | 0 | inline void TexturePacket::set_name(::google::protobuf::uint32 value) { |
3825 | 0 | set_has_name(); |
3826 | 0 | name_ = value; |
3827 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.name) |
3828 | 0 | } |
3829 | | |
3830 | | // optional uint32 target = 6; |
3831 | 0 | inline bool TexturePacket::has_target() const { |
3832 | 0 | return (_has_bits_[0] & 0x00000100u) != 0; |
3833 | 0 | } |
3834 | 0 | inline void TexturePacket::set_has_target() { |
3835 | 0 | _has_bits_[0] |= 0x00000100u; |
3836 | 0 | } |
3837 | 0 | inline void TexturePacket::clear_has_target() { |
3838 | 0 | _has_bits_[0] &= ~0x00000100u; |
3839 | 0 | } |
3840 | 0 | inline void TexturePacket::clear_target() { |
3841 | 0 | target_ = 0u; |
3842 | 0 | clear_has_target(); |
3843 | 0 | } |
3844 | 0 | inline ::google::protobuf::uint32 TexturePacket::target() const { |
3845 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.target) |
3846 | 0 | return target_; |
3847 | 0 | } |
3848 | 0 | inline void TexturePacket::set_target(::google::protobuf::uint32 value) { |
3849 | 0 | set_has_target(); |
3850 | 0 | target_ = value; |
3851 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.target) |
3852 | 0 | } |
3853 | | |
3854 | | // optional uint32 dataformat = 7; |
3855 | 0 | inline bool TexturePacket::has_dataformat() const { |
3856 | 0 | return (_has_bits_[0] & 0x00000200u) != 0; |
3857 | 0 | } |
3858 | 0 | inline void TexturePacket::set_has_dataformat() { |
3859 | 0 | _has_bits_[0] |= 0x00000200u; |
3860 | 0 | } |
3861 | 0 | inline void TexturePacket::clear_has_dataformat() { |
3862 | 0 | _has_bits_[0] &= ~0x00000200u; |
3863 | 0 | } |
3864 | 0 | inline void TexturePacket::clear_dataformat() { |
3865 | 0 | dataformat_ = 0u; |
3866 | 0 | clear_has_dataformat(); |
3867 | 0 | } |
3868 | 0 | inline ::google::protobuf::uint32 TexturePacket::dataformat() const { |
3869 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.dataformat) |
3870 | 0 | return dataformat_; |
3871 | 0 | } |
3872 | 0 | inline void TexturePacket::set_dataformat(::google::protobuf::uint32 value) { |
3873 | 0 | set_has_dataformat(); |
3874 | 0 | dataformat_ = value; |
3875 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.dataformat) |
3876 | 0 | } |
3877 | | |
3878 | | // optional uint64 glcontext = 8; |
3879 | 0 | inline bool TexturePacket::has_glcontext() const { |
3880 | 0 | return (_has_bits_[0] & 0x00000400u) != 0; |
3881 | 0 | } |
3882 | 0 | inline void TexturePacket::set_has_glcontext() { |
3883 | 0 | _has_bits_[0] |= 0x00000400u; |
3884 | 0 | } |
3885 | 0 | inline void TexturePacket::clear_has_glcontext() { |
3886 | 0 | _has_bits_[0] &= ~0x00000400u; |
3887 | 0 | } |
3888 | 0 | inline void TexturePacket::clear_glcontext() { |
3889 | 0 | glcontext_ = GOOGLE_ULONGLONG(0); |
3890 | 0 | clear_has_glcontext(); |
3891 | 0 | } |
3892 | 0 | inline ::google::protobuf::uint64 TexturePacket::glcontext() const { |
3893 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.glcontext) |
3894 | 0 | return glcontext_; |
3895 | 0 | } |
3896 | 0 | inline void TexturePacket::set_glcontext(::google::protobuf::uint64 value) { |
3897 | 0 | set_has_glcontext(); |
3898 | 0 | glcontext_ = value; |
3899 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.glcontext) |
3900 | 0 | } |
3901 | | |
3902 | | // optional bytes data = 9; |
3903 | 0 | inline bool TexturePacket::has_data() const { |
3904 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3905 | 0 | } |
3906 | 0 | inline void TexturePacket::set_has_data() { |
3907 | 0 | _has_bits_[0] |= 0x00000001u; |
3908 | 0 | } |
3909 | 0 | inline void TexturePacket::clear_has_data() { |
3910 | 0 | _has_bits_[0] &= ~0x00000001u; |
3911 | 0 | } |
3912 | 0 | inline void TexturePacket::clear_data() { |
3913 | 0 | data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3914 | 0 | clear_has_data(); |
3915 | 0 | } |
3916 | 0 | inline const ::std::string& TexturePacket::data() const { |
3917 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.data) |
3918 | 0 | return data_.GetNoArena(); |
3919 | 0 | } |
3920 | 0 | inline void TexturePacket::set_data(const ::std::string& value) { |
3921 | 0 | set_has_data(); |
3922 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3923 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.data) |
3924 | 0 | } |
3925 | | #if LANG_CXX11 |
3926 | 0 | inline void TexturePacket::set_data(::std::string&& value) { |
3927 | 0 | set_has_data(); |
3928 | 0 | data_.SetNoArena( |
3929 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3930 | 0 | // @@protoc_insertion_point(field_set_rvalue:mozilla.layers.layerscope.TexturePacket.data) |
3931 | 0 | } |
3932 | | #endif |
3933 | 0 | inline void TexturePacket::set_data(const char* value) { |
3934 | 0 | GOOGLE_DCHECK(value != NULL); |
3935 | 0 | set_has_data(); |
3936 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3937 | 0 | // @@protoc_insertion_point(field_set_char:mozilla.layers.layerscope.TexturePacket.data) |
3938 | 0 | } |
3939 | 0 | inline void TexturePacket::set_data(const void* value, size_t size) { |
3940 | 0 | set_has_data(); |
3941 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3942 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3943 | 0 | // @@protoc_insertion_point(field_set_pointer:mozilla.layers.layerscope.TexturePacket.data) |
3944 | 0 | } |
3945 | 0 | inline ::std::string* TexturePacket::mutable_data() { |
3946 | 0 | set_has_data(); |
3947 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.TexturePacket.data) |
3948 | 0 | return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3949 | 0 | } |
3950 | 0 | inline ::std::string* TexturePacket::release_data() { |
3951 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.TexturePacket.data) |
3952 | 0 | clear_has_data(); |
3953 | 0 | return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3954 | 0 | } |
3955 | 0 | inline void TexturePacket::set_allocated_data(::std::string* data) { |
3956 | 0 | if (data != NULL) { |
3957 | 0 | set_has_data(); |
3958 | 0 | } else { |
3959 | 0 | clear_has_data(); |
3960 | 0 | } |
3961 | 0 | data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data); |
3962 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.TexturePacket.data) |
3963 | 0 | } |
3964 | | |
3965 | | // optional .mozilla.layers.layerscope.TexturePacket.Rect mTextureCoords = 10; |
3966 | 0 | inline bool TexturePacket::has_mtexturecoords() const { |
3967 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3968 | 0 | } |
3969 | 0 | inline void TexturePacket::set_has_mtexturecoords() { |
3970 | 0 | _has_bits_[0] |= 0x00000002u; |
3971 | 0 | } |
3972 | 0 | inline void TexturePacket::clear_has_mtexturecoords() { |
3973 | 0 | _has_bits_[0] &= ~0x00000002u; |
3974 | 0 | } |
3975 | 0 | inline void TexturePacket::clear_mtexturecoords() { |
3976 | 0 | if (mtexturecoords_ != NULL) mtexturecoords_->::mozilla::layers::layerscope::TexturePacket_Rect::Clear(); |
3977 | 0 | clear_has_mtexturecoords(); |
3978 | 0 | } |
3979 | 0 | inline const ::mozilla::layers::layerscope::TexturePacket_Rect& TexturePacket::mtexturecoords() const { |
3980 | 0 | const ::mozilla::layers::layerscope::TexturePacket_Rect* p = mtexturecoords_; |
3981 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.mTextureCoords) |
3982 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::TexturePacket_Rect*>( |
3983 | 0 | &::mozilla::layers::layerscope::_TexturePacket_Rect_default_instance_); |
3984 | 0 | } |
3985 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Rect* TexturePacket::mutable_mtexturecoords() { |
3986 | 0 | set_has_mtexturecoords(); |
3987 | 0 | if (mtexturecoords_ == NULL) { |
3988 | 0 | mtexturecoords_ = new ::mozilla::layers::layerscope::TexturePacket_Rect; |
3989 | 0 | } |
3990 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.TexturePacket.mTextureCoords) |
3991 | 0 | return mtexturecoords_; |
3992 | 0 | } |
3993 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Rect* TexturePacket::release_mtexturecoords() { |
3994 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.TexturePacket.mTextureCoords) |
3995 | 0 | clear_has_mtexturecoords(); |
3996 | 0 | ::mozilla::layers::layerscope::TexturePacket_Rect* temp = mtexturecoords_; |
3997 | 0 | mtexturecoords_ = NULL; |
3998 | 0 | return temp; |
3999 | 0 | } |
4000 | 0 | inline void TexturePacket::set_allocated_mtexturecoords(::mozilla::layers::layerscope::TexturePacket_Rect* mtexturecoords) { |
4001 | 0 | delete mtexturecoords_; |
4002 | 0 | mtexturecoords_ = mtexturecoords; |
4003 | 0 | if (mtexturecoords) { |
4004 | 0 | set_has_mtexturecoords(); |
4005 | 0 | } else { |
4006 | 0 | clear_has_mtexturecoords(); |
4007 | 0 | } |
4008 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.TexturePacket.mTextureCoords) |
4009 | 0 | } |
4010 | | |
4011 | | // optional bool mPremultiplied = 11; |
4012 | 0 | inline bool TexturePacket::has_mpremultiplied() const { |
4013 | 0 | return (_has_bits_[0] & 0x00001000u) != 0; |
4014 | 0 | } |
4015 | 0 | inline void TexturePacket::set_has_mpremultiplied() { |
4016 | 0 | _has_bits_[0] |= 0x00001000u; |
4017 | 0 | } |
4018 | 0 | inline void TexturePacket::clear_has_mpremultiplied() { |
4019 | 0 | _has_bits_[0] &= ~0x00001000u; |
4020 | 0 | } |
4021 | 0 | inline void TexturePacket::clear_mpremultiplied() { |
4022 | 0 | mpremultiplied_ = false; |
4023 | 0 | clear_has_mpremultiplied(); |
4024 | 0 | } |
4025 | 0 | inline bool TexturePacket::mpremultiplied() const { |
4026 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.mPremultiplied) |
4027 | 0 | return mpremultiplied_; |
4028 | 0 | } |
4029 | 0 | inline void TexturePacket::set_mpremultiplied(bool value) { |
4030 | 0 | set_has_mpremultiplied(); |
4031 | 0 | mpremultiplied_ = value; |
4032 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.mPremultiplied) |
4033 | 0 | } |
4034 | | |
4035 | | // optional .mozilla.layers.layerscope.TexturePacket.Filter mFilter = 12; |
4036 | 0 | inline bool TexturePacket::has_mfilter() const { |
4037 | 0 | return (_has_bits_[0] & 0x00000800u) != 0; |
4038 | 0 | } |
4039 | 0 | inline void TexturePacket::set_has_mfilter() { |
4040 | 0 | _has_bits_[0] |= 0x00000800u; |
4041 | 0 | } |
4042 | 0 | inline void TexturePacket::clear_has_mfilter() { |
4043 | 0 | _has_bits_[0] &= ~0x00000800u; |
4044 | 0 | } |
4045 | 0 | inline void TexturePacket::clear_mfilter() { |
4046 | 0 | mfilter_ = 0; |
4047 | 0 | clear_has_mfilter(); |
4048 | 0 | } |
4049 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_Filter TexturePacket::mfilter() const { |
4050 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.mFilter) |
4051 | 0 | return static_cast< ::mozilla::layers::layerscope::TexturePacket_Filter >(mfilter_); |
4052 | 0 | } |
4053 | 0 | inline void TexturePacket::set_mfilter(::mozilla::layers::layerscope::TexturePacket_Filter value) { |
4054 | 0 | assert(::mozilla::layers::layerscope::TexturePacket_Filter_IsValid(value)); |
4055 | 0 | set_has_mfilter(); |
4056 | 0 | mfilter_ = value; |
4057 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.mFilter) |
4058 | 0 | } |
4059 | | |
4060 | | // optional bool isMask = 20; |
4061 | 0 | inline bool TexturePacket::has_ismask() const { |
4062 | 0 | return (_has_bits_[0] & 0x00002000u) != 0; |
4063 | 0 | } |
4064 | 0 | inline void TexturePacket::set_has_ismask() { |
4065 | 0 | _has_bits_[0] |= 0x00002000u; |
4066 | 0 | } |
4067 | 0 | inline void TexturePacket::clear_has_ismask() { |
4068 | 0 | _has_bits_[0] &= ~0x00002000u; |
4069 | 0 | } |
4070 | 0 | inline void TexturePacket::clear_ismask() { |
4071 | 0 | ismask_ = false; |
4072 | 0 | clear_has_ismask(); |
4073 | 0 | } |
4074 | 0 | inline bool TexturePacket::ismask() const { |
4075 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.isMask) |
4076 | 0 | return ismask_; |
4077 | 0 | } |
4078 | 0 | inline void TexturePacket::set_ismask(bool value) { |
4079 | 0 | set_has_ismask(); |
4080 | 0 | ismask_ = value; |
4081 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.TexturePacket.isMask) |
4082 | 0 | } |
4083 | | |
4084 | | // optional .mozilla.layers.layerscope.TexturePacket.EffectMask mask = 21; |
4085 | 0 | inline bool TexturePacket::has_mask() const { |
4086 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4087 | 0 | } |
4088 | 0 | inline void TexturePacket::set_has_mask() { |
4089 | 0 | _has_bits_[0] |= 0x00000004u; |
4090 | 0 | } |
4091 | 0 | inline void TexturePacket::clear_has_mask() { |
4092 | 0 | _has_bits_[0] &= ~0x00000004u; |
4093 | 0 | } |
4094 | 0 | inline void TexturePacket::clear_mask() { |
4095 | 0 | if (mask_ != NULL) mask_->::mozilla::layers::layerscope::TexturePacket_EffectMask::Clear(); |
4096 | 0 | clear_has_mask(); |
4097 | 0 | } |
4098 | 0 | inline const ::mozilla::layers::layerscope::TexturePacket_EffectMask& TexturePacket::mask() const { |
4099 | 0 | const ::mozilla::layers::layerscope::TexturePacket_EffectMask* p = mask_; |
4100 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.TexturePacket.mask) |
4101 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::TexturePacket_EffectMask*>( |
4102 | 0 | &::mozilla::layers::layerscope::_TexturePacket_EffectMask_default_instance_); |
4103 | 0 | } |
4104 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_EffectMask* TexturePacket::mutable_mask() { |
4105 | 0 | set_has_mask(); |
4106 | 0 | if (mask_ == NULL) { |
4107 | 0 | mask_ = new ::mozilla::layers::layerscope::TexturePacket_EffectMask; |
4108 | 0 | } |
4109 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.TexturePacket.mask) |
4110 | 0 | return mask_; |
4111 | 0 | } |
4112 | 0 | inline ::mozilla::layers::layerscope::TexturePacket_EffectMask* TexturePacket::release_mask() { |
4113 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.TexturePacket.mask) |
4114 | 0 | clear_has_mask(); |
4115 | 0 | ::mozilla::layers::layerscope::TexturePacket_EffectMask* temp = mask_; |
4116 | 0 | mask_ = NULL; |
4117 | 0 | return temp; |
4118 | 0 | } |
4119 | 0 | inline void TexturePacket::set_allocated_mask(::mozilla::layers::layerscope::TexturePacket_EffectMask* mask) { |
4120 | 0 | delete mask_; |
4121 | 0 | mask_ = mask; |
4122 | 0 | if (mask) { |
4123 | 0 | set_has_mask(); |
4124 | 0 | } else { |
4125 | 0 | clear_has_mask(); |
4126 | 0 | } |
4127 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.TexturePacket.mask) |
4128 | 0 | } |
4129 | | |
4130 | | // ------------------------------------------------------------------- |
4131 | | |
4132 | | // LayersPacket_Layer_Size |
4133 | | |
4134 | | // optional int32 w = 1; |
4135 | 0 | inline bool LayersPacket_Layer_Size::has_w() const { |
4136 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4137 | 0 | } |
4138 | 0 | inline void LayersPacket_Layer_Size::set_has_w() { |
4139 | 0 | _has_bits_[0] |= 0x00000001u; |
4140 | 0 | } |
4141 | 0 | inline void LayersPacket_Layer_Size::clear_has_w() { |
4142 | 0 | _has_bits_[0] &= ~0x00000001u; |
4143 | 0 | } |
4144 | 0 | inline void LayersPacket_Layer_Size::clear_w() { |
4145 | 0 | w_ = 0; |
4146 | 0 | clear_has_w(); |
4147 | 0 | } |
4148 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Size::w() const { |
4149 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Size.w) |
4150 | 0 | return w_; |
4151 | 0 | } |
4152 | 0 | inline void LayersPacket_Layer_Size::set_w(::google::protobuf::int32 value) { |
4153 | 0 | set_has_w(); |
4154 | 0 | w_ = value; |
4155 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Size.w) |
4156 | 0 | } |
4157 | | |
4158 | | // optional int32 h = 2; |
4159 | 0 | inline bool LayersPacket_Layer_Size::has_h() const { |
4160 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4161 | 0 | } |
4162 | 0 | inline void LayersPacket_Layer_Size::set_has_h() { |
4163 | 0 | _has_bits_[0] |= 0x00000002u; |
4164 | 0 | } |
4165 | 0 | inline void LayersPacket_Layer_Size::clear_has_h() { |
4166 | 0 | _has_bits_[0] &= ~0x00000002u; |
4167 | 0 | } |
4168 | 0 | inline void LayersPacket_Layer_Size::clear_h() { |
4169 | 0 | h_ = 0; |
4170 | 0 | clear_has_h(); |
4171 | 0 | } |
4172 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Size::h() const { |
4173 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Size.h) |
4174 | 0 | return h_; |
4175 | 0 | } |
4176 | 0 | inline void LayersPacket_Layer_Size::set_h(::google::protobuf::int32 value) { |
4177 | 0 | set_has_h(); |
4178 | 0 | h_ = value; |
4179 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Size.h) |
4180 | 0 | } |
4181 | | |
4182 | | // ------------------------------------------------------------------- |
4183 | | |
4184 | | // LayersPacket_Layer_Rect |
4185 | | |
4186 | | // optional int32 x = 1; |
4187 | 0 | inline bool LayersPacket_Layer_Rect::has_x() const { |
4188 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4189 | 0 | } |
4190 | 0 | inline void LayersPacket_Layer_Rect::set_has_x() { |
4191 | 0 | _has_bits_[0] |= 0x00000001u; |
4192 | 0 | } |
4193 | 0 | inline void LayersPacket_Layer_Rect::clear_has_x() { |
4194 | 0 | _has_bits_[0] &= ~0x00000001u; |
4195 | 0 | } |
4196 | 0 | inline void LayersPacket_Layer_Rect::clear_x() { |
4197 | 0 | x_ = 0; |
4198 | 0 | clear_has_x(); |
4199 | 0 | } |
4200 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Rect::x() const { |
4201 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Rect.x) |
4202 | 0 | return x_; |
4203 | 0 | } |
4204 | 0 | inline void LayersPacket_Layer_Rect::set_x(::google::protobuf::int32 value) { |
4205 | 0 | set_has_x(); |
4206 | 0 | x_ = value; |
4207 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Rect.x) |
4208 | 0 | } |
4209 | | |
4210 | | // optional int32 y = 2; |
4211 | 0 | inline bool LayersPacket_Layer_Rect::has_y() const { |
4212 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4213 | 0 | } |
4214 | 0 | inline void LayersPacket_Layer_Rect::set_has_y() { |
4215 | 0 | _has_bits_[0] |= 0x00000002u; |
4216 | 0 | } |
4217 | 0 | inline void LayersPacket_Layer_Rect::clear_has_y() { |
4218 | 0 | _has_bits_[0] &= ~0x00000002u; |
4219 | 0 | } |
4220 | 0 | inline void LayersPacket_Layer_Rect::clear_y() { |
4221 | 0 | y_ = 0; |
4222 | 0 | clear_has_y(); |
4223 | 0 | } |
4224 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Rect::y() const { |
4225 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Rect.y) |
4226 | 0 | return y_; |
4227 | 0 | } |
4228 | 0 | inline void LayersPacket_Layer_Rect::set_y(::google::protobuf::int32 value) { |
4229 | 0 | set_has_y(); |
4230 | 0 | y_ = value; |
4231 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Rect.y) |
4232 | 0 | } |
4233 | | |
4234 | | // optional int32 w = 3; |
4235 | 0 | inline bool LayersPacket_Layer_Rect::has_w() const { |
4236 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4237 | 0 | } |
4238 | 0 | inline void LayersPacket_Layer_Rect::set_has_w() { |
4239 | 0 | _has_bits_[0] |= 0x00000004u; |
4240 | 0 | } |
4241 | 0 | inline void LayersPacket_Layer_Rect::clear_has_w() { |
4242 | 0 | _has_bits_[0] &= ~0x00000004u; |
4243 | 0 | } |
4244 | 0 | inline void LayersPacket_Layer_Rect::clear_w() { |
4245 | 0 | w_ = 0; |
4246 | 0 | clear_has_w(); |
4247 | 0 | } |
4248 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Rect::w() const { |
4249 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Rect.w) |
4250 | 0 | return w_; |
4251 | 0 | } |
4252 | 0 | inline void LayersPacket_Layer_Rect::set_w(::google::protobuf::int32 value) { |
4253 | 0 | set_has_w(); |
4254 | 0 | w_ = value; |
4255 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Rect.w) |
4256 | 0 | } |
4257 | | |
4258 | | // optional int32 h = 4; |
4259 | 0 | inline bool LayersPacket_Layer_Rect::has_h() const { |
4260 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
4261 | 0 | } |
4262 | 0 | inline void LayersPacket_Layer_Rect::set_has_h() { |
4263 | 0 | _has_bits_[0] |= 0x00000008u; |
4264 | 0 | } |
4265 | 0 | inline void LayersPacket_Layer_Rect::clear_has_h() { |
4266 | 0 | _has_bits_[0] &= ~0x00000008u; |
4267 | 0 | } |
4268 | 0 | inline void LayersPacket_Layer_Rect::clear_h() { |
4269 | 0 | h_ = 0; |
4270 | 0 | clear_has_h(); |
4271 | 0 | } |
4272 | 0 | inline ::google::protobuf::int32 LayersPacket_Layer_Rect::h() const { |
4273 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Rect.h) |
4274 | 0 | return h_; |
4275 | 0 | } |
4276 | 0 | inline void LayersPacket_Layer_Rect::set_h(::google::protobuf::int32 value) { |
4277 | 0 | set_has_h(); |
4278 | 0 | h_ = value; |
4279 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Rect.h) |
4280 | 0 | } |
4281 | | |
4282 | | // ------------------------------------------------------------------- |
4283 | | |
4284 | | // LayersPacket_Layer_Region |
4285 | | |
4286 | | // repeated .mozilla.layers.layerscope.LayersPacket.Layer.Rect r = 1; |
4287 | 0 | inline int LayersPacket_Layer_Region::r_size() const { |
4288 | 0 | return r_.size(); |
4289 | 0 | } |
4290 | 0 | inline void LayersPacket_Layer_Region::clear_r() { |
4291 | 0 | r_.Clear(); |
4292 | 0 | } |
4293 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& LayersPacket_Layer_Region::r(int index) const { |
4294 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Region.r) |
4295 | 0 | return r_.Get(index); |
4296 | 0 | } |
4297 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer_Region::mutable_r(int index) { |
4298 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.Region.r) |
4299 | 0 | return r_.Mutable(index); |
4300 | 0 | } |
4301 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer_Region::add_r() { |
4302 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.LayersPacket.Layer.Region.r) |
4303 | 0 | return r_.Add(); |
4304 | 0 | } |
4305 | | inline ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer_Rect >* |
4306 | 0 | LayersPacket_Layer_Region::mutable_r() { |
4307 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.LayersPacket.Layer.Region.r) |
4308 | 0 | return &r_; |
4309 | 0 | } |
4310 | | inline const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer_Rect >& |
4311 | 0 | LayersPacket_Layer_Region::r() const { |
4312 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.LayersPacket.Layer.Region.r) |
4313 | 0 | return r_; |
4314 | 0 | } |
4315 | | |
4316 | | // ------------------------------------------------------------------- |
4317 | | |
4318 | | // LayersPacket_Layer_Matrix |
4319 | | |
4320 | | // optional bool is2D = 1; |
4321 | 0 | inline bool LayersPacket_Layer_Matrix::has_is2d() const { |
4322 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4323 | 0 | } |
4324 | 0 | inline void LayersPacket_Layer_Matrix::set_has_is2d() { |
4325 | 0 | _has_bits_[0] |= 0x00000001u; |
4326 | 0 | } |
4327 | 0 | inline void LayersPacket_Layer_Matrix::clear_has_is2d() { |
4328 | 0 | _has_bits_[0] &= ~0x00000001u; |
4329 | 0 | } |
4330 | 0 | inline void LayersPacket_Layer_Matrix::clear_is2d() { |
4331 | 0 | is2d_ = false; |
4332 | 0 | clear_has_is2d(); |
4333 | 0 | } |
4334 | 0 | inline bool LayersPacket_Layer_Matrix::is2d() const { |
4335 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.is2D) |
4336 | 0 | return is2d_; |
4337 | 0 | } |
4338 | 0 | inline void LayersPacket_Layer_Matrix::set_is2d(bool value) { |
4339 | 0 | set_has_is2d(); |
4340 | 0 | is2d_ = value; |
4341 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.is2D) |
4342 | 0 | } |
4343 | | |
4344 | | // optional bool isId = 2; |
4345 | 0 | inline bool LayersPacket_Layer_Matrix::has_isid() const { |
4346 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4347 | 0 | } |
4348 | 0 | inline void LayersPacket_Layer_Matrix::set_has_isid() { |
4349 | 0 | _has_bits_[0] |= 0x00000002u; |
4350 | 0 | } |
4351 | 0 | inline void LayersPacket_Layer_Matrix::clear_has_isid() { |
4352 | 0 | _has_bits_[0] &= ~0x00000002u; |
4353 | 0 | } |
4354 | 0 | inline void LayersPacket_Layer_Matrix::clear_isid() { |
4355 | 0 | isid_ = false; |
4356 | 0 | clear_has_isid(); |
4357 | 0 | } |
4358 | 0 | inline bool LayersPacket_Layer_Matrix::isid() const { |
4359 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.isId) |
4360 | 0 | return isid_; |
4361 | 0 | } |
4362 | 0 | inline void LayersPacket_Layer_Matrix::set_isid(bool value) { |
4363 | 0 | set_has_isid(); |
4364 | 0 | isid_ = value; |
4365 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.isId) |
4366 | 0 | } |
4367 | | |
4368 | | // repeated float m = 3; |
4369 | 0 | inline int LayersPacket_Layer_Matrix::m_size() const { |
4370 | 0 | return m_.size(); |
4371 | 0 | } |
4372 | 0 | inline void LayersPacket_Layer_Matrix::clear_m() { |
4373 | 0 | m_.Clear(); |
4374 | 0 | } |
4375 | 0 | inline float LayersPacket_Layer_Matrix::m(int index) const { |
4376 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.m) |
4377 | 0 | return m_.Get(index); |
4378 | 0 | } |
4379 | 0 | inline void LayersPacket_Layer_Matrix::set_m(int index, float value) { |
4380 | 0 | m_.Set(index, value); |
4381 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.m) |
4382 | 0 | } |
4383 | 0 | inline void LayersPacket_Layer_Matrix::add_m(float value) { |
4384 | 0 | m_.Add(value); |
4385 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.m) |
4386 | 0 | } |
4387 | | inline const ::google::protobuf::RepeatedField< float >& |
4388 | 0 | LayersPacket_Layer_Matrix::m() const { |
4389 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.m) |
4390 | 0 | return m_; |
4391 | 0 | } |
4392 | | inline ::google::protobuf::RepeatedField< float >* |
4393 | 0 | LayersPacket_Layer_Matrix::mutable_m() { |
4394 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.LayersPacket.Layer.Matrix.m) |
4395 | 0 | return &m_; |
4396 | 0 | } |
4397 | | |
4398 | | // ------------------------------------------------------------------- |
4399 | | |
4400 | | // LayersPacket_Layer_Shadow |
4401 | | |
4402 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Rect clip = 1; |
4403 | 0 | inline bool LayersPacket_Layer_Shadow::has_clip() const { |
4404 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4405 | 0 | } |
4406 | 0 | inline void LayersPacket_Layer_Shadow::set_has_clip() { |
4407 | 0 | _has_bits_[0] |= 0x00000001u; |
4408 | 0 | } |
4409 | 0 | inline void LayersPacket_Layer_Shadow::clear_has_clip() { |
4410 | 0 | _has_bits_[0] &= ~0x00000001u; |
4411 | 0 | } |
4412 | 0 | inline void LayersPacket_Layer_Shadow::clear_clip() { |
4413 | 0 | if (clip_ != NULL) clip_->::mozilla::layers::layerscope::LayersPacket_Layer_Rect::Clear(); |
4414 | 0 | clear_has_clip(); |
4415 | 0 | } |
4416 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& LayersPacket_Layer_Shadow::clip() const { |
4417 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* p = clip_; |
4418 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.clip) |
4419 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect*>( |
4420 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Rect_default_instance_); |
4421 | 0 | } |
4422 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer_Shadow::mutable_clip() { |
4423 | 0 | set_has_clip(); |
4424 | 0 | if (clip_ == NULL) { |
4425 | 0 | clip_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Rect; |
4426 | 0 | } |
4427 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.clip) |
4428 | 0 | return clip_; |
4429 | 0 | } |
4430 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer_Shadow::release_clip() { |
4431 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.clip) |
4432 | 0 | clear_has_clip(); |
4433 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* temp = clip_; |
4434 | 0 | clip_ = NULL; |
4435 | 0 | return temp; |
4436 | 0 | } |
4437 | 0 | inline void LayersPacket_Layer_Shadow::set_allocated_clip(::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip) { |
4438 | 0 | delete clip_; |
4439 | 0 | clip_ = clip; |
4440 | 0 | if (clip) { |
4441 | 0 | set_has_clip(); |
4442 | 0 | } else { |
4443 | 0 | clear_has_clip(); |
4444 | 0 | } |
4445 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.clip) |
4446 | 0 | } |
4447 | | |
4448 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Matrix transform = 2; |
4449 | 0 | inline bool LayersPacket_Layer_Shadow::has_transform() const { |
4450 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4451 | 0 | } |
4452 | 0 | inline void LayersPacket_Layer_Shadow::set_has_transform() { |
4453 | 0 | _has_bits_[0] |= 0x00000002u; |
4454 | 0 | } |
4455 | 0 | inline void LayersPacket_Layer_Shadow::clear_has_transform() { |
4456 | 0 | _has_bits_[0] &= ~0x00000002u; |
4457 | 0 | } |
4458 | 0 | inline void LayersPacket_Layer_Shadow::clear_transform() { |
4459 | 0 | if (transform_ != NULL) transform_->::mozilla::layers::layerscope::LayersPacket_Layer_Matrix::Clear(); |
4460 | 0 | clear_has_transform(); |
4461 | 0 | } |
4462 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix& LayersPacket_Layer_Shadow::transform() const { |
4463 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* p = transform_; |
4464 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.transform) |
4465 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix*>( |
4466 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Matrix_default_instance_); |
4467 | 0 | } |
4468 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* LayersPacket_Layer_Shadow::mutable_transform() { |
4469 | 0 | set_has_transform(); |
4470 | 0 | if (transform_ == NULL) { |
4471 | 0 | transform_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix; |
4472 | 0 | } |
4473 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.transform) |
4474 | 0 | return transform_; |
4475 | 0 | } |
4476 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* LayersPacket_Layer_Shadow::release_transform() { |
4477 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.transform) |
4478 | 0 | clear_has_transform(); |
4479 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* temp = transform_; |
4480 | 0 | transform_ = NULL; |
4481 | 0 | return temp; |
4482 | 0 | } |
4483 | 0 | inline void LayersPacket_Layer_Shadow::set_allocated_transform(::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform) { |
4484 | 0 | delete transform_; |
4485 | 0 | transform_ = transform; |
4486 | 0 | if (transform) { |
4487 | 0 | set_has_transform(); |
4488 | 0 | } else { |
4489 | 0 | clear_has_transform(); |
4490 | 0 | } |
4491 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.transform) |
4492 | 0 | } |
4493 | | |
4494 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vRegion = 3; |
4495 | 0 | inline bool LayersPacket_Layer_Shadow::has_vregion() const { |
4496 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4497 | 0 | } |
4498 | 0 | inline void LayersPacket_Layer_Shadow::set_has_vregion() { |
4499 | 0 | _has_bits_[0] |= 0x00000004u; |
4500 | 0 | } |
4501 | 0 | inline void LayersPacket_Layer_Shadow::clear_has_vregion() { |
4502 | 0 | _has_bits_[0] &= ~0x00000004u; |
4503 | 0 | } |
4504 | 0 | inline void LayersPacket_Layer_Shadow::clear_vregion() { |
4505 | 0 | if (vregion_ != NULL) vregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
4506 | 0 | clear_has_vregion(); |
4507 | 0 | } |
4508 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer_Shadow::vregion() const { |
4509 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = vregion_; |
4510 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.vRegion) |
4511 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
4512 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
4513 | 0 | } |
4514 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer_Shadow::mutable_vregion() { |
4515 | 0 | set_has_vregion(); |
4516 | 0 | if (vregion_ == NULL) { |
4517 | 0 | vregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
4518 | 0 | } |
4519 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.vRegion) |
4520 | 0 | return vregion_; |
4521 | 0 | } |
4522 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer_Shadow::release_vregion() { |
4523 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.vRegion) |
4524 | 0 | clear_has_vregion(); |
4525 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = vregion_; |
4526 | 0 | vregion_ = NULL; |
4527 | 0 | return temp; |
4528 | 0 | } |
4529 | 0 | inline void LayersPacket_Layer_Shadow::set_allocated_vregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion) { |
4530 | 0 | delete vregion_; |
4531 | 0 | vregion_ = vregion; |
4532 | 0 | if (vregion) { |
4533 | 0 | set_has_vregion(); |
4534 | 0 | } else { |
4535 | 0 | clear_has_vregion(); |
4536 | 0 | } |
4537 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.Shadow.vRegion) |
4538 | 0 | } |
4539 | | |
4540 | | // ------------------------------------------------------------------- |
4541 | | |
4542 | | // LayersPacket_Layer |
4543 | | |
4544 | | // required .mozilla.layers.layerscope.LayersPacket.Layer.LayerType type = 1; |
4545 | 0 | inline bool LayersPacket_Layer::has_type() const { |
4546 | 0 | return (_has_bits_[0] & 0x00004000u) != 0; |
4547 | 0 | } |
4548 | 0 | inline void LayersPacket_Layer::set_has_type() { |
4549 | 0 | _has_bits_[0] |= 0x00004000u; |
4550 | 0 | } |
4551 | 0 | inline void LayersPacket_Layer::clear_has_type() { |
4552 | 0 | _has_bits_[0] &= ~0x00004000u; |
4553 | 0 | } |
4554 | 0 | inline void LayersPacket_Layer::clear_type() { |
4555 | 0 | type_ = 0; |
4556 | 0 | clear_has_type(); |
4557 | 0 | } |
4558 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_LayerType LayersPacket_Layer::type() const { |
4559 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.type) |
4560 | 0 | return static_cast< ::mozilla::layers::layerscope::LayersPacket_Layer_LayerType >(type_); |
4561 | 0 | } |
4562 | 0 | inline void LayersPacket_Layer::set_type(::mozilla::layers::layerscope::LayersPacket_Layer_LayerType value) { |
4563 | 0 | assert(::mozilla::layers::layerscope::LayersPacket_Layer_LayerType_IsValid(value)); |
4564 | 0 | set_has_type(); |
4565 | 0 | type_ = value; |
4566 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.type) |
4567 | 0 | } |
4568 | | |
4569 | | // required uint64 ptr = 2; |
4570 | 0 | inline bool LayersPacket_Layer::has_ptr() const { |
4571 | 0 | return (_has_bits_[0] & 0x00001000u) != 0; |
4572 | 0 | } |
4573 | 0 | inline void LayersPacket_Layer::set_has_ptr() { |
4574 | 0 | _has_bits_[0] |= 0x00001000u; |
4575 | 0 | } |
4576 | 0 | inline void LayersPacket_Layer::clear_has_ptr() { |
4577 | 0 | _has_bits_[0] &= ~0x00001000u; |
4578 | 0 | } |
4579 | 0 | inline void LayersPacket_Layer::clear_ptr() { |
4580 | 0 | ptr_ = GOOGLE_ULONGLONG(0); |
4581 | 0 | clear_has_ptr(); |
4582 | 0 | } |
4583 | 0 | inline ::google::protobuf::uint64 LayersPacket_Layer::ptr() const { |
4584 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.ptr) |
4585 | 0 | return ptr_; |
4586 | 0 | } |
4587 | 0 | inline void LayersPacket_Layer::set_ptr(::google::protobuf::uint64 value) { |
4588 | 0 | set_has_ptr(); |
4589 | 0 | ptr_ = value; |
4590 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.ptr) |
4591 | 0 | } |
4592 | | |
4593 | | // required uint64 parentPtr = 3; |
4594 | 0 | inline bool LayersPacket_Layer::has_parentptr() const { |
4595 | 0 | return (_has_bits_[0] & 0x00002000u) != 0; |
4596 | 0 | } |
4597 | 0 | inline void LayersPacket_Layer::set_has_parentptr() { |
4598 | 0 | _has_bits_[0] |= 0x00002000u; |
4599 | 0 | } |
4600 | 0 | inline void LayersPacket_Layer::clear_has_parentptr() { |
4601 | 0 | _has_bits_[0] &= ~0x00002000u; |
4602 | 0 | } |
4603 | 0 | inline void LayersPacket_Layer::clear_parentptr() { |
4604 | 0 | parentptr_ = GOOGLE_ULONGLONG(0); |
4605 | 0 | clear_has_parentptr(); |
4606 | 0 | } |
4607 | 0 | inline ::google::protobuf::uint64 LayersPacket_Layer::parentptr() const { |
4608 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.parentPtr) |
4609 | 0 | return parentptr_; |
4610 | 0 | } |
4611 | 0 | inline void LayersPacket_Layer::set_parentptr(::google::protobuf::uint64 value) { |
4612 | 0 | set_has_parentptr(); |
4613 | 0 | parentptr_ = value; |
4614 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.parentPtr) |
4615 | 0 | } |
4616 | | |
4617 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Rect clip = 10; |
4618 | 0 | inline bool LayersPacket_Layer::has_clip() const { |
4619 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4620 | 0 | } |
4621 | 0 | inline void LayersPacket_Layer::set_has_clip() { |
4622 | 0 | _has_bits_[0] |= 0x00000002u; |
4623 | 0 | } |
4624 | 0 | inline void LayersPacket_Layer::clear_has_clip() { |
4625 | 0 | _has_bits_[0] &= ~0x00000002u; |
4626 | 0 | } |
4627 | 0 | inline void LayersPacket_Layer::clear_clip() { |
4628 | 0 | if (clip_ != NULL) clip_->::mozilla::layers::layerscope::LayersPacket_Layer_Rect::Clear(); |
4629 | 0 | clear_has_clip(); |
4630 | 0 | } |
4631 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect& LayersPacket_Layer::clip() const { |
4632 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* p = clip_; |
4633 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.clip) |
4634 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Rect*>( |
4635 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Rect_default_instance_); |
4636 | 0 | } |
4637 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer::mutable_clip() { |
4638 | 0 | set_has_clip(); |
4639 | 0 | if (clip_ == NULL) { |
4640 | 0 | clip_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Rect; |
4641 | 0 | } |
4642 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.clip) |
4643 | 0 | return clip_; |
4644 | 0 | } |
4645 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* LayersPacket_Layer::release_clip() { |
4646 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.clip) |
4647 | 0 | clear_has_clip(); |
4648 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Rect* temp = clip_; |
4649 | 0 | clip_ = NULL; |
4650 | 0 | return temp; |
4651 | 0 | } |
4652 | 0 | inline void LayersPacket_Layer::set_allocated_clip(::mozilla::layers::layerscope::LayersPacket_Layer_Rect* clip) { |
4653 | 0 | delete clip_; |
4654 | 0 | clip_ = clip; |
4655 | 0 | if (clip) { |
4656 | 0 | set_has_clip(); |
4657 | 0 | } else { |
4658 | 0 | clear_has_clip(); |
4659 | 0 | } |
4660 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.clip) |
4661 | 0 | } |
4662 | | |
4663 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Matrix transform = 11; |
4664 | 0 | inline bool LayersPacket_Layer::has_transform() const { |
4665 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4666 | 0 | } |
4667 | 0 | inline void LayersPacket_Layer::set_has_transform() { |
4668 | 0 | _has_bits_[0] |= 0x00000004u; |
4669 | 0 | } |
4670 | 0 | inline void LayersPacket_Layer::clear_has_transform() { |
4671 | 0 | _has_bits_[0] &= ~0x00000004u; |
4672 | 0 | } |
4673 | 0 | inline void LayersPacket_Layer::clear_transform() { |
4674 | 0 | if (transform_ != NULL) transform_->::mozilla::layers::layerscope::LayersPacket_Layer_Matrix::Clear(); |
4675 | 0 | clear_has_transform(); |
4676 | 0 | } |
4677 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix& LayersPacket_Layer::transform() const { |
4678 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* p = transform_; |
4679 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.transform) |
4680 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix*>( |
4681 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Matrix_default_instance_); |
4682 | 0 | } |
4683 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* LayersPacket_Layer::mutable_transform() { |
4684 | 0 | set_has_transform(); |
4685 | 0 | if (transform_ == NULL) { |
4686 | 0 | transform_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix; |
4687 | 0 | } |
4688 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.transform) |
4689 | 0 | return transform_; |
4690 | 0 | } |
4691 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* LayersPacket_Layer::release_transform() { |
4692 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.transform) |
4693 | 0 | clear_has_transform(); |
4694 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* temp = transform_; |
4695 | 0 | transform_ = NULL; |
4696 | 0 | return temp; |
4697 | 0 | } |
4698 | 0 | inline void LayersPacket_Layer::set_allocated_transform(::mozilla::layers::layerscope::LayersPacket_Layer_Matrix* transform) { |
4699 | 0 | delete transform_; |
4700 | 0 | transform_ = transform; |
4701 | 0 | if (transform) { |
4702 | 0 | set_has_transform(); |
4703 | 0 | } else { |
4704 | 0 | clear_has_transform(); |
4705 | 0 | } |
4706 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.transform) |
4707 | 0 | } |
4708 | | |
4709 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vRegion = 12; |
4710 | 0 | inline bool LayersPacket_Layer::has_vregion() const { |
4711 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
4712 | 0 | } |
4713 | 0 | inline void LayersPacket_Layer::set_has_vregion() { |
4714 | 0 | _has_bits_[0] |= 0x00000008u; |
4715 | 0 | } |
4716 | 0 | inline void LayersPacket_Layer::clear_has_vregion() { |
4717 | 0 | _has_bits_[0] &= ~0x00000008u; |
4718 | 0 | } |
4719 | 0 | inline void LayersPacket_Layer::clear_vregion() { |
4720 | 0 | if (vregion_ != NULL) vregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
4721 | 0 | clear_has_vregion(); |
4722 | 0 | } |
4723 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::vregion() const { |
4724 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = vregion_; |
4725 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.vRegion) |
4726 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
4727 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
4728 | 0 | } |
4729 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_vregion() { |
4730 | 0 | set_has_vregion(); |
4731 | 0 | if (vregion_ == NULL) { |
4732 | 0 | vregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
4733 | 0 | } |
4734 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.vRegion) |
4735 | 0 | return vregion_; |
4736 | 0 | } |
4737 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_vregion() { |
4738 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.vRegion) |
4739 | 0 | clear_has_vregion(); |
4740 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = vregion_; |
4741 | 0 | vregion_ = NULL; |
4742 | 0 | return temp; |
4743 | 0 | } |
4744 | 0 | inline void LayersPacket_Layer::set_allocated_vregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vregion) { |
4745 | 0 | delete vregion_; |
4746 | 0 | vregion_ = vregion; |
4747 | 0 | if (vregion) { |
4748 | 0 | set_has_vregion(); |
4749 | 0 | } else { |
4750 | 0 | clear_has_vregion(); |
4751 | 0 | } |
4752 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.vRegion) |
4753 | 0 | } |
4754 | | |
4755 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Shadow shadow = 13; |
4756 | 0 | inline bool LayersPacket_Layer::has_shadow() const { |
4757 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
4758 | 0 | } |
4759 | 0 | inline void LayersPacket_Layer::set_has_shadow() { |
4760 | 0 | _has_bits_[0] |= 0x00000010u; |
4761 | 0 | } |
4762 | 0 | inline void LayersPacket_Layer::clear_has_shadow() { |
4763 | 0 | _has_bits_[0] &= ~0x00000010u; |
4764 | 0 | } |
4765 | 0 | inline void LayersPacket_Layer::clear_shadow() { |
4766 | 0 | if (shadow_ != NULL) shadow_->::mozilla::layers::layerscope::LayersPacket_Layer_Shadow::Clear(); |
4767 | 0 | clear_has_shadow(); |
4768 | 0 | } |
4769 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow& LayersPacket_Layer::shadow() const { |
4770 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* p = shadow_; |
4771 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.shadow) |
4772 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow*>( |
4773 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Shadow_default_instance_); |
4774 | 0 | } |
4775 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* LayersPacket_Layer::mutable_shadow() { |
4776 | 0 | set_has_shadow(); |
4777 | 0 | if (shadow_ == NULL) { |
4778 | 0 | shadow_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow; |
4779 | 0 | } |
4780 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.shadow) |
4781 | 0 | return shadow_; |
4782 | 0 | } |
4783 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* LayersPacket_Layer::release_shadow() { |
4784 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.shadow) |
4785 | 0 | clear_has_shadow(); |
4786 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* temp = shadow_; |
4787 | 0 | shadow_ = NULL; |
4788 | 0 | return temp; |
4789 | 0 | } |
4790 | 0 | inline void LayersPacket_Layer::set_allocated_shadow(::mozilla::layers::layerscope::LayersPacket_Layer_Shadow* shadow) { |
4791 | 0 | delete shadow_; |
4792 | 0 | shadow_ = shadow; |
4793 | 0 | if (shadow) { |
4794 | 0 | set_has_shadow(); |
4795 | 0 | } else { |
4796 | 0 | clear_has_shadow(); |
4797 | 0 | } |
4798 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.shadow) |
4799 | 0 | } |
4800 | | |
4801 | | // optional float opacity = 14; |
4802 | 0 | inline bool LayersPacket_Layer::has_opacity() const { |
4803 | 0 | return (_has_bits_[0] & 0x00008000u) != 0; |
4804 | 0 | } |
4805 | 0 | inline void LayersPacket_Layer::set_has_opacity() { |
4806 | 0 | _has_bits_[0] |= 0x00008000u; |
4807 | 0 | } |
4808 | 0 | inline void LayersPacket_Layer::clear_has_opacity() { |
4809 | 0 | _has_bits_[0] &= ~0x00008000u; |
4810 | 0 | } |
4811 | 0 | inline void LayersPacket_Layer::clear_opacity() { |
4812 | 0 | opacity_ = 0; |
4813 | 0 | clear_has_opacity(); |
4814 | 0 | } |
4815 | 0 | inline float LayersPacket_Layer::opacity() const { |
4816 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.opacity) |
4817 | 0 | return opacity_; |
4818 | 0 | } |
4819 | 0 | inline void LayersPacket_Layer::set_opacity(float value) { |
4820 | 0 | set_has_opacity(); |
4821 | 0 | opacity_ = value; |
4822 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.opacity) |
4823 | 0 | } |
4824 | | |
4825 | | // optional bool cOpaque = 15; |
4826 | 0 | inline bool LayersPacket_Layer::has_copaque() const { |
4827 | 0 | return (_has_bits_[0] & 0x00040000u) != 0; |
4828 | 0 | } |
4829 | 0 | inline void LayersPacket_Layer::set_has_copaque() { |
4830 | 0 | _has_bits_[0] |= 0x00040000u; |
4831 | 0 | } |
4832 | 0 | inline void LayersPacket_Layer::clear_has_copaque() { |
4833 | 0 | _has_bits_[0] &= ~0x00040000u; |
4834 | 0 | } |
4835 | 0 | inline void LayersPacket_Layer::clear_copaque() { |
4836 | 0 | copaque_ = false; |
4837 | 0 | clear_has_copaque(); |
4838 | 0 | } |
4839 | 0 | inline bool LayersPacket_Layer::copaque() const { |
4840 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.cOpaque) |
4841 | 0 | return copaque_; |
4842 | 0 | } |
4843 | 0 | inline void LayersPacket_Layer::set_copaque(bool value) { |
4844 | 0 | set_has_copaque(); |
4845 | 0 | copaque_ = value; |
4846 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.cOpaque) |
4847 | 0 | } |
4848 | | |
4849 | | // optional bool cAlpha = 16; |
4850 | 0 | inline bool LayersPacket_Layer::has_calpha() const { |
4851 | 0 | return (_has_bits_[0] & 0x00080000u) != 0; |
4852 | 0 | } |
4853 | 0 | inline void LayersPacket_Layer::set_has_calpha() { |
4854 | 0 | _has_bits_[0] |= 0x00080000u; |
4855 | 0 | } |
4856 | 0 | inline void LayersPacket_Layer::clear_has_calpha() { |
4857 | 0 | _has_bits_[0] &= ~0x00080000u; |
4858 | 0 | } |
4859 | 0 | inline void LayersPacket_Layer::clear_calpha() { |
4860 | 0 | calpha_ = false; |
4861 | 0 | clear_has_calpha(); |
4862 | 0 | } |
4863 | 0 | inline bool LayersPacket_Layer::calpha() const { |
4864 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.cAlpha) |
4865 | 0 | return calpha_; |
4866 | 0 | } |
4867 | 0 | inline void LayersPacket_Layer::set_calpha(bool value) { |
4868 | 0 | set_has_calpha(); |
4869 | 0 | calpha_ = value; |
4870 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.cAlpha) |
4871 | 0 | } |
4872 | | |
4873 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.ScrollingDirect direct = 17; |
4874 | 0 | inline bool LayersPacket_Layer::has_direct() const { |
4875 | 0 | return (_has_bits_[0] & 0x01000000u) != 0; |
4876 | 0 | } |
4877 | 0 | inline void LayersPacket_Layer::set_has_direct() { |
4878 | 0 | _has_bits_[0] |= 0x01000000u; |
4879 | 0 | } |
4880 | 0 | inline void LayersPacket_Layer::clear_has_direct() { |
4881 | 0 | _has_bits_[0] &= ~0x01000000u; |
4882 | 0 | } |
4883 | 0 | inline void LayersPacket_Layer::clear_direct() { |
4884 | 0 | direct_ = 1; |
4885 | 0 | clear_has_direct(); |
4886 | 0 | } |
4887 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect LayersPacket_Layer::direct() const { |
4888 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.direct) |
4889 | 0 | return static_cast< ::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect >(direct_); |
4890 | 0 | } |
4891 | 0 | inline void LayersPacket_Layer::set_direct(::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect value) { |
4892 | 0 | assert(::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect_IsValid(value)); |
4893 | 0 | set_has_direct(); |
4894 | 0 | direct_ = value; |
4895 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.direct) |
4896 | 0 | } |
4897 | | |
4898 | | // optional uint64 barID = 18; |
4899 | 0 | inline bool LayersPacket_Layer::has_barid() const { |
4900 | 0 | return (_has_bits_[0] & 0x00010000u) != 0; |
4901 | 0 | } |
4902 | 0 | inline void LayersPacket_Layer::set_has_barid() { |
4903 | 0 | _has_bits_[0] |= 0x00010000u; |
4904 | 0 | } |
4905 | 0 | inline void LayersPacket_Layer::clear_has_barid() { |
4906 | 0 | _has_bits_[0] &= ~0x00010000u; |
4907 | 0 | } |
4908 | 0 | inline void LayersPacket_Layer::clear_barid() { |
4909 | 0 | barid_ = GOOGLE_ULONGLONG(0); |
4910 | 0 | clear_has_barid(); |
4911 | 0 | } |
4912 | 0 | inline ::google::protobuf::uint64 LayersPacket_Layer::barid() const { |
4913 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.barID) |
4914 | 0 | return barid_; |
4915 | 0 | } |
4916 | 0 | inline void LayersPacket_Layer::set_barid(::google::protobuf::uint64 value) { |
4917 | 0 | set_has_barid(); |
4918 | 0 | barid_ = value; |
4919 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.barID) |
4920 | 0 | } |
4921 | | |
4922 | | // optional uint64 mask = 19; |
4923 | 0 | inline bool LayersPacket_Layer::has_mask() const { |
4924 | 0 | return (_has_bits_[0] & 0x00020000u) != 0; |
4925 | 0 | } |
4926 | 0 | inline void LayersPacket_Layer::set_has_mask() { |
4927 | 0 | _has_bits_[0] |= 0x00020000u; |
4928 | 0 | } |
4929 | 0 | inline void LayersPacket_Layer::clear_has_mask() { |
4930 | 0 | _has_bits_[0] &= ~0x00020000u; |
4931 | 0 | } |
4932 | 0 | inline void LayersPacket_Layer::clear_mask() { |
4933 | 0 | mask_ = GOOGLE_ULONGLONG(0); |
4934 | 0 | clear_has_mask(); |
4935 | 0 | } |
4936 | 0 | inline ::google::protobuf::uint64 LayersPacket_Layer::mask() const { |
4937 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.mask) |
4938 | 0 | return mask_; |
4939 | 0 | } |
4940 | 0 | inline void LayersPacket_Layer::set_mask(::google::protobuf::uint64 value) { |
4941 | 0 | set_has_mask(); |
4942 | 0 | mask_ = value; |
4943 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.mask) |
4944 | 0 | } |
4945 | | |
4946 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region hitRegion = 20; |
4947 | 0 | inline bool LayersPacket_Layer::has_hitregion() const { |
4948 | 0 | return (_has_bits_[0] & 0x00000020u) != 0; |
4949 | 0 | } |
4950 | 0 | inline void LayersPacket_Layer::set_has_hitregion() { |
4951 | 0 | _has_bits_[0] |= 0x00000020u; |
4952 | 0 | } |
4953 | 0 | inline void LayersPacket_Layer::clear_has_hitregion() { |
4954 | 0 | _has_bits_[0] &= ~0x00000020u; |
4955 | 0 | } |
4956 | 0 | inline void LayersPacket_Layer::clear_hitregion() { |
4957 | 0 | if (hitregion_ != NULL) hitregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
4958 | 0 | clear_has_hitregion(); |
4959 | 0 | } |
4960 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::hitregion() const { |
4961 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = hitregion_; |
4962 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.hitRegion) |
4963 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
4964 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
4965 | 0 | } |
4966 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_hitregion() { |
4967 | 0 | set_has_hitregion(); |
4968 | 0 | if (hitregion_ == NULL) { |
4969 | 0 | hitregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
4970 | 0 | } |
4971 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.hitRegion) |
4972 | 0 | return hitregion_; |
4973 | 0 | } |
4974 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_hitregion() { |
4975 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.hitRegion) |
4976 | 0 | clear_has_hitregion(); |
4977 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = hitregion_; |
4978 | 0 | hitregion_ = NULL; |
4979 | 0 | return temp; |
4980 | 0 | } |
4981 | 0 | inline void LayersPacket_Layer::set_allocated_hitregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* hitregion) { |
4982 | 0 | delete hitregion_; |
4983 | 0 | hitregion_ = hitregion; |
4984 | 0 | if (hitregion) { |
4985 | 0 | set_has_hitregion(); |
4986 | 0 | } else { |
4987 | 0 | clear_has_hitregion(); |
4988 | 0 | } |
4989 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.hitRegion) |
4990 | 0 | } |
4991 | | |
4992 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region dispatchRegion = 21; |
4993 | 0 | inline bool LayersPacket_Layer::has_dispatchregion() const { |
4994 | 0 | return (_has_bits_[0] & 0x00000040u) != 0; |
4995 | 0 | } |
4996 | 0 | inline void LayersPacket_Layer::set_has_dispatchregion() { |
4997 | 0 | _has_bits_[0] |= 0x00000040u; |
4998 | 0 | } |
4999 | 0 | inline void LayersPacket_Layer::clear_has_dispatchregion() { |
5000 | 0 | _has_bits_[0] &= ~0x00000040u; |
5001 | 0 | } |
5002 | 0 | inline void LayersPacket_Layer::clear_dispatchregion() { |
5003 | 0 | if (dispatchregion_ != NULL) dispatchregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
5004 | 0 | clear_has_dispatchregion(); |
5005 | 0 | } |
5006 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::dispatchregion() const { |
5007 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = dispatchregion_; |
5008 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.dispatchRegion) |
5009 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
5010 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
5011 | 0 | } |
5012 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_dispatchregion() { |
5013 | 0 | set_has_dispatchregion(); |
5014 | 0 | if (dispatchregion_ == NULL) { |
5015 | 0 | dispatchregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
5016 | 0 | } |
5017 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.dispatchRegion) |
5018 | 0 | return dispatchregion_; |
5019 | 0 | } |
5020 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_dispatchregion() { |
5021 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.dispatchRegion) |
5022 | 0 | clear_has_dispatchregion(); |
5023 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = dispatchregion_; |
5024 | 0 | dispatchregion_ = NULL; |
5025 | 0 | return temp; |
5026 | 0 | } |
5027 | 0 | inline void LayersPacket_Layer::set_allocated_dispatchregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* dispatchregion) { |
5028 | 0 | delete dispatchregion_; |
5029 | 0 | dispatchregion_ = dispatchregion; |
5030 | 0 | if (dispatchregion) { |
5031 | 0 | set_has_dispatchregion(); |
5032 | 0 | } else { |
5033 | 0 | clear_has_dispatchregion(); |
5034 | 0 | } |
5035 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.dispatchRegion) |
5036 | 0 | } |
5037 | | |
5038 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region noActionRegion = 22; |
5039 | 0 | inline bool LayersPacket_Layer::has_noactionregion() const { |
5040 | 0 | return (_has_bits_[0] & 0x00000080u) != 0; |
5041 | 0 | } |
5042 | 0 | inline void LayersPacket_Layer::set_has_noactionregion() { |
5043 | 0 | _has_bits_[0] |= 0x00000080u; |
5044 | 0 | } |
5045 | 0 | inline void LayersPacket_Layer::clear_has_noactionregion() { |
5046 | 0 | _has_bits_[0] &= ~0x00000080u; |
5047 | 0 | } |
5048 | 0 | inline void LayersPacket_Layer::clear_noactionregion() { |
5049 | 0 | if (noactionregion_ != NULL) noactionregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
5050 | 0 | clear_has_noactionregion(); |
5051 | 0 | } |
5052 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::noactionregion() const { |
5053 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = noactionregion_; |
5054 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.noActionRegion) |
5055 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
5056 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
5057 | 0 | } |
5058 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_noactionregion() { |
5059 | 0 | set_has_noactionregion(); |
5060 | 0 | if (noactionregion_ == NULL) { |
5061 | 0 | noactionregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
5062 | 0 | } |
5063 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.noActionRegion) |
5064 | 0 | return noactionregion_; |
5065 | 0 | } |
5066 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_noactionregion() { |
5067 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.noActionRegion) |
5068 | 0 | clear_has_noactionregion(); |
5069 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = noactionregion_; |
5070 | 0 | noactionregion_ = NULL; |
5071 | 0 | return temp; |
5072 | 0 | } |
5073 | 0 | inline void LayersPacket_Layer::set_allocated_noactionregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* noactionregion) { |
5074 | 0 | delete noactionregion_; |
5075 | 0 | noactionregion_ = noactionregion; |
5076 | 0 | if (noactionregion) { |
5077 | 0 | set_has_noactionregion(); |
5078 | 0 | } else { |
5079 | 0 | clear_has_noactionregion(); |
5080 | 0 | } |
5081 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.noActionRegion) |
5082 | 0 | } |
5083 | | |
5084 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region hPanRegion = 23; |
5085 | 0 | inline bool LayersPacket_Layer::has_hpanregion() const { |
5086 | 0 | return (_has_bits_[0] & 0x00000100u) != 0; |
5087 | 0 | } |
5088 | 0 | inline void LayersPacket_Layer::set_has_hpanregion() { |
5089 | 0 | _has_bits_[0] |= 0x00000100u; |
5090 | 0 | } |
5091 | 0 | inline void LayersPacket_Layer::clear_has_hpanregion() { |
5092 | 0 | _has_bits_[0] &= ~0x00000100u; |
5093 | 0 | } |
5094 | 0 | inline void LayersPacket_Layer::clear_hpanregion() { |
5095 | 0 | if (hpanregion_ != NULL) hpanregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
5096 | 0 | clear_has_hpanregion(); |
5097 | 0 | } |
5098 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::hpanregion() const { |
5099 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = hpanregion_; |
5100 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.hPanRegion) |
5101 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
5102 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
5103 | 0 | } |
5104 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_hpanregion() { |
5105 | 0 | set_has_hpanregion(); |
5106 | 0 | if (hpanregion_ == NULL) { |
5107 | 0 | hpanregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
5108 | 0 | } |
5109 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.hPanRegion) |
5110 | 0 | return hpanregion_; |
5111 | 0 | } |
5112 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_hpanregion() { |
5113 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.hPanRegion) |
5114 | 0 | clear_has_hpanregion(); |
5115 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = hpanregion_; |
5116 | 0 | hpanregion_ = NULL; |
5117 | 0 | return temp; |
5118 | 0 | } |
5119 | 0 | inline void LayersPacket_Layer::set_allocated_hpanregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* hpanregion) { |
5120 | 0 | delete hpanregion_; |
5121 | 0 | hpanregion_ = hpanregion; |
5122 | 0 | if (hpanregion) { |
5123 | 0 | set_has_hpanregion(); |
5124 | 0 | } else { |
5125 | 0 | clear_has_hpanregion(); |
5126 | 0 | } |
5127 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.hPanRegion) |
5128 | 0 | } |
5129 | | |
5130 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region vPanRegion = 24; |
5131 | 0 | inline bool LayersPacket_Layer::has_vpanregion() const { |
5132 | 0 | return (_has_bits_[0] & 0x00000200u) != 0; |
5133 | 0 | } |
5134 | 0 | inline void LayersPacket_Layer::set_has_vpanregion() { |
5135 | 0 | _has_bits_[0] |= 0x00000200u; |
5136 | 0 | } |
5137 | 0 | inline void LayersPacket_Layer::clear_has_vpanregion() { |
5138 | 0 | _has_bits_[0] &= ~0x00000200u; |
5139 | 0 | } |
5140 | 0 | inline void LayersPacket_Layer::clear_vpanregion() { |
5141 | 0 | if (vpanregion_ != NULL) vpanregion_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
5142 | 0 | clear_has_vpanregion(); |
5143 | 0 | } |
5144 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::vpanregion() const { |
5145 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = vpanregion_; |
5146 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.vPanRegion) |
5147 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
5148 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
5149 | 0 | } |
5150 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_vpanregion() { |
5151 | 0 | set_has_vpanregion(); |
5152 | 0 | if (vpanregion_ == NULL) { |
5153 | 0 | vpanregion_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
5154 | 0 | } |
5155 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.vPanRegion) |
5156 | 0 | return vpanregion_; |
5157 | 0 | } |
5158 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_vpanregion() { |
5159 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.vPanRegion) |
5160 | 0 | clear_has_vpanregion(); |
5161 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = vpanregion_; |
5162 | 0 | vpanregion_ = NULL; |
5163 | 0 | return temp; |
5164 | 0 | } |
5165 | 0 | inline void LayersPacket_Layer::set_allocated_vpanregion(::mozilla::layers::layerscope::LayersPacket_Layer_Region* vpanregion) { |
5166 | 0 | delete vpanregion_; |
5167 | 0 | vpanregion_ = vpanregion; |
5168 | 0 | if (vpanregion) { |
5169 | 0 | set_has_vpanregion(); |
5170 | 0 | } else { |
5171 | 0 | clear_has_vpanregion(); |
5172 | 0 | } |
5173 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.vPanRegion) |
5174 | 0 | } |
5175 | | |
5176 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Region valid = 100; |
5177 | 0 | inline bool LayersPacket_Layer::has_valid() const { |
5178 | 0 | return (_has_bits_[0] & 0x00000400u) != 0; |
5179 | 0 | } |
5180 | 0 | inline void LayersPacket_Layer::set_has_valid() { |
5181 | 0 | _has_bits_[0] |= 0x00000400u; |
5182 | 0 | } |
5183 | 0 | inline void LayersPacket_Layer::clear_has_valid() { |
5184 | 0 | _has_bits_[0] &= ~0x00000400u; |
5185 | 0 | } |
5186 | 0 | inline void LayersPacket_Layer::clear_valid() { |
5187 | 0 | if (valid_ != NULL) valid_->::mozilla::layers::layerscope::LayersPacket_Layer_Region::Clear(); |
5188 | 0 | clear_has_valid(); |
5189 | 0 | } |
5190 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Region& LayersPacket_Layer::valid() const { |
5191 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Region* p = valid_; |
5192 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.valid) |
5193 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Region*>( |
5194 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Region_default_instance_); |
5195 | 0 | } |
5196 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::mutable_valid() { |
5197 | 0 | set_has_valid(); |
5198 | 0 | if (valid_ == NULL) { |
5199 | 0 | valid_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Region; |
5200 | 0 | } |
5201 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.valid) |
5202 | 0 | return valid_; |
5203 | 0 | } |
5204 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Region* LayersPacket_Layer::release_valid() { |
5205 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.valid) |
5206 | 0 | clear_has_valid(); |
5207 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Region* temp = valid_; |
5208 | 0 | valid_ = NULL; |
5209 | 0 | return temp; |
5210 | 0 | } |
5211 | 0 | inline void LayersPacket_Layer::set_allocated_valid(::mozilla::layers::layerscope::LayersPacket_Layer_Region* valid) { |
5212 | 0 | delete valid_; |
5213 | 0 | valid_ = valid; |
5214 | 0 | if (valid) { |
5215 | 0 | set_has_valid(); |
5216 | 0 | } else { |
5217 | 0 | clear_has_valid(); |
5218 | 0 | } |
5219 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.valid) |
5220 | 0 | } |
5221 | | |
5222 | | // optional uint32 color = 101; |
5223 | 0 | inline bool LayersPacket_Layer::has_color() const { |
5224 | 0 | return (_has_bits_[0] & 0x00100000u) != 0; |
5225 | 0 | } |
5226 | 0 | inline void LayersPacket_Layer::set_has_color() { |
5227 | 0 | _has_bits_[0] |= 0x00100000u; |
5228 | 0 | } |
5229 | 0 | inline void LayersPacket_Layer::clear_has_color() { |
5230 | 0 | _has_bits_[0] &= ~0x00100000u; |
5231 | 0 | } |
5232 | 0 | inline void LayersPacket_Layer::clear_color() { |
5233 | 0 | color_ = 0u; |
5234 | 0 | clear_has_color(); |
5235 | 0 | } |
5236 | 0 | inline ::google::protobuf::uint32 LayersPacket_Layer::color() const { |
5237 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.color) |
5238 | 0 | return color_; |
5239 | 0 | } |
5240 | 0 | inline void LayersPacket_Layer::set_color(::google::protobuf::uint32 value) { |
5241 | 0 | set_has_color(); |
5242 | 0 | color_ = value; |
5243 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.color) |
5244 | 0 | } |
5245 | | |
5246 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Filter filter = 102; |
5247 | 0 | inline bool LayersPacket_Layer::has_filter() const { |
5248 | 0 | return (_has_bits_[0] & 0x00400000u) != 0; |
5249 | 0 | } |
5250 | 0 | inline void LayersPacket_Layer::set_has_filter() { |
5251 | 0 | _has_bits_[0] |= 0x00400000u; |
5252 | 0 | } |
5253 | 0 | inline void LayersPacket_Layer::clear_has_filter() { |
5254 | 0 | _has_bits_[0] &= ~0x00400000u; |
5255 | 0 | } |
5256 | 0 | inline void LayersPacket_Layer::clear_filter() { |
5257 | 0 | filter_ = 0; |
5258 | 0 | clear_has_filter(); |
5259 | 0 | } |
5260 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Filter LayersPacket_Layer::filter() const { |
5261 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.filter) |
5262 | 0 | return static_cast< ::mozilla::layers::layerscope::LayersPacket_Layer_Filter >(filter_); |
5263 | 0 | } |
5264 | 0 | inline void LayersPacket_Layer::set_filter(::mozilla::layers::layerscope::LayersPacket_Layer_Filter value) { |
5265 | 0 | assert(::mozilla::layers::layerscope::LayersPacket_Layer_Filter_IsValid(value)); |
5266 | 0 | set_has_filter(); |
5267 | 0 | filter_ = value; |
5268 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.filter) |
5269 | 0 | } |
5270 | | |
5271 | | // optional uint64 refID = 103; |
5272 | 0 | inline bool LayersPacket_Layer::has_refid() const { |
5273 | 0 | return (_has_bits_[0] & 0x00200000u) != 0; |
5274 | 0 | } |
5275 | 0 | inline void LayersPacket_Layer::set_has_refid() { |
5276 | 0 | _has_bits_[0] |= 0x00200000u; |
5277 | 0 | } |
5278 | 0 | inline void LayersPacket_Layer::clear_has_refid() { |
5279 | 0 | _has_bits_[0] &= ~0x00200000u; |
5280 | 0 | } |
5281 | 0 | inline void LayersPacket_Layer::clear_refid() { |
5282 | 0 | refid_ = GOOGLE_ULONGLONG(0); |
5283 | 0 | clear_has_refid(); |
5284 | 0 | } |
5285 | 0 | inline ::google::protobuf::uint64 LayersPacket_Layer::refid() const { |
5286 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.refID) |
5287 | 0 | return refid_; |
5288 | 0 | } |
5289 | 0 | inline void LayersPacket_Layer::set_refid(::google::protobuf::uint64 value) { |
5290 | 0 | set_has_refid(); |
5291 | 0 | refid_ = value; |
5292 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.refID) |
5293 | 0 | } |
5294 | | |
5295 | | // optional .mozilla.layers.layerscope.LayersPacket.Layer.Size size = 104; |
5296 | 0 | inline bool LayersPacket_Layer::has_size() const { |
5297 | 0 | return (_has_bits_[0] & 0x00000800u) != 0; |
5298 | 0 | } |
5299 | 0 | inline void LayersPacket_Layer::set_has_size() { |
5300 | 0 | _has_bits_[0] |= 0x00000800u; |
5301 | 0 | } |
5302 | 0 | inline void LayersPacket_Layer::clear_has_size() { |
5303 | 0 | _has_bits_[0] &= ~0x00000800u; |
5304 | 0 | } |
5305 | 0 | inline void LayersPacket_Layer::clear_size() { |
5306 | 0 | if (size_ != NULL) size_->::mozilla::layers::layerscope::LayersPacket_Layer_Size::Clear(); |
5307 | 0 | clear_has_size(); |
5308 | 0 | } |
5309 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer_Size& LayersPacket_Layer::size() const { |
5310 | 0 | const ::mozilla::layers::layerscope::LayersPacket_Layer_Size* p = size_; |
5311 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.size) |
5312 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket_Layer_Size*>( |
5313 | 0 | &::mozilla::layers::layerscope::_LayersPacket_Layer_Size_default_instance_); |
5314 | 0 | } |
5315 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Size* LayersPacket_Layer::mutable_size() { |
5316 | 0 | set_has_size(); |
5317 | 0 | if (size_ == NULL) { |
5318 | 0 | size_ = new ::mozilla::layers::layerscope::LayersPacket_Layer_Size; |
5319 | 0 | } |
5320 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.size) |
5321 | 0 | return size_; |
5322 | 0 | } |
5323 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer_Size* LayersPacket_Layer::release_size() { |
5324 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.size) |
5325 | 0 | clear_has_size(); |
5326 | 0 | ::mozilla::layers::layerscope::LayersPacket_Layer_Size* temp = size_; |
5327 | 0 | size_ = NULL; |
5328 | 0 | return temp; |
5329 | 0 | } |
5330 | 0 | inline void LayersPacket_Layer::set_allocated_size(::mozilla::layers::layerscope::LayersPacket_Layer_Size* size) { |
5331 | 0 | delete size_; |
5332 | 0 | size_ = size; |
5333 | 0 | if (size) { |
5334 | 0 | set_has_size(); |
5335 | 0 | } else { |
5336 | 0 | clear_has_size(); |
5337 | 0 | } |
5338 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.size) |
5339 | 0 | } |
5340 | | |
5341 | | // optional uint32 displayListLogLength = 105; |
5342 | 0 | inline bool LayersPacket_Layer::has_displaylistloglength() const { |
5343 | 0 | return (_has_bits_[0] & 0x00800000u) != 0; |
5344 | 0 | } |
5345 | 0 | inline void LayersPacket_Layer::set_has_displaylistloglength() { |
5346 | 0 | _has_bits_[0] |= 0x00800000u; |
5347 | 0 | } |
5348 | 0 | inline void LayersPacket_Layer::clear_has_displaylistloglength() { |
5349 | 0 | _has_bits_[0] &= ~0x00800000u; |
5350 | 0 | } |
5351 | 0 | inline void LayersPacket_Layer::clear_displaylistloglength() { |
5352 | 0 | displaylistloglength_ = 0u; |
5353 | 0 | clear_has_displaylistloglength(); |
5354 | 0 | } |
5355 | 0 | inline ::google::protobuf::uint32 LayersPacket_Layer::displaylistloglength() const { |
5356 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.displayListLogLength) |
5357 | 0 | return displaylistloglength_; |
5358 | 0 | } |
5359 | 0 | inline void LayersPacket_Layer::set_displaylistloglength(::google::protobuf::uint32 value) { |
5360 | 0 | set_has_displaylistloglength(); |
5361 | 0 | displaylistloglength_ = value; |
5362 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.displayListLogLength) |
5363 | 0 | } |
5364 | | |
5365 | | // optional bytes displayListLog = 106; |
5366 | 0 | inline bool LayersPacket_Layer::has_displaylistlog() const { |
5367 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5368 | 0 | } |
5369 | 0 | inline void LayersPacket_Layer::set_has_displaylistlog() { |
5370 | 0 | _has_bits_[0] |= 0x00000001u; |
5371 | 0 | } |
5372 | 0 | inline void LayersPacket_Layer::clear_has_displaylistlog() { |
5373 | 0 | _has_bits_[0] &= ~0x00000001u; |
5374 | 0 | } |
5375 | 0 | inline void LayersPacket_Layer::clear_displaylistlog() { |
5376 | 0 | displaylistlog_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5377 | 0 | clear_has_displaylistlog(); |
5378 | 0 | } |
5379 | 0 | inline const ::std::string& LayersPacket_Layer::displaylistlog() const { |
5380 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5381 | 0 | return displaylistlog_.GetNoArena(); |
5382 | 0 | } |
5383 | 0 | inline void LayersPacket_Layer::set_displaylistlog(const ::std::string& value) { |
5384 | 0 | set_has_displaylistlog(); |
5385 | 0 | displaylistlog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5386 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5387 | 0 | } |
5388 | | #if LANG_CXX11 |
5389 | 0 | inline void LayersPacket_Layer::set_displaylistlog(::std::string&& value) { |
5390 | 0 | set_has_displaylistlog(); |
5391 | 0 | displaylistlog_.SetNoArena( |
5392 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5393 | 0 | // @@protoc_insertion_point(field_set_rvalue:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5394 | 0 | } |
5395 | | #endif |
5396 | 0 | inline void LayersPacket_Layer::set_displaylistlog(const char* value) { |
5397 | 0 | GOOGLE_DCHECK(value != NULL); |
5398 | 0 | set_has_displaylistlog(); |
5399 | 0 | displaylistlog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5400 | 0 | // @@protoc_insertion_point(field_set_char:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5401 | 0 | } |
5402 | 0 | inline void LayersPacket_Layer::set_displaylistlog(const void* value, size_t size) { |
5403 | 0 | set_has_displaylistlog(); |
5404 | 0 | displaylistlog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5405 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5406 | 0 | // @@protoc_insertion_point(field_set_pointer:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5407 | 0 | } |
5408 | 0 | inline ::std::string* LayersPacket_Layer::mutable_displaylistlog() { |
5409 | 0 | set_has_displaylistlog(); |
5410 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5411 | 0 | return displaylistlog_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5412 | 0 | } |
5413 | 0 | inline ::std::string* LayersPacket_Layer::release_displaylistlog() { |
5414 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5415 | 0 | clear_has_displaylistlog(); |
5416 | 0 | return displaylistlog_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5417 | 0 | } |
5418 | 0 | inline void LayersPacket_Layer::set_allocated_displaylistlog(::std::string* displaylistlog) { |
5419 | 0 | if (displaylistlog != NULL) { |
5420 | 0 | set_has_displaylistlog(); |
5421 | 0 | } else { |
5422 | 0 | clear_has_displaylistlog(); |
5423 | 0 | } |
5424 | 0 | displaylistlog_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), displaylistlog); |
5425 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.LayersPacket.Layer.displayListLog) |
5426 | 0 | } |
5427 | | |
5428 | | // ------------------------------------------------------------------- |
5429 | | |
5430 | | // LayersPacket |
5431 | | |
5432 | | // repeated .mozilla.layers.layerscope.LayersPacket.Layer layer = 1; |
5433 | 0 | inline int LayersPacket::layer_size() const { |
5434 | 0 | return layer_.size(); |
5435 | 0 | } |
5436 | 0 | inline void LayersPacket::clear_layer() { |
5437 | 0 | layer_.Clear(); |
5438 | 0 | } |
5439 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket_Layer& LayersPacket::layer(int index) const { |
5440 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.LayersPacket.layer) |
5441 | 0 | return layer_.Get(index); |
5442 | 0 | } |
5443 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer* LayersPacket::mutable_layer(int index) { |
5444 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.LayersPacket.layer) |
5445 | 0 | return layer_.Mutable(index); |
5446 | 0 | } |
5447 | 0 | inline ::mozilla::layers::layerscope::LayersPacket_Layer* LayersPacket::add_layer() { |
5448 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.LayersPacket.layer) |
5449 | 0 | return layer_.Add(); |
5450 | 0 | } |
5451 | | inline ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer >* |
5452 | 0 | LayersPacket::mutable_layer() { |
5453 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.LayersPacket.layer) |
5454 | 0 | return &layer_; |
5455 | 0 | } |
5456 | | inline const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::LayersPacket_Layer >& |
5457 | 0 | LayersPacket::layer() const { |
5458 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.LayersPacket.layer) |
5459 | 0 | return layer_; |
5460 | 0 | } |
5461 | | |
5462 | | // ------------------------------------------------------------------- |
5463 | | |
5464 | | // MetaPacket |
5465 | | |
5466 | | // optional bool composedByHwc = 1; |
5467 | 0 | inline bool MetaPacket::has_composedbyhwc() const { |
5468 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5469 | 0 | } |
5470 | 0 | inline void MetaPacket::set_has_composedbyhwc() { |
5471 | 0 | _has_bits_[0] |= 0x00000001u; |
5472 | 0 | } |
5473 | 0 | inline void MetaPacket::clear_has_composedbyhwc() { |
5474 | 0 | _has_bits_[0] &= ~0x00000001u; |
5475 | 0 | } |
5476 | 0 | inline void MetaPacket::clear_composedbyhwc() { |
5477 | 0 | composedbyhwc_ = false; |
5478 | 0 | clear_has_composedbyhwc(); |
5479 | 0 | } |
5480 | 0 | inline bool MetaPacket::composedbyhwc() const { |
5481 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.MetaPacket.composedByHwc) |
5482 | 0 | return composedbyhwc_; |
5483 | 0 | } |
5484 | 0 | inline void MetaPacket::set_composedbyhwc(bool value) { |
5485 | 0 | set_has_composedbyhwc(); |
5486 | 0 | composedbyhwc_ = value; |
5487 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.MetaPacket.composedByHwc) |
5488 | 0 | } |
5489 | | |
5490 | | // ------------------------------------------------------------------- |
5491 | | |
5492 | | // DrawPacket_Rect |
5493 | | |
5494 | | // required float x = 1; |
5495 | 0 | inline bool DrawPacket_Rect::has_x() const { |
5496 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5497 | 0 | } |
5498 | 0 | inline void DrawPacket_Rect::set_has_x() { |
5499 | 0 | _has_bits_[0] |= 0x00000001u; |
5500 | 0 | } |
5501 | 0 | inline void DrawPacket_Rect::clear_has_x() { |
5502 | 0 | _has_bits_[0] &= ~0x00000001u; |
5503 | 0 | } |
5504 | 0 | inline void DrawPacket_Rect::clear_x() { |
5505 | 0 | x_ = 0; |
5506 | 0 | clear_has_x(); |
5507 | 0 | } |
5508 | 0 | inline float DrawPacket_Rect::x() const { |
5509 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.Rect.x) |
5510 | 0 | return x_; |
5511 | 0 | } |
5512 | 0 | inline void DrawPacket_Rect::set_x(float value) { |
5513 | 0 | set_has_x(); |
5514 | 0 | x_ = value; |
5515 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.Rect.x) |
5516 | 0 | } |
5517 | | |
5518 | | // required float y = 2; |
5519 | 0 | inline bool DrawPacket_Rect::has_y() const { |
5520 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5521 | 0 | } |
5522 | 0 | inline void DrawPacket_Rect::set_has_y() { |
5523 | 0 | _has_bits_[0] |= 0x00000002u; |
5524 | 0 | } |
5525 | 0 | inline void DrawPacket_Rect::clear_has_y() { |
5526 | 0 | _has_bits_[0] &= ~0x00000002u; |
5527 | 0 | } |
5528 | 0 | inline void DrawPacket_Rect::clear_y() { |
5529 | 0 | y_ = 0; |
5530 | 0 | clear_has_y(); |
5531 | 0 | } |
5532 | 0 | inline float DrawPacket_Rect::y() const { |
5533 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.Rect.y) |
5534 | 0 | return y_; |
5535 | 0 | } |
5536 | 0 | inline void DrawPacket_Rect::set_y(float value) { |
5537 | 0 | set_has_y(); |
5538 | 0 | y_ = value; |
5539 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.Rect.y) |
5540 | 0 | } |
5541 | | |
5542 | | // required float w = 3; |
5543 | 0 | inline bool DrawPacket_Rect::has_w() const { |
5544 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5545 | 0 | } |
5546 | 0 | inline void DrawPacket_Rect::set_has_w() { |
5547 | 0 | _has_bits_[0] |= 0x00000004u; |
5548 | 0 | } |
5549 | 0 | inline void DrawPacket_Rect::clear_has_w() { |
5550 | 0 | _has_bits_[0] &= ~0x00000004u; |
5551 | 0 | } |
5552 | 0 | inline void DrawPacket_Rect::clear_w() { |
5553 | 0 | w_ = 0; |
5554 | 0 | clear_has_w(); |
5555 | 0 | } |
5556 | 0 | inline float DrawPacket_Rect::w() const { |
5557 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.Rect.w) |
5558 | 0 | return w_; |
5559 | 0 | } |
5560 | 0 | inline void DrawPacket_Rect::set_w(float value) { |
5561 | 0 | set_has_w(); |
5562 | 0 | w_ = value; |
5563 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.Rect.w) |
5564 | 0 | } |
5565 | | |
5566 | | // required float h = 4; |
5567 | 0 | inline bool DrawPacket_Rect::has_h() const { |
5568 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
5569 | 0 | } |
5570 | 0 | inline void DrawPacket_Rect::set_has_h() { |
5571 | 0 | _has_bits_[0] |= 0x00000008u; |
5572 | 0 | } |
5573 | 0 | inline void DrawPacket_Rect::clear_has_h() { |
5574 | 0 | _has_bits_[0] &= ~0x00000008u; |
5575 | 0 | } |
5576 | 0 | inline void DrawPacket_Rect::clear_h() { |
5577 | 0 | h_ = 0; |
5578 | 0 | clear_has_h(); |
5579 | 0 | } |
5580 | 0 | inline float DrawPacket_Rect::h() const { |
5581 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.Rect.h) |
5582 | 0 | return h_; |
5583 | 0 | } |
5584 | 0 | inline void DrawPacket_Rect::set_h(float value) { |
5585 | 0 | set_has_h(); |
5586 | 0 | h_ = value; |
5587 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.Rect.h) |
5588 | 0 | } |
5589 | | |
5590 | | // ------------------------------------------------------------------- |
5591 | | |
5592 | | // DrawPacket |
5593 | | |
5594 | | // required float offsetX = 1; |
5595 | 0 | inline bool DrawPacket::has_offsetx() const { |
5596 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5597 | 0 | } |
5598 | 0 | inline void DrawPacket::set_has_offsetx() { |
5599 | 0 | _has_bits_[0] |= 0x00000001u; |
5600 | 0 | } |
5601 | 0 | inline void DrawPacket::clear_has_offsetx() { |
5602 | 0 | _has_bits_[0] &= ~0x00000001u; |
5603 | 0 | } |
5604 | 0 | inline void DrawPacket::clear_offsetx() { |
5605 | 0 | offsetx_ = 0; |
5606 | 0 | clear_has_offsetx(); |
5607 | 0 | } |
5608 | 0 | inline float DrawPacket::offsetx() const { |
5609 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.offsetX) |
5610 | 0 | return offsetx_; |
5611 | 0 | } |
5612 | 0 | inline void DrawPacket::set_offsetx(float value) { |
5613 | 0 | set_has_offsetx(); |
5614 | 0 | offsetx_ = value; |
5615 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.offsetX) |
5616 | 0 | } |
5617 | | |
5618 | | // required float offsetY = 2; |
5619 | 0 | inline bool DrawPacket::has_offsety() const { |
5620 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5621 | 0 | } |
5622 | 0 | inline void DrawPacket::set_has_offsety() { |
5623 | 0 | _has_bits_[0] |= 0x00000002u; |
5624 | 0 | } |
5625 | 0 | inline void DrawPacket::clear_has_offsety() { |
5626 | 0 | _has_bits_[0] &= ~0x00000002u; |
5627 | 0 | } |
5628 | 0 | inline void DrawPacket::clear_offsety() { |
5629 | 0 | offsety_ = 0; |
5630 | 0 | clear_has_offsety(); |
5631 | 0 | } |
5632 | 0 | inline float DrawPacket::offsety() const { |
5633 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.offsetY) |
5634 | 0 | return offsety_; |
5635 | 0 | } |
5636 | 0 | inline void DrawPacket::set_offsety(float value) { |
5637 | 0 | set_has_offsety(); |
5638 | 0 | offsety_ = value; |
5639 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.offsetY) |
5640 | 0 | } |
5641 | | |
5642 | | // repeated float mvMatrix = 3; |
5643 | 0 | inline int DrawPacket::mvmatrix_size() const { |
5644 | 0 | return mvmatrix_.size(); |
5645 | 0 | } |
5646 | 0 | inline void DrawPacket::clear_mvmatrix() { |
5647 | 0 | mvmatrix_.Clear(); |
5648 | 0 | } |
5649 | 0 | inline float DrawPacket::mvmatrix(int index) const { |
5650 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.mvMatrix) |
5651 | 0 | return mvmatrix_.Get(index); |
5652 | 0 | } |
5653 | 0 | inline void DrawPacket::set_mvmatrix(int index, float value) { |
5654 | 0 | mvmatrix_.Set(index, value); |
5655 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.mvMatrix) |
5656 | 0 | } |
5657 | 0 | inline void DrawPacket::add_mvmatrix(float value) { |
5658 | 0 | mvmatrix_.Add(value); |
5659 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.DrawPacket.mvMatrix) |
5660 | 0 | } |
5661 | | inline const ::google::protobuf::RepeatedField< float >& |
5662 | 0 | DrawPacket::mvmatrix() const { |
5663 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.DrawPacket.mvMatrix) |
5664 | 0 | return mvmatrix_; |
5665 | 0 | } |
5666 | | inline ::google::protobuf::RepeatedField< float >* |
5667 | 0 | DrawPacket::mutable_mvmatrix() { |
5668 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.DrawPacket.mvMatrix) |
5669 | 0 | return &mvmatrix_; |
5670 | 0 | } |
5671 | | |
5672 | | // required uint32 totalRects = 4; |
5673 | 0 | inline bool DrawPacket::has_totalrects() const { |
5674 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
5675 | 0 | } |
5676 | 0 | inline void DrawPacket::set_has_totalrects() { |
5677 | 0 | _has_bits_[0] |= 0x00000008u; |
5678 | 0 | } |
5679 | 0 | inline void DrawPacket::clear_has_totalrects() { |
5680 | 0 | _has_bits_[0] &= ~0x00000008u; |
5681 | 0 | } |
5682 | 0 | inline void DrawPacket::clear_totalrects() { |
5683 | 0 | totalrects_ = 0u; |
5684 | 0 | clear_has_totalrects(); |
5685 | 0 | } |
5686 | 0 | inline ::google::protobuf::uint32 DrawPacket::totalrects() const { |
5687 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.totalRects) |
5688 | 0 | return totalrects_; |
5689 | 0 | } |
5690 | 0 | inline void DrawPacket::set_totalrects(::google::protobuf::uint32 value) { |
5691 | 0 | set_has_totalrects(); |
5692 | 0 | totalrects_ = value; |
5693 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.totalRects) |
5694 | 0 | } |
5695 | | |
5696 | | // repeated .mozilla.layers.layerscope.DrawPacket.Rect layerRect = 5; |
5697 | 0 | inline int DrawPacket::layerrect_size() const { |
5698 | 0 | return layerrect_.size(); |
5699 | 0 | } |
5700 | 0 | inline void DrawPacket::clear_layerrect() { |
5701 | 0 | layerrect_.Clear(); |
5702 | 0 | } |
5703 | 0 | inline const ::mozilla::layers::layerscope::DrawPacket_Rect& DrawPacket::layerrect(int index) const { |
5704 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.layerRect) |
5705 | 0 | return layerrect_.Get(index); |
5706 | 0 | } |
5707 | 0 | inline ::mozilla::layers::layerscope::DrawPacket_Rect* DrawPacket::mutable_layerrect(int index) { |
5708 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.DrawPacket.layerRect) |
5709 | 0 | return layerrect_.Mutable(index); |
5710 | 0 | } |
5711 | 0 | inline ::mozilla::layers::layerscope::DrawPacket_Rect* DrawPacket::add_layerrect() { |
5712 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.DrawPacket.layerRect) |
5713 | 0 | return layerrect_.Add(); |
5714 | 0 | } |
5715 | | inline ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >* |
5716 | 0 | DrawPacket::mutable_layerrect() { |
5717 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.DrawPacket.layerRect) |
5718 | 0 | return &layerrect_; |
5719 | 0 | } |
5720 | | inline const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >& |
5721 | 0 | DrawPacket::layerrect() const { |
5722 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.DrawPacket.layerRect) |
5723 | 0 | return layerrect_; |
5724 | 0 | } |
5725 | | |
5726 | | // required uint64 layerref = 6; |
5727 | 0 | inline bool DrawPacket::has_layerref() const { |
5728 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5729 | 0 | } |
5730 | 0 | inline void DrawPacket::set_has_layerref() { |
5731 | 0 | _has_bits_[0] |= 0x00000004u; |
5732 | 0 | } |
5733 | 0 | inline void DrawPacket::clear_has_layerref() { |
5734 | 0 | _has_bits_[0] &= ~0x00000004u; |
5735 | 0 | } |
5736 | 0 | inline void DrawPacket::clear_layerref() { |
5737 | 0 | layerref_ = GOOGLE_ULONGLONG(0); |
5738 | 0 | clear_has_layerref(); |
5739 | 0 | } |
5740 | 0 | inline ::google::protobuf::uint64 DrawPacket::layerref() const { |
5741 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.layerref) |
5742 | 0 | return layerref_; |
5743 | 0 | } |
5744 | 0 | inline void DrawPacket::set_layerref(::google::protobuf::uint64 value) { |
5745 | 0 | set_has_layerref(); |
5746 | 0 | layerref_ = value; |
5747 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.layerref) |
5748 | 0 | } |
5749 | | |
5750 | | // repeated uint32 texIDs = 7; |
5751 | 0 | inline int DrawPacket::texids_size() const { |
5752 | 0 | return texids_.size(); |
5753 | 0 | } |
5754 | 0 | inline void DrawPacket::clear_texids() { |
5755 | 0 | texids_.Clear(); |
5756 | 0 | } |
5757 | 0 | inline ::google::protobuf::uint32 DrawPacket::texids(int index) const { |
5758 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.texIDs) |
5759 | 0 | return texids_.Get(index); |
5760 | 0 | } |
5761 | 0 | inline void DrawPacket::set_texids(int index, ::google::protobuf::uint32 value) { |
5762 | 0 | texids_.Set(index, value); |
5763 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.DrawPacket.texIDs) |
5764 | 0 | } |
5765 | 0 | inline void DrawPacket::add_texids(::google::protobuf::uint32 value) { |
5766 | 0 | texids_.Add(value); |
5767 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.DrawPacket.texIDs) |
5768 | 0 | } |
5769 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
5770 | 0 | DrawPacket::texids() const { |
5771 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.DrawPacket.texIDs) |
5772 | 0 | return texids_; |
5773 | 0 | } |
5774 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
5775 | 0 | DrawPacket::mutable_texids() { |
5776 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.DrawPacket.texIDs) |
5777 | 0 | return &texids_; |
5778 | 0 | } |
5779 | | |
5780 | | // repeated .mozilla.layers.layerscope.DrawPacket.Rect textureRect = 8; |
5781 | 0 | inline int DrawPacket::texturerect_size() const { |
5782 | 0 | return texturerect_.size(); |
5783 | 0 | } |
5784 | 0 | inline void DrawPacket::clear_texturerect() { |
5785 | 0 | texturerect_.Clear(); |
5786 | 0 | } |
5787 | 0 | inline const ::mozilla::layers::layerscope::DrawPacket_Rect& DrawPacket::texturerect(int index) const { |
5788 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.DrawPacket.textureRect) |
5789 | 0 | return texturerect_.Get(index); |
5790 | 0 | } |
5791 | 0 | inline ::mozilla::layers::layerscope::DrawPacket_Rect* DrawPacket::mutable_texturerect(int index) { |
5792 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.DrawPacket.textureRect) |
5793 | 0 | return texturerect_.Mutable(index); |
5794 | 0 | } |
5795 | 0 | inline ::mozilla::layers::layerscope::DrawPacket_Rect* DrawPacket::add_texturerect() { |
5796 | 0 | // @@protoc_insertion_point(field_add:mozilla.layers.layerscope.DrawPacket.textureRect) |
5797 | 0 | return texturerect_.Add(); |
5798 | 0 | } |
5799 | | inline ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >* |
5800 | 0 | DrawPacket::mutable_texturerect() { |
5801 | 0 | // @@protoc_insertion_point(field_mutable_list:mozilla.layers.layerscope.DrawPacket.textureRect) |
5802 | 0 | return &texturerect_; |
5803 | 0 | } |
5804 | | inline const ::google::protobuf::RepeatedPtrField< ::mozilla::layers::layerscope::DrawPacket_Rect >& |
5805 | 0 | DrawPacket::texturerect() const { |
5806 | 0 | // @@protoc_insertion_point(field_list:mozilla.layers.layerscope.DrawPacket.textureRect) |
5807 | 0 | return texturerect_; |
5808 | 0 | } |
5809 | | |
5810 | | // ------------------------------------------------------------------- |
5811 | | |
5812 | | // Packet |
5813 | | |
5814 | | // required .mozilla.layers.layerscope.Packet.DataType type = 1; |
5815 | 0 | inline bool Packet::has_type() const { |
5816 | 0 | return (_has_bits_[0] & 0x00000040u) != 0; |
5817 | 0 | } |
5818 | 0 | inline void Packet::set_has_type() { |
5819 | 0 | _has_bits_[0] |= 0x00000040u; |
5820 | 0 | } |
5821 | 0 | inline void Packet::clear_has_type() { |
5822 | 0 | _has_bits_[0] &= ~0x00000040u; |
5823 | 0 | } |
5824 | 0 | inline void Packet::clear_type() { |
5825 | 0 | type_ = 1; |
5826 | 0 | clear_has_type(); |
5827 | 0 | } |
5828 | 0 | inline ::mozilla::layers::layerscope::Packet_DataType Packet::type() const { |
5829 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.type) |
5830 | 0 | return static_cast< ::mozilla::layers::layerscope::Packet_DataType >(type_); |
5831 | 0 | } |
5832 | 0 | inline void Packet::set_type(::mozilla::layers::layerscope::Packet_DataType value) { |
5833 | 0 | assert(::mozilla::layers::layerscope::Packet_DataType_IsValid(value)); |
5834 | 0 | set_has_type(); |
5835 | 0 | type_ = value; |
5836 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.Packet.type) |
5837 | 0 | } |
5838 | | |
5839 | | // optional .mozilla.layers.layerscope.FramePacket frame = 2; |
5840 | 0 | inline bool Packet::has_frame() const { |
5841 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5842 | 0 | } |
5843 | 0 | inline void Packet::set_has_frame() { |
5844 | 0 | _has_bits_[0] |= 0x00000001u; |
5845 | 0 | } |
5846 | 0 | inline void Packet::clear_has_frame() { |
5847 | 0 | _has_bits_[0] &= ~0x00000001u; |
5848 | 0 | } |
5849 | 0 | inline void Packet::clear_frame() { |
5850 | 0 | if (frame_ != NULL) frame_->::mozilla::layers::layerscope::FramePacket::Clear(); |
5851 | 0 | clear_has_frame(); |
5852 | 0 | } |
5853 | 0 | inline const ::mozilla::layers::layerscope::FramePacket& Packet::frame() const { |
5854 | 0 | const ::mozilla::layers::layerscope::FramePacket* p = frame_; |
5855 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.frame) |
5856 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::FramePacket*>( |
5857 | 0 | &::mozilla::layers::layerscope::_FramePacket_default_instance_); |
5858 | 0 | } |
5859 | 0 | inline ::mozilla::layers::layerscope::FramePacket* Packet::mutable_frame() { |
5860 | 0 | set_has_frame(); |
5861 | 0 | if (frame_ == NULL) { |
5862 | 0 | frame_ = new ::mozilla::layers::layerscope::FramePacket; |
5863 | 0 | } |
5864 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.frame) |
5865 | 0 | return frame_; |
5866 | 0 | } |
5867 | 0 | inline ::mozilla::layers::layerscope::FramePacket* Packet::release_frame() { |
5868 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.frame) |
5869 | 0 | clear_has_frame(); |
5870 | 0 | ::mozilla::layers::layerscope::FramePacket* temp = frame_; |
5871 | 0 | frame_ = NULL; |
5872 | 0 | return temp; |
5873 | 0 | } |
5874 | 0 | inline void Packet::set_allocated_frame(::mozilla::layers::layerscope::FramePacket* frame) { |
5875 | 0 | delete frame_; |
5876 | 0 | frame_ = frame; |
5877 | 0 | if (frame) { |
5878 | 0 | set_has_frame(); |
5879 | 0 | } else { |
5880 | 0 | clear_has_frame(); |
5881 | 0 | } |
5882 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.frame) |
5883 | 0 | } |
5884 | | |
5885 | | // optional .mozilla.layers.layerscope.ColorPacket color = 3; |
5886 | 0 | inline bool Packet::has_color() const { |
5887 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5888 | 0 | } |
5889 | 0 | inline void Packet::set_has_color() { |
5890 | 0 | _has_bits_[0] |= 0x00000002u; |
5891 | 0 | } |
5892 | 0 | inline void Packet::clear_has_color() { |
5893 | 0 | _has_bits_[0] &= ~0x00000002u; |
5894 | 0 | } |
5895 | 0 | inline void Packet::clear_color() { |
5896 | 0 | if (color_ != NULL) color_->::mozilla::layers::layerscope::ColorPacket::Clear(); |
5897 | 0 | clear_has_color(); |
5898 | 0 | } |
5899 | 0 | inline const ::mozilla::layers::layerscope::ColorPacket& Packet::color() const { |
5900 | 0 | const ::mozilla::layers::layerscope::ColorPacket* p = color_; |
5901 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.color) |
5902 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::ColorPacket*>( |
5903 | 0 | &::mozilla::layers::layerscope::_ColorPacket_default_instance_); |
5904 | 0 | } |
5905 | 0 | inline ::mozilla::layers::layerscope::ColorPacket* Packet::mutable_color() { |
5906 | 0 | set_has_color(); |
5907 | 0 | if (color_ == NULL) { |
5908 | 0 | color_ = new ::mozilla::layers::layerscope::ColorPacket; |
5909 | 0 | } |
5910 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.color) |
5911 | 0 | return color_; |
5912 | 0 | } |
5913 | 0 | inline ::mozilla::layers::layerscope::ColorPacket* Packet::release_color() { |
5914 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.color) |
5915 | 0 | clear_has_color(); |
5916 | 0 | ::mozilla::layers::layerscope::ColorPacket* temp = color_; |
5917 | 0 | color_ = NULL; |
5918 | 0 | return temp; |
5919 | 0 | } |
5920 | 0 | inline void Packet::set_allocated_color(::mozilla::layers::layerscope::ColorPacket* color) { |
5921 | 0 | delete color_; |
5922 | 0 | color_ = color; |
5923 | 0 | if (color) { |
5924 | 0 | set_has_color(); |
5925 | 0 | } else { |
5926 | 0 | clear_has_color(); |
5927 | 0 | } |
5928 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.color) |
5929 | 0 | } |
5930 | | |
5931 | | // optional .mozilla.layers.layerscope.TexturePacket texture = 4; |
5932 | 0 | inline bool Packet::has_texture() const { |
5933 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5934 | 0 | } |
5935 | 0 | inline void Packet::set_has_texture() { |
5936 | 0 | _has_bits_[0] |= 0x00000004u; |
5937 | 0 | } |
5938 | 0 | inline void Packet::clear_has_texture() { |
5939 | 0 | _has_bits_[0] &= ~0x00000004u; |
5940 | 0 | } |
5941 | 0 | inline void Packet::clear_texture() { |
5942 | 0 | if (texture_ != NULL) texture_->::mozilla::layers::layerscope::TexturePacket::Clear(); |
5943 | 0 | clear_has_texture(); |
5944 | 0 | } |
5945 | 0 | inline const ::mozilla::layers::layerscope::TexturePacket& Packet::texture() const { |
5946 | 0 | const ::mozilla::layers::layerscope::TexturePacket* p = texture_; |
5947 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.texture) |
5948 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::TexturePacket*>( |
5949 | 0 | &::mozilla::layers::layerscope::_TexturePacket_default_instance_); |
5950 | 0 | } |
5951 | 0 | inline ::mozilla::layers::layerscope::TexturePacket* Packet::mutable_texture() { |
5952 | 0 | set_has_texture(); |
5953 | 0 | if (texture_ == NULL) { |
5954 | 0 | texture_ = new ::mozilla::layers::layerscope::TexturePacket; |
5955 | 0 | } |
5956 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.texture) |
5957 | 0 | return texture_; |
5958 | 0 | } |
5959 | 0 | inline ::mozilla::layers::layerscope::TexturePacket* Packet::release_texture() { |
5960 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.texture) |
5961 | 0 | clear_has_texture(); |
5962 | 0 | ::mozilla::layers::layerscope::TexturePacket* temp = texture_; |
5963 | 0 | texture_ = NULL; |
5964 | 0 | return temp; |
5965 | 0 | } |
5966 | 0 | inline void Packet::set_allocated_texture(::mozilla::layers::layerscope::TexturePacket* texture) { |
5967 | 0 | delete texture_; |
5968 | 0 | texture_ = texture; |
5969 | 0 | if (texture) { |
5970 | 0 | set_has_texture(); |
5971 | 0 | } else { |
5972 | 0 | clear_has_texture(); |
5973 | 0 | } |
5974 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.texture) |
5975 | 0 | } |
5976 | | |
5977 | | // optional .mozilla.layers.layerscope.LayersPacket layers = 5; |
5978 | 0 | inline bool Packet::has_layers() const { |
5979 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
5980 | 0 | } |
5981 | 0 | inline void Packet::set_has_layers() { |
5982 | 0 | _has_bits_[0] |= 0x00000008u; |
5983 | 0 | } |
5984 | 0 | inline void Packet::clear_has_layers() { |
5985 | 0 | _has_bits_[0] &= ~0x00000008u; |
5986 | 0 | } |
5987 | 0 | inline void Packet::clear_layers() { |
5988 | 0 | if (layers_ != NULL) layers_->::mozilla::layers::layerscope::LayersPacket::Clear(); |
5989 | 0 | clear_has_layers(); |
5990 | 0 | } |
5991 | 0 | inline const ::mozilla::layers::layerscope::LayersPacket& Packet::layers() const { |
5992 | 0 | const ::mozilla::layers::layerscope::LayersPacket* p = layers_; |
5993 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.layers) |
5994 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::LayersPacket*>( |
5995 | 0 | &::mozilla::layers::layerscope::_LayersPacket_default_instance_); |
5996 | 0 | } |
5997 | 0 | inline ::mozilla::layers::layerscope::LayersPacket* Packet::mutable_layers() { |
5998 | 0 | set_has_layers(); |
5999 | 0 | if (layers_ == NULL) { |
6000 | 0 | layers_ = new ::mozilla::layers::layerscope::LayersPacket; |
6001 | 0 | } |
6002 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.layers) |
6003 | 0 | return layers_; |
6004 | 0 | } |
6005 | 0 | inline ::mozilla::layers::layerscope::LayersPacket* Packet::release_layers() { |
6006 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.layers) |
6007 | 0 | clear_has_layers(); |
6008 | 0 | ::mozilla::layers::layerscope::LayersPacket* temp = layers_; |
6009 | 0 | layers_ = NULL; |
6010 | 0 | return temp; |
6011 | 0 | } |
6012 | 0 | inline void Packet::set_allocated_layers(::mozilla::layers::layerscope::LayersPacket* layers) { |
6013 | 0 | delete layers_; |
6014 | 0 | layers_ = layers; |
6015 | 0 | if (layers) { |
6016 | 0 | set_has_layers(); |
6017 | 0 | } else { |
6018 | 0 | clear_has_layers(); |
6019 | 0 | } |
6020 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.layers) |
6021 | 0 | } |
6022 | | |
6023 | | // optional .mozilla.layers.layerscope.MetaPacket meta = 6; |
6024 | 0 | inline bool Packet::has_meta() const { |
6025 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
6026 | 0 | } |
6027 | 0 | inline void Packet::set_has_meta() { |
6028 | 0 | _has_bits_[0] |= 0x00000010u; |
6029 | 0 | } |
6030 | 0 | inline void Packet::clear_has_meta() { |
6031 | 0 | _has_bits_[0] &= ~0x00000010u; |
6032 | 0 | } |
6033 | 0 | inline void Packet::clear_meta() { |
6034 | 0 | if (meta_ != NULL) meta_->::mozilla::layers::layerscope::MetaPacket::Clear(); |
6035 | 0 | clear_has_meta(); |
6036 | 0 | } |
6037 | 0 | inline const ::mozilla::layers::layerscope::MetaPacket& Packet::meta() const { |
6038 | 0 | const ::mozilla::layers::layerscope::MetaPacket* p = meta_; |
6039 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.meta) |
6040 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::MetaPacket*>( |
6041 | 0 | &::mozilla::layers::layerscope::_MetaPacket_default_instance_); |
6042 | 0 | } |
6043 | 0 | inline ::mozilla::layers::layerscope::MetaPacket* Packet::mutable_meta() { |
6044 | 0 | set_has_meta(); |
6045 | 0 | if (meta_ == NULL) { |
6046 | 0 | meta_ = new ::mozilla::layers::layerscope::MetaPacket; |
6047 | 0 | } |
6048 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.meta) |
6049 | 0 | return meta_; |
6050 | 0 | } |
6051 | 0 | inline ::mozilla::layers::layerscope::MetaPacket* Packet::release_meta() { |
6052 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.meta) |
6053 | 0 | clear_has_meta(); |
6054 | 0 | ::mozilla::layers::layerscope::MetaPacket* temp = meta_; |
6055 | 0 | meta_ = NULL; |
6056 | 0 | return temp; |
6057 | 0 | } |
6058 | 0 | inline void Packet::set_allocated_meta(::mozilla::layers::layerscope::MetaPacket* meta) { |
6059 | 0 | delete meta_; |
6060 | 0 | meta_ = meta; |
6061 | 0 | if (meta) { |
6062 | 0 | set_has_meta(); |
6063 | 0 | } else { |
6064 | 0 | clear_has_meta(); |
6065 | 0 | } |
6066 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.meta) |
6067 | 0 | } |
6068 | | |
6069 | | // optional .mozilla.layers.layerscope.DrawPacket draw = 7; |
6070 | 0 | inline bool Packet::has_draw() const { |
6071 | 0 | return (_has_bits_[0] & 0x00000020u) != 0; |
6072 | 0 | } |
6073 | 0 | inline void Packet::set_has_draw() { |
6074 | 0 | _has_bits_[0] |= 0x00000020u; |
6075 | 0 | } |
6076 | 0 | inline void Packet::clear_has_draw() { |
6077 | 0 | _has_bits_[0] &= ~0x00000020u; |
6078 | 0 | } |
6079 | 0 | inline void Packet::clear_draw() { |
6080 | 0 | if (draw_ != NULL) draw_->::mozilla::layers::layerscope::DrawPacket::Clear(); |
6081 | 0 | clear_has_draw(); |
6082 | 0 | } |
6083 | 0 | inline const ::mozilla::layers::layerscope::DrawPacket& Packet::draw() const { |
6084 | 0 | const ::mozilla::layers::layerscope::DrawPacket* p = draw_; |
6085 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.Packet.draw) |
6086 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::mozilla::layers::layerscope::DrawPacket*>( |
6087 | 0 | &::mozilla::layers::layerscope::_DrawPacket_default_instance_); |
6088 | 0 | } |
6089 | 0 | inline ::mozilla::layers::layerscope::DrawPacket* Packet::mutable_draw() { |
6090 | 0 | set_has_draw(); |
6091 | 0 | if (draw_ == NULL) { |
6092 | 0 | draw_ = new ::mozilla::layers::layerscope::DrawPacket; |
6093 | 0 | } |
6094 | 0 | // @@protoc_insertion_point(field_mutable:mozilla.layers.layerscope.Packet.draw) |
6095 | 0 | return draw_; |
6096 | 0 | } |
6097 | 0 | inline ::mozilla::layers::layerscope::DrawPacket* Packet::release_draw() { |
6098 | 0 | // @@protoc_insertion_point(field_release:mozilla.layers.layerscope.Packet.draw) |
6099 | 0 | clear_has_draw(); |
6100 | 0 | ::mozilla::layers::layerscope::DrawPacket* temp = draw_; |
6101 | 0 | draw_ = NULL; |
6102 | 0 | return temp; |
6103 | 0 | } |
6104 | 0 | inline void Packet::set_allocated_draw(::mozilla::layers::layerscope::DrawPacket* draw) { |
6105 | 0 | delete draw_; |
6106 | 0 | draw_ = draw; |
6107 | 0 | if (draw) { |
6108 | 0 | set_has_draw(); |
6109 | 0 | } else { |
6110 | 0 | clear_has_draw(); |
6111 | 0 | } |
6112 | 0 | // @@protoc_insertion_point(field_set_allocated:mozilla.layers.layerscope.Packet.draw) |
6113 | 0 | } |
6114 | | |
6115 | | // ------------------------------------------------------------------- |
6116 | | |
6117 | | // CommandPacket |
6118 | | |
6119 | | // required .mozilla.layers.layerscope.CommandPacket.CmdType type = 1; |
6120 | 0 | inline bool CommandPacket::has_type() const { |
6121 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6122 | 0 | } |
6123 | 0 | inline void CommandPacket::set_has_type() { |
6124 | 0 | _has_bits_[0] |= 0x00000001u; |
6125 | 0 | } |
6126 | 0 | inline void CommandPacket::clear_has_type() { |
6127 | 0 | _has_bits_[0] &= ~0x00000001u; |
6128 | 0 | } |
6129 | 0 | inline void CommandPacket::clear_type() { |
6130 | 0 | type_ = 0; |
6131 | 0 | clear_has_type(); |
6132 | 0 | } |
6133 | 0 | inline ::mozilla::layers::layerscope::CommandPacket_CmdType CommandPacket::type() const { |
6134 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.CommandPacket.type) |
6135 | 0 | return static_cast< ::mozilla::layers::layerscope::CommandPacket_CmdType >(type_); |
6136 | 0 | } |
6137 | 0 | inline void CommandPacket::set_type(::mozilla::layers::layerscope::CommandPacket_CmdType value) { |
6138 | 0 | assert(::mozilla::layers::layerscope::CommandPacket_CmdType_IsValid(value)); |
6139 | 0 | set_has_type(); |
6140 | 0 | type_ = value; |
6141 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.CommandPacket.type) |
6142 | 0 | } |
6143 | | |
6144 | | // optional bool value = 2; |
6145 | 0 | inline bool CommandPacket::has_value() const { |
6146 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6147 | 0 | } |
6148 | 0 | inline void CommandPacket::set_has_value() { |
6149 | 0 | _has_bits_[0] |= 0x00000002u; |
6150 | 0 | } |
6151 | 0 | inline void CommandPacket::clear_has_value() { |
6152 | 0 | _has_bits_[0] &= ~0x00000002u; |
6153 | 0 | } |
6154 | 0 | inline void CommandPacket::clear_value() { |
6155 | 0 | value_ = false; |
6156 | 0 | clear_has_value(); |
6157 | 0 | } |
6158 | 0 | inline bool CommandPacket::value() const { |
6159 | 0 | // @@protoc_insertion_point(field_get:mozilla.layers.layerscope.CommandPacket.value) |
6160 | 0 | return value_; |
6161 | 0 | } |
6162 | 0 | inline void CommandPacket::set_value(bool value) { |
6163 | 0 | set_has_value(); |
6164 | 0 | value_ = value; |
6165 | 0 | // @@protoc_insertion_point(field_set:mozilla.layers.layerscope.CommandPacket.value) |
6166 | 0 | } |
6167 | | |
6168 | | #ifdef __GNUC__ |
6169 | | #pragma GCC diagnostic pop |
6170 | | #endif // __GNUC__ |
6171 | | #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS |
6172 | | // ------------------------------------------------------------------- |
6173 | | |
6174 | | // ------------------------------------------------------------------- |
6175 | | |
6176 | | // ------------------------------------------------------------------- |
6177 | | |
6178 | | // ------------------------------------------------------------------- |
6179 | | |
6180 | | // ------------------------------------------------------------------- |
6181 | | |
6182 | | // ------------------------------------------------------------------- |
6183 | | |
6184 | | // ------------------------------------------------------------------- |
6185 | | |
6186 | | // ------------------------------------------------------------------- |
6187 | | |
6188 | | // ------------------------------------------------------------------- |
6189 | | |
6190 | | // ------------------------------------------------------------------- |
6191 | | |
6192 | | // ------------------------------------------------------------------- |
6193 | | |
6194 | | // ------------------------------------------------------------------- |
6195 | | |
6196 | | // ------------------------------------------------------------------- |
6197 | | |
6198 | | // ------------------------------------------------------------------- |
6199 | | |
6200 | | // ------------------------------------------------------------------- |
6201 | | |
6202 | | // ------------------------------------------------------------------- |
6203 | | |
6204 | | // ------------------------------------------------------------------- |
6205 | | |
6206 | | // ------------------------------------------------------------------- |
6207 | | |
6208 | | |
6209 | | // @@protoc_insertion_point(namespace_scope) |
6210 | | |
6211 | | |
6212 | | } // namespace layerscope |
6213 | | } // namespace layers |
6214 | | } // namespace mozilla |
6215 | | |
6216 | | namespace google { |
6217 | | namespace protobuf { |
6218 | | |
6219 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::TexturePacket_Filter> : ::google::protobuf::internal::true_type {}; |
6220 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::LayersPacket_Layer_LayerType> : ::google::protobuf::internal::true_type {}; |
6221 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::LayersPacket_Layer_ScrollingDirect> : ::google::protobuf::internal::true_type {}; |
6222 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::LayersPacket_Layer_Filter> : ::google::protobuf::internal::true_type {}; |
6223 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::Packet_DataType> : ::google::protobuf::internal::true_type {}; |
6224 | | template <> struct is_proto_enum< ::mozilla::layers::layerscope::CommandPacket_CmdType> : ::google::protobuf::internal::true_type {}; |
6225 | | |
6226 | | } // namespace protobuf |
6227 | | } // namespace google |
6228 | | |
6229 | | // @@protoc_insertion_point(global_scope) |
6230 | | |
6231 | | #endif // PROTOBUF_LayerScopePacket_2eproto__INCLUDED |