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