Lines Matching refs:sw
30 sw::Resource *getParentResource(Unknown *container) in getParentResource()
89 void *Direct3DSurface9::lockInternal(int x, int y, int z, sw::Lock lock, sw::Accessor client) in lockInternal()
264 sw::Lock lock = sw::LOCK_READWRITE; in LockRect()
268 lock = sw::LOCK_DISCARD; in LockRect()
273 lock = sw::LOCK_READONLY; in LockRect()
278 lockedRect->pBits = lockExternal(rect->left, rect->top, 0, lock, sw::PUBLIC); in LockRect()
282 lockedRect->pBits = lockExternal(0, 0, 0, lock, sw::PUBLIC); in LockRect()
343 sw::Format Direct3DSurface9::translateFormat(D3DFORMAT format) in translateFormat()
347 case D3DFMT_NULL: return sw::FORMAT_NULL; in translateFormat()
348 case D3DFMT_DXT1: return sw::FORMAT_DXT1; in translateFormat()
349 case D3DFMT_DXT2: return sw::FORMAT_DXT3; in translateFormat()
350 case D3DFMT_DXT3: return sw::FORMAT_DXT3; in translateFormat()
351 case D3DFMT_DXT4: return sw::FORMAT_DXT5; in translateFormat()
352 case D3DFMT_DXT5: return sw::FORMAT_DXT5; in translateFormat()
353 case D3DFMT_ATI1: return sw::FORMAT_ATI1; in translateFormat()
354 case D3DFMT_ATI2: return sw::FORMAT_ATI2; in translateFormat()
355 case D3DFMT_R3G3B2: return sw::FORMAT_R3G3B2; in translateFormat()
356 case D3DFMT_A8R3G3B2: return sw::FORMAT_A8R3G3B2; in translateFormat()
357 case D3DFMT_X4R4G4B4: return sw::FORMAT_X4R4G4B4; in translateFormat()
358 case D3DFMT_A4R4G4B4: return sw::FORMAT_A4R4G4B4; in translateFormat()
359 case D3DFMT_A8R8G8B8: return sw::FORMAT_A8R8G8B8; in translateFormat()
360 case D3DFMT_A8B8G8R8: return sw::FORMAT_A8B8G8R8; in translateFormat()
361 case D3DFMT_G16R16: return sw::FORMAT_G16R16; in translateFormat()
362 case D3DFMT_A2R10G10B10: return sw::FORMAT_A2R10G10B10; in translateFormat()
363 case D3DFMT_A2B10G10R10: return sw::FORMAT_A2B10G10R10; in translateFormat()
364 case D3DFMT_A16B16G16R16: return sw::FORMAT_A16B16G16R16; in translateFormat()
365 case D3DFMT_P8: return sw::FORMAT_P8; in translateFormat()
366 case D3DFMT_A8P8: return sw::FORMAT_A8P8; in translateFormat()
367 case D3DFMT_A8: return sw::FORMAT_A8; in translateFormat()
368 case D3DFMT_R5G6B5: return sw::FORMAT_R5G6B5; in translateFormat()
369 case D3DFMT_X1R5G5B5: return sw::FORMAT_X1R5G5B5; in translateFormat()
370 case D3DFMT_A1R5G5B5: return sw::FORMAT_A1R5G5B5; in translateFormat()
371 case D3DFMT_R8G8B8: return sw::FORMAT_R8G8B8; in translateFormat()
372 case D3DFMT_X8R8G8B8: return sw::FORMAT_X8R8G8B8; in translateFormat()
373 case D3DFMT_X8B8G8R8: return sw::FORMAT_X8B8G8R8; in translateFormat()
374 case D3DFMT_V8U8: return sw::FORMAT_V8U8; in translateFormat()
375 case D3DFMT_L6V5U5: return sw::FORMAT_L6V5U5; in translateFormat()
376 case D3DFMT_Q8W8V8U8: return sw::FORMAT_Q8W8V8U8; in translateFormat()
377 case D3DFMT_X8L8V8U8: return sw::FORMAT_X8L8V8U8; in translateFormat()
378 case D3DFMT_A2W10V10U10: return sw::FORMAT_A2W10V10U10; in translateFormat()
379 case D3DFMT_V16U16: return sw::FORMAT_V16U16; in translateFormat()
380 case D3DFMT_Q16W16V16U16: return sw::FORMAT_Q16W16V16U16; in translateFormat()
381 case D3DFMT_L8: return sw::FORMAT_L8; in translateFormat()
382 case D3DFMT_A4L4: return sw::FORMAT_A4L4; in translateFormat()
383 case D3DFMT_L16: return sw::FORMAT_L16; in translateFormat()
384 case D3DFMT_A8L8: return sw::FORMAT_A8L8; in translateFormat()
385 case D3DFMT_R16F: return sw::FORMAT_R16F; in translateFormat()
386 case D3DFMT_G16R16F: return sw::FORMAT_G16R16F; in translateFormat()
387 case D3DFMT_A16B16G16R16F: return sw::FORMAT_A16B16G16R16F; in translateFormat()
388 case D3DFMT_R32F: return sw::FORMAT_R32F; in translateFormat()
389 case D3DFMT_G32R32F: return sw::FORMAT_G32R32F; in translateFormat()
390 case D3DFMT_A32B32G32R32F: return sw::FORMAT_A32B32G32R32F; in translateFormat()
391 case D3DFMT_D16: return sw::FORMAT_D16; in translateFormat()
392 case D3DFMT_D32: return sw::FORMAT_D32; in translateFormat()
393 case D3DFMT_D24X8: return sw::FORMAT_D24X8; in translateFormat()
394 case D3DFMT_D24S8: return sw::FORMAT_D24S8; in translateFormat()
395 case D3DFMT_D24FS8: return sw::FORMAT_D24FS8; in translateFormat()
396 case D3DFMT_D32F_LOCKABLE: return sw::FORMAT_D32F_LOCKABLE; in translateFormat()
397 case D3DFMT_DF24: return sw::FORMAT_DF24S8; in translateFormat()
398 case D3DFMT_DF16: return sw::FORMAT_DF16S8; in translateFormat()
399 case D3DFMT_INTZ: return sw::FORMAT_INTZ; in translateFormat()
404 return sw::FORMAT_NULL; in translateFormat()