HomeSort by relevance Sort by last modified time
    Searched refs:LegacyHeader (Results 1 - 4 of 4) sorted by null

  /external/libmojo/mojo/edk/system/
channel.cc 31 IsAlignedForChannelMessage(sizeof(Channel::Message::LegacyHeader)),
32 "Invalid LegacyHeader size.");
37 static_assert(sizeof(Channel::Message::LegacyHeader) == 8,
38 "LegacyHeader must be 8 bytes on ChromeOS and Android");
40 static_assert(offsetof(Channel::Message::LegacyHeader, num_bytes) ==
43 static_assert(offsetof(Channel::Message::LegacyHeader, message_type) ==
92 is_legacy_message ? sizeof(LegacyHeader) : sizeof(Header);
145 if (data_num_bytes < sizeof(LegacyHeader))
148 const LegacyHeader* legacy_header =
149 reinterpret_cast<const LegacyHeader*>(data)
    [all...]
channel.h 39 // An old format normal message, that uses the LegacyHeader.
57 struct LegacyHeader {
68 // To preserve backward compatibility with LegacyHeader, the num_bytes and
69 // message_type field must be at the same offset as in LegacyHeader.
150 LegacyHeader* legacy_header() const;
  /external/swiftshader/third_party/PowerVR_SDK/Tools/
PVRTTexture.cpp 404 @Input LegacyHeader Legacy header for conversion.
410 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& NewHeader, CPVRTMap<PVRTuint32, CPVRTMap<PVRTuint32,MetaDataBlock> >* pMetaData)
419 PVRTMapLegacyTextureEnumToNewFormat((PVRTPixelType)(LegacyHeader->dwpfFlags&0xff),ptNew,cSpaceNew,chanTypeNew,isPreMult);
422 bool isCubeMap = (LegacyHeader->dwpfFlags&PVRTEX_CUBEMAP)!=0;
430 NewHeader.u32Height=LegacyHeader->dwHeight;
432 NewHeader.u32MIPMapCount=(LegacyHeader->dwpfFlags&PVRTEX_MIPMAP?LegacyHeader->dwMipMapCount+1:1); //Legacy headers have a MIP Map count of 0 if there is only the top level. New Headers have a count of 1.
436 if (LegacyHeader->dwHeaderSize==sizeof(PVR_Texture_Header))
437 NewHeader.u32NumSurfaces=(LegacyHeader->dwNumSurfs/(isCubeMap?6:1));
442 NewHeader.u32Width=LegacyHeader->dwWidth
    [all...]
PVRTTexture.h 628 @param[in] LegacyHeader Legacy header for conversion.
634 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& NewHeader, CPVRTMap<PVRTuint32, CPVRTMap<PVRTuint32,MetaDataBlock> >* pMetaData);

Completed in 115 milliseconds