Lines Matching refs:mpSurface

61                 mpSurface(rSurface),  in DXColorBuffer()
85 mutable COMReference<surface_type> mpSurface; member
95 if(SUCCEEDED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in lock()
98 if(SUCCEEDED(mpSurface->LockRect(&maLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in lock()
107 mpSurface->Unlock(NULL); in unlock()
109 mpSurface->UnlockRect(); in unlock()
229 mpSurface(), in DXSurfaceBitmap()
273 mpSurface = mpRenderModule->createSystemMemorySurface(maSize); in init()
279 mpColorBuffer.reset(new DXColorBuffer(mpSurface,maSize)); in init()
337 return createSurfaceGraphics(mpSurface); in getGraphics()
358 if(SUCCEEDED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getBitmap()
371 mpSurface->Unlock(NULL); in getBitmap()
375 if(SUCCEEDED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in getBitmap()
387 mpSurface->UnlockRect(); in getBitmap()
480 if( FAILED(mpSurface->Lock( NULL, in imageDebugger()
488 mpSurface->Unlock(NULL); in imageDebugger()
491 if( FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY)) ) in imageDebugger()
496 mpSurface->UnlockRect(); in imageDebugger()
555 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getData()
568 mpSurface->Unlock(NULL); in getData()
571 if(FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in getData()
584 mpSurface->UnlockRect(); in getData()
637 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in setData()
650 mpSurface->Unlock(NULL); in setData()
654 if(FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in setData()
667 mpSurface->UnlockRect(); in setData()
717 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in setPixel()
722 mpSurface->Unlock(NULL); in setPixel()
726 if(FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in setPixel()
731 mpSurface->UnlockRect(); in setPixel()
775 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getPixel()
780 mpSurface->Unlock(NULL); in getPixel()
784 if(FAILED(mpSurface->LockRect(&aLockedRect,NULL,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) in getPixel()
789 mpSurface->UnlockRect(); in getPixel()