Changeset 60510 in vbox
- Timestamp:
- Apr 14, 2016 6:36:57 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo3D.h
r56291 r60510 69 69 70 70 #define VBOXTLSREFDATA_OFFSET(_t) RT_OFFSETOF(_t, cTlsRefs) 71 #define VBOXTLSREFDATA_ASSERT_OFFSET(_t) RTASSERT_OFFSET_OF(_t, cTlsRefs) 71 72 #define VBOXTLSREFDATA_SIZE() (sizeof (struct VBOXTLSREFDATA_DUMMY)) 72 73 #define VBOXTLSREFDATA_COPY(_pDst, _pSrc) do { \ -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
r50429 r60510 1859 1859 AssertCompile(VBOXTLSREFDATA_SIZE() <= CR_MAX_BITARRAY); 1860 1860 AssertCompile(VBOXTLSREFDATA_STATE_INITIALIZED != 0); 1861 AssertCompile(RT_OFFSETOF(CRContext, shared) >= VBOXTLSREFDATA_OFFSET(CRContext) + VBOXTLSREFDATA_SIZE() + RT_SIZEOFMEMB(CRContext, bitid) + RT_SIZEOFMEMB(CRContext, neg_bitid)); 1861 AssertCompile(RTASSERT_OFFSET_OF(CRContext, shared) >= VBOXTLSREFDATA_ASSERT_OFFSET(CRContext) 1862 + VBOXTLSREFDATA_SIZE() 1863 + RT_SIZEOFMEMB(CRContext, bitid) 1864 + RT_SIZEOFMEMB(CRContext, neg_bitid)); 1862 1865 1863 1866 int32_t crStateLoadContext(CRContext *pContext, CRHashTable * pCtxTable, PFNCRSTATE_CONTEXT_GET pfnCtxGet, PSSMHANDLE pSSM, uint32_t u32Version)
Note:
See TracChangeset
for help on using the changeset viewer.