Home | History | Annotate | Download | only in gpu

Lines Matching defs:sizeof

121 GR_STATIC_ASSERT(sizeof(GrStencilSettingsStruct) % 4 == 0);
122 GR_STATIC_ASSERT(sizeof(GrStencilSettingsStruct) ==
123 4*sizeof(uint8_t) + // ops
124 2*sizeof(uint8_t) + // funcs
125 2*sizeof(uint8_t) + // pads
126 2*sizeof(unsigned short) + // func masks
127 2*sizeof(unsigned short) + // ref values
128 2*sizeof(unsigned short) + // write masks
129 sizeof(uint32_t)); // flags
229 memset(this, 0, sizeof(*this));
272 static const size_t gCompareSize = sizeof(GrStencilSettings) -
273 sizeof(fFlags);
274 GrAssert((const char*)&fFlags + sizeof(fFlags) ==
275 (const char*)this + sizeof(GrStencilSettings));
287 memcpy(this, &s, sizeof(GrStencilSettings));
329 GR_STATIC_ASSERT(sizeof(GrStencilSettingsStruct) == sizeof(GrStencilSettings));