Bug 1195653 - Part1.3: Add isMask attribute field to LayerScopePacket.proto. r=dglastonbury (v2, carry r+)
authorJeremy Chen <jeremychen@mozilla.com>
Tue, 29 Sep 2015 23:23:00 +0200
changeset 266831 e9bd3f3709c3d862db6c831f7f48bf348b69dcf4
parent 266830 05e87501ca2f8e1986625bc975ac74bc5039db69
child 266832 de66b7117fb4d59706352d61fc19c53a2a8fd490
push id29499
push userkwierso@gmail.com
push dateThu, 08 Oct 2015 21:29:10 +0000
treeherdermozilla-central@46da59584acb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdglastonbury
bugs1195653
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1195653 - Part1.3: Add isMask attribute field to LayerScopePacket.proto. r=dglastonbury (v2, carry r+)
gfx/layers/protobuf/LayerScopePacket.proto
--- a/gfx/layers/protobuf/LayerScopePacket.proto
+++ b/gfx/layers/protobuf/LayerScopePacket.proto
@@ -15,25 +15,33 @@ message FramePacket {
 message ColorPacket {
   required uint64 layerref = 1;
   optional uint32 width = 2;
   optional uint32 height = 3;
   optional uint32 color = 4;
 }
 
 message TexturePacket {
+  // Basic info
   required uint64 layerref = 1;
   optional uint32 width = 2;
   optional uint32 height = 3;
   optional uint32 stride = 4;
   optional uint32 name = 5;
   optional uint32 target = 6;
   optional uint32 dataformat = 7;
   optional uint64 glcontext = 8;
   optional bytes data = 9;
+
+  // Texture effect attributes (10 to 19)
+  // TODO: reserved for primary textured effect attributes, see Bug 1205521
+
+  // Mask effect attributes (20 to 29)
+  optional bool isMask = 20;
+  // TODO: reserved for secondary mask effect attributes, see Bug 1205521
 }
 
 message LayersPacket {
   message Layer {
     enum LayerType {
       UnknownLayer = 0;
       LayerManager = 1;
       ContainerLayer = 2;