Home
last modified time | relevance | path

Searched refs:LegacyHeader (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/mojo/core/
Dchannel.cc34 IsAlignedForChannelMessage(sizeof(Channel::Message::LegacyHeader)),
40 static_assert(sizeof(Channel::Message::LegacyHeader) == 8,
43 static_assert(offsetof(Channel::Message::LegacyHeader, num_bytes) ==
46 static_assert(offsetof(Channel::Message::LegacyHeader, message_type) ==
113 is_legacy_message ? sizeof(LegacyHeader) : sizeof(Header); in Message()
169 if (data_num_bytes < sizeof(LegacyHeader)) in Deserialize()
172 const LegacyHeader* legacy_header = in Deserialize()
173 reinterpret_cast<const LegacyHeader*>(data); in Deserialize()
188 payload_size = data_num_bytes - sizeof(LegacyHeader); in Deserialize()
189 payload = static_cast<const char*>(data) + sizeof(LegacyHeader); in Deserialize()
[all …]
Dchannel.h60 struct LegacyHeader { struct
183 LegacyHeader* legacy_header() const;
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTexture.cpp410 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne… in PVRTConvertOldTextureHeaderToV3() argument
419 …PVRTMapLegacyTextureEnumToNewFormat((PVRTPixelType)(LegacyHeader->dwpfFlags&0xff),ptNew,cSpaceNew,… in PVRTConvertOldTextureHeaderToV3()
422 bool isCubeMap = (LegacyHeader->dwpfFlags&PVRTEX_CUBEMAP)!=0; in PVRTConvertOldTextureHeaderToV3()
430 NewHeader.u32Height=LegacyHeader->dwHeight; in PVRTConvertOldTextureHeaderToV3()
432 …NewHeader.u32MIPMapCount=(LegacyHeader->dwpfFlags&PVRTEX_MIPMAP?LegacyHeader->dwMipMapCount+1:1); … in PVRTConvertOldTextureHeaderToV3()
436 if (LegacyHeader->dwHeaderSize==sizeof(PVR_Texture_Header)) in PVRTConvertOldTextureHeaderToV3()
437 NewHeader.u32NumSurfaces=(LegacyHeader->dwNumSurfs/(isCubeMap?6:1)); in PVRTConvertOldTextureHeaderToV3()
442 NewHeader.u32Width=LegacyHeader->dwWidth; in PVRTConvertOldTextureHeaderToV3()
451 if (LegacyHeader->dwpfFlags&PVRTEX_BUMPMAP && pMetaData) in PVRTConvertOldTextureHeaderToV3()
480 if (LegacyHeader->dwpfFlags&PVRTEX_VERTICAL_FLIP && pMetaData) in PVRTConvertOldTextureHeaderToV3()
DPVRTTexture.h634 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne…