Lines Matching refs:data_internal
157 This->data_internal = nine_allocate(pParams->device->allocator, in NineSurface9_ctor()
162 if (!This->data_internal) in NineSurface9_ctor()
233 if (!is_worker && This->lock_count && (This->data_internal || This->data)) { in NineSurface9_dtor()
236 This->data_internal ? This->data_internal : This->data); in NineSurface9_dtor()
246 if (This->data_internal) { in NineSurface9_dtor()
248 nine_free_worker(This->base.base.device->allocator, This->data_internal); in NineSurface9_dtor()
250 nine_free(This->base.base.device->allocator, This->data_internal); in NineSurface9_dtor()
496 if (This->data_internal || This->data) { in NineSurface9_LockRect()
499 … nine_get_pointer(This->base.base.device->allocator, This->data_internal ? This->data_internal : T… in NineSurface9_LockRect()
500 if (This->data_internal) { in NineSurface9_LockRect()
570 if (This->data_internal) { in NineSurface9_UnlockRect()
571 nine_pointer_weakrelease(This->base.base.device->allocator, This->data_internal); in NineSurface9_UnlockRect()
578 … nine_get_pointer(This->base.base.device->allocator, This->data_internal), in NineSurface9_UnlockRect()
583 nine_pointer_strongrelease(This->base.base.device->allocator, This->data_internal); in NineSurface9_UnlockRect()
597 … nine_get_pointer(This->base.base.device->allocator, This->data_internal), in NineSurface9_UnlockRect()
601 …pointer_delayedstrongrelease(This->base.base.device->allocator, This->data_internal, &This->pendin… in NineSurface9_UnlockRect()
684 if (This->data_internal) { in NineSurface9_CopyMemToDefault()
686 … nine_get_pointer(This->base.base.device->allocator, This->data_internal), in NineSurface9_CopyMemToDefault()
695 nine_pointer_strongrelease(This->base.base.device->allocator, This->data_internal); in NineSurface9_CopyMemToDefault()