Lines Matching refs:bind_flags
117 unsigned bind_flags)
123 return svga_buffer_create_host_surface(ss, sbuf, bind_flags);
149 unsigned bind_flags)
161 if (bind_flags & PIPE_BIND_VERTEX_BUFFER) {
165 if (bind_flags & PIPE_BIND_INDEX_BUFFER) {
169 if (bind_flags & PIPE_BIND_CONSTANT_BUFFER)
172 if (bind_flags & PIPE_BIND_STREAM_OUTPUT)
175 if (bind_flags & PIPE_BIND_SAMPLER_VIEW)
178 if (!bind_flags && sbuf->b.b.usage == PIPE_USAGE_STAGING) {
198 sbuf->handle = svga_screen_surface_create(ss, bind_flags,
215 bind_flags);
228 unsigned bind_flags)
233 assert(sbuf->bind_flags != bind_flags);
238 /* Create a new resource with the requested bind_flags */
240 sbuf, bind_flags);
255 sbuf->bind_flags = bind_flags;
265 compatible_bind_flags(unsigned bind_flags,
268 if ((bind_flags & tobind_flags) == tobind_flags)
270 else if ((bind_flags|tobind_flags) & PIPE_BIND_CONSTANT_BUFFER)
284 unsigned bind_flags)
289 if (compatible_bind_flags(bufsurf->bind_flags, bind_flags))
303 unsigned bind_flags)
311 bufsurf->bind_flags = bind_flags;
339 if (sbuf->bind_flags & PIPE_BIND_STREAM_OUTPUT) {
353 sbuf->bind_flags = bufsurf->bind_flags;
387 if ((bufsurf->bind_flags & tobind_flags) == tobind_flags) {
394 bufsurf->bind_flags |
834 unsigned bind_flags)
849 bind_flags);
997 if ((sbuf->bind_flags & tobind_flags) != tobind_flags) {
1006 if (!sbuf->bind_flags) {
1007 sbuf->bind_flags = tobind_flags;
1010 assert((sbuf->bind_flags & tobind_flags) == tobind_flags);
1014 ret = svga_buffer_update_hw(svga, sbuf, sbuf->bind_flags);
1016 ret = svga_buffer_create_host_surface(ss, sbuf, sbuf->bind_flags);
1029 ret = svga_buffer_update_hw(svga, sbuf, sbuf->bind_flags);