• Home
  • Raw
  • Download

Lines Matching refs:tmplt

138     struct pipe_resource *resource, tmplt;  in NineSwapChain9_Resize()  local
255 memset(&tmplt, 0, sizeof(tmplt)); in NineSwapChain9_Resize()
256 tmplt.target = PIPE_TEXTURE_2D; in NineSwapChain9_Resize()
257 tmplt.width0 = pParams->BackBufferWidth; in NineSwapChain9_Resize()
258 tmplt.height0 = pParams->BackBufferHeight; in NineSwapChain9_Resize()
259 tmplt.depth0 = 1; in NineSwapChain9_Resize()
260 tmplt.last_level = 0; in NineSwapChain9_Resize()
261 tmplt.array_size = 1; in NineSwapChain9_Resize()
262 tmplt.usage = PIPE_USAGE_DEFAULT; in NineSwapChain9_Resize()
263 tmplt.flags = 0; in NineSwapChain9_Resize()
308 tmplt.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in NineSwapChain9_Resize()
309 tmplt.nr_samples = multisample_type; in NineSwapChain9_Resize()
311 tmplt.bind |= NINE_BIND_PRESENTBUFFER_FLAGS; in NineSwapChain9_Resize()
312 tmplt.format = d3d9_to_pipe_format_checked(This->screen, in NineSwapChain9_Resize()
315 tmplt.nr_samples, in NineSwapChain9_Resize()
316 tmplt.bind, FALSE, FALSE); in NineSwapChain9_Resize()
317 if (tmplt.format == PIPE_FORMAT_NONE) in NineSwapChain9_Resize()
319 resource = This->screen->resource_create(This->screen, &tmplt); in NineSwapChain9_Resize()
345 tmplt.format = PIPE_FORMAT_B8G8R8X8_UNORM; in NineSwapChain9_Resize()
346 tmplt.bind = NINE_BIND_PRESENTBUFFER_FLAGS; in NineSwapChain9_Resize()
347 tmplt.nr_samples = 0; in NineSwapChain9_Resize()
349 tmplt.bind |= PIPE_BIND_LINEAR; in NineSwapChain9_Resize()
351 tmplt.bind |= PIPE_BIND_RENDER_TARGET; in NineSwapChain9_Resize()
352 resource = This->screen->resource_create(This->screen, &tmplt); in NineSwapChain9_Resize()
362 tmplt.bind = d3d9_get_pipe_depth_format_bindings(pParams->AutoDepthStencilFormat); in NineSwapChain9_Resize()
363 tmplt.nr_samples = multisample_type; in NineSwapChain9_Resize()
364 tmplt.format = d3d9_to_pipe_format_checked(This->screen, in NineSwapChain9_Resize()
367 tmplt.nr_samples, in NineSwapChain9_Resize()
368 tmplt.bind, in NineSwapChain9_Resize()
371 if (tmplt.format == PIPE_FORMAT_NONE) in NineSwapChain9_Resize()
375 resource = This->screen->resource_create(This->screen, &tmplt); in NineSwapChain9_Resize()
533 struct pipe_resource tmplt; in create_present_buffer() local
535 memset(&tmplt, 0, sizeof(tmplt)); in create_present_buffer()
536 tmplt.target = PIPE_TEXTURE_2D; in create_present_buffer()
537 tmplt.width0 = width; in create_present_buffer()
538 tmplt.height0 = height; in create_present_buffer()
539 tmplt.depth0 = 1; in create_present_buffer()
540 tmplt.last_level = 0; in create_present_buffer()
541 tmplt.array_size = 1; in create_present_buffer()
542 tmplt.usage = PIPE_USAGE_DEFAULT; in create_present_buffer()
543 tmplt.flags = 0; in create_present_buffer()
544 tmplt.format = PIPE_FORMAT_B8G8R8X8_UNORM; in create_present_buffer()
545 tmplt.bind = NINE_BIND_BACKBUFFER_FLAGS | in create_present_buffer()
547 tmplt.nr_samples = 0; in create_present_buffer()
549 tmplt.bind |= PIPE_BIND_LINEAR; in create_present_buffer()
550 *resource = This->screen->resource_create(This->screen, &tmplt); in create_present_buffer()