search for: presource

Displaying 2 results from an estimated 2 matches for "presource".

Did you mean: resource
2014 Nov 27
0
[Mesa-dev] [RFC] tegra: Initial support
...p;buf; > + } > + > + context->gpu->set_index_buffer(context->gpu, buffer); > +} > + > +static struct pipe_stream_output_target * > +tegra_create_stream_output_target(struct pipe_context *pcontext, > + struct pipe_resource *presource, > + unsigned buffer_offset, > + unsigned buffer_size) > +{ > + struct tegra_resource *resource = to_tegra_resource(presource); > + struct tegra_context *context = to_tegra_context(pcontext); > + > +...
2014 Nov 27
7
[RFC] tegra: Initial support
...izeof(buf)); + buf.buffer = tegra_resource_unwrap(buf.buffer); + buffer = &buf; + } + + context->gpu->set_index_buffer(context->gpu, buffer); +} + +static struct pipe_stream_output_target * +tegra_create_stream_output_target(struct pipe_context *pcontext, + struct pipe_resource *presource, + unsigned buffer_offset, + unsigned buffer_size) +{ + struct tegra_resource *resource = to_tegra_resource(presource); + struct tegra_context *context = to_tegra_context(pcontext); + + return context->gpu->create_stream_output_target(context->gpu, + resource->gpu, +...