• Home
  • Raw
  • Download

Lines Matching refs:nmaps

58     This->nmaps = 0;  in NineBuffer9_ctor()
154 while (This->nmaps) { in NineBuffer9_dtor()
253 This->nmaps++; in NineBuffer9_Lock()
283 if (This->nmaps == This->maxmaps) { in NineBuffer9_Lock()
312 if (This->nmaps >= 1) in NineBuffer9_Lock()
313 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
321 This->maps[This->nmaps].transfer = NULL; in NineBuffer9_Lock()
322 This->maps[This->nmaps].is_pipe_secondary = false; in NineBuffer9_Lock()
323 This->maps[This->nmaps].buf = NULL; in NineBuffer9_Lock()
324 This->maps[This->nmaps].should_destroy_buf = false; in NineBuffer9_Lock()
329 if (This->nmaps >= 1) in NineBuffer9_Lock()
330 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
342 This->maps[This->nmaps].buf = This->buf; in NineBuffer9_Lock()
343 This->nmaps++; in NineBuffer9_Lock()
364 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
367 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
369 if (This->maps[This->nmaps].is_pipe_secondary) in NineBuffer9_Lock()
375 usage, &box, &This->maps[This->nmaps].transfer); in NineBuffer9_Lock()
390 This->nmaps++; in NineBuffer9_Lock()
403 user_assert(This->nmaps > 0, D3DERR_INVALIDCALL); in NineBuffer9_Unlock()
404 This->nmaps--; in NineBuffer9_Unlock()
406 if (!This->maps[This->nmaps].buf) { in NineBuffer9_Unlock()
407 pipe = This->maps[This->nmaps].is_pipe_secondary ? in NineBuffer9_Unlock()
410 pipe->transfer_unmap(pipe, This->maps[This->nmaps].transfer); in NineBuffer9_Unlock()
412 if (This->maps[This->nmaps].is_pipe_secondary) in NineBuffer9_Unlock()
416 } else if (This->maps[This->nmaps].should_destroy_buf) in NineBuffer9_Unlock()
417 nine_upload_release_buffer(device->buffer_upload, This->maps[This->nmaps].buf); in NineBuffer9_Unlock()