Searched defs:stObj (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_eglimage.c105 struct st_texture_object *stObj; local
116 stObj = st_texture_object(texObj);
120 if (!stObj->surface_based) {
122 stObj->surface_based = GL_TRUE;
132 pipe_resource_reference(&stObj->pt, ps->texture);
133 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
134 pipe_resource_reference(&stImage->pt, stObj->pt);
136 stObj->width0 = ps->width;
137 stObj->height0 = ps->height;
138 stObj
[all...]
H A Dst_texture.h113 struct st_texture_object *stObj = st_texture_object(texObj); local
114 return stObj ? stObj->pt : NULL;
119 st_get_stobj_resource(struct st_texture_object *stObj) argument
121 return stObj ? stObj->pt : NULL;
H A Dst_gen_mipmap.c73 struct st_texture_object *stObj,
88 if (!screen->is_format_supported(screen, stObj->pt->format,
89 stObj->pt->target,
94 psv = st_create_texture_sampler_view(pipe, stObj->pt);
145 struct st_texture_object *stObj = st_texture_object(texObj); local
167 stObj->lastLevel = lastLevel;
173 struct pipe_resource *oldTex = stObj->pt;
176 stObj->pt = st_texture_create(st,
193 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
202 pt = stObj
71 st_render_mipmap(struct st_context *st, GLenum target, struct st_texture_object *stObj, uint baseLevel, uint lastLevel) argument
[all...]
H A Dst_atom_texture.c143 struct st_texture_object *stObj,
148 GLuint swizzle = apply_depthmode(stObj->pt->format,
149 stObj->base._Swizzle,
150 stObj->base.DepthMode);
153 stObj->pt,
155 templ.u.tex.first_level = stObj->base.BaseLevel;
164 return pipe->create_sampler_view(pipe, stObj->pt, &templ);
169 st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj, argument
174 if (!stObj || !stObj
142 st_create_texture_sampler_view_from_stobj(struct pipe_context *pipe, struct st_texture_object *stObj, const struct gl_sampler_object *samp, enum pipe_format format) argument
196 struct st_texture_object *stObj; local
[all...]
H A Dst_cb_fbo.c392 struct st_texture_object *stObj; local
424 stObj = st_texture_object(att->Texture);
427 strb->rtt = stObj;
510 const struct st_texture_object *stObj = st_texture_object(att->Texture); local
522 if (!stObj)
525 format = stObj->pt->format;
539 stObj->pt->nr_samples, bindings);
H A Dst_texture.c218 struct st_texture_object *stObj = local
228 if (stObj->pt != stImage->pt)
H A Dst_manager.c480 struct st_texture_object *stObj; local
506 stObj = st_texture_object(texObj);
508 if (!stObj->surface_based) {
510 stObj->surface_based = GL_TRUE;
564 stObj->width0 = width;
565 stObj->height0 = height;
566 stObj->depth0 = depth;
H A Dst_cb_texture.c136 struct st_texture_object *stObj = st_texture_object(texObj); local
137 if (stObj->pt)
138 pipe_resource_reference(&stObj->pt, NULL);
139 if (stObj->sampler_view) {
140 pipe_sampler_view_release(st->pipe, &stObj->sampler_view);
324 struct st_texture_object *stObj,
334 assert(!stObj->pt);
336 if (!guess_base_level_size(stObj->base.Target,
343 stObj->width0 = stObj
323 guess_and_alloc_texture(struct st_context *st, struct st_texture_object *stObj, const struct st_texture_image *stImage) argument
415 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); local
497 struct st_texture_object *stObj = st_texture_object(texObj); local
557 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); local
1107 copy_image_data_to_texture(struct st_context *st, struct st_texture_object *stObj, GLuint dstLevel, struct st_texture_image *stImage) argument
1177 struct st_texture_object *stObj = st_texture_object(tObj); local
1314 struct st_texture_object *stObj = st_texture_object(texObj); local
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_eglimage.c105 struct st_texture_object *stObj; local
116 stObj = st_texture_object(texObj);
120 if (!stObj->surface_based) {
122 stObj->surface_based = GL_TRUE;
132 pipe_resource_reference(&stObj->pt, ps->texture);
133 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
134 pipe_resource_reference(&stImage->pt, stObj->pt);
136 stObj->width0 = ps->width;
137 stObj->height0 = ps->height;
138 stObj
[all...]
H A Dst_texture.h113 struct st_texture_object *stObj = st_texture_object(texObj); local
114 return stObj ? stObj->pt : NULL;
119 st_get_stobj_resource(struct st_texture_object *stObj) argument
121 return stObj ? stObj->pt : NULL;
H A Dst_gen_mipmap.c73 struct st_texture_object *stObj,
88 if (!screen->is_format_supported(screen, stObj->pt->format,
89 stObj->pt->target,
94 psv = st_create_texture_sampler_view(pipe, stObj->pt);
145 struct st_texture_object *stObj = st_texture_object(texObj); local
167 stObj->lastLevel = lastLevel;
173 struct pipe_resource *oldTex = stObj->pt;
176 stObj->pt = st_texture_create(st,
193 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
202 pt = stObj
71 st_render_mipmap(struct st_context *st, GLenum target, struct st_texture_object *stObj, uint baseLevel, uint lastLevel) argument
[all...]
H A Dst_atom_texture.c143 struct st_texture_object *stObj,
148 GLuint swizzle = apply_depthmode(stObj->pt->format,
149 stObj->base._Swizzle,
150 stObj->base.DepthMode);
153 stObj->pt,
155 templ.u.tex.first_level = stObj->base.BaseLevel;
164 return pipe->create_sampler_view(pipe, stObj->pt, &templ);
169 st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj, argument
174 if (!stObj || !stObj
142 st_create_texture_sampler_view_from_stobj(struct pipe_context *pipe, struct st_texture_object *stObj, const struct gl_sampler_object *samp, enum pipe_format format) argument
196 struct st_texture_object *stObj; local
[all...]
H A Dst_cb_fbo.c392 struct st_texture_object *stObj; local
424 stObj = st_texture_object(att->Texture);
427 strb->rtt = stObj;
510 const struct st_texture_object *stObj = st_texture_object(att->Texture); local
522 if (!stObj)
525 format = stObj->pt->format;
539 stObj->pt->nr_samples, bindings);
H A Dst_texture.c218 struct st_texture_object *stObj = local
228 if (stObj->pt != stImage->pt)
H A Dst_manager.c480 struct st_texture_object *stObj; local
506 stObj = st_texture_object(texObj);
508 if (!stObj->surface_based) {
510 stObj->surface_based = GL_TRUE;
564 stObj->width0 = width;
565 stObj->height0 = height;
566 stObj->depth0 = depth;
H A Dst_cb_texture.c136 struct st_texture_object *stObj = st_texture_object(texObj); local
137 if (stObj->pt)
138 pipe_resource_reference(&stObj->pt, NULL);
139 if (stObj->sampler_view) {
140 pipe_sampler_view_release(st->pipe, &stObj->sampler_view);
324 struct st_texture_object *stObj,
334 assert(!stObj->pt);
336 if (!guess_base_level_size(stObj->base.Target,
343 stObj->width0 = stObj
323 guess_and_alloc_texture(struct st_context *st, struct st_texture_object *stObj, const struct st_texture_image *stImage) argument
415 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); local
497 struct st_texture_object *stObj = st_texture_object(texObj); local
557 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); local
1107 copy_image_data_to_texture(struct st_context *st, struct st_texture_object *stObj, GLuint dstLevel, struct st_texture_image *stImage) argument
1177 struct st_texture_object *stObj = st_texture_object(tObj); local
1314 struct st_texture_object *stObj = st_texture_object(texObj); local
[all...]

Completed in 153 milliseconds