/external/mesa3d/src/mesa/state_tracker/ |
st_sampler_view.c | 51 struct st_texture_object *stObj) 56 for (i = 0; i < stObj->num_sampler_views; ++i) { 57 struct pipe_sampler_view **sv = &stObj->sampler_views[i]; 74 unsigned new_size = (stObj->num_sampler_views + 1) * 76 stObj->sampler_views = realloc(stObj->sampler_views, new_size); 77 free = &stObj->sampler_views[stObj->num_sampler_views++]; 93 struct st_texture_object *stObj) 97 for (i = 0; i < stObj->num_sampler_views; ++i) [all...] |
st_sampler_view.h | 62 struct st_texture_object *stObj); 66 struct st_texture_object *stObj); 70 struct st_texture_object *stObj); 73 st_texture_free_sampler_views(struct st_texture_object *stObj); 78 struct st_texture_object *stObj,
|
st_atom_image.c | 63 struct st_texture_object *stObj = st_texture_object(u->TexObj); 68 !stObj->pt) { 73 img->resource = stObj->pt; 90 if (stObj->pt->target == PIPE_BUFFER) { 93 base = stObj->base.BufferOffset; 94 assert(base < stObj->pt->width0); 95 size = MIN2(stObj->pt->width0 - base, (unsigned)stObj->base.BufferSize); 100 img->u.tex.level = u->Level + stObj->base.MinLevel; 101 if (stObj->pt->target == PIPE_TEXTURE_3D) [all...] |
st_cb_eglimage.c | 102 struct st_texture_object *stObj; 113 stObj = st_texture_object(texObj); 117 if (!stObj->surface_based) { 119 stObj->surface_based = GL_TRUE; 147 pipe_resource_reference(&stObj->pt, ps->texture); 148 st_texture_release_all_sampler_views(st, stObj); 149 pipe_resource_reference(&stImage->pt, stObj->pt); 151 stObj->surface_format = ps->format;
|
st_atom_texture.c | 63 struct st_texture_object *stObj; 74 stObj = st_texture_object(texObj); 85 if (stObj->prev_glsl_version != glsl_version || 86 stObj->prev_sRGBDecode != samp->sRGBDecode) { 88 st_texture_release_all_sampler_views(st, stObj); 90 stObj->prev_glsl_version = glsl_version; 91 stObj->prev_sRGBDecode = samp->sRGBDecode; 95 st_get_texture_sampler_view_from_stobj(st, stObj, samp, glsl_version); 149 * Trying to cache the sampler view in the stObj looks painful, so just 157 struct st_texture_object *stObj [all...] |
st_texture.h | 155 struct st_texture_object *stObj = st_texture_object(texObj); 156 return stObj ? stObj->pt : NULL; 161 st_get_stobj_resource(struct st_texture_object *stObj) 163 return stObj ? stObj->pt : NULL; 182 st_get_view_format(struct st_texture_object *stObj) 184 if (!stObj) 186 return stObj->surface_based ? stObj->surface_format : stObj->pt->format [all...] |
st_vdpau.c | 188 struct st_texture_object *stObj = st_texture_object(texObj); 223 if (!stObj->surface_based) { 225 stObj->surface_based = GL_TRUE; 234 pipe_resource_reference(&stObj->pt, res); 235 st_texture_release_all_sampler_views(st, stObj); 238 stObj->surface_format = res->format; 239 stObj->layer_override = layer_override; 252 struct st_texture_object *stObj = st_texture_object(texObj); 255 pipe_resource_reference(&stObj->pt, NULL); 256 st_texture_release_all_sampler_views(st, stObj); [all...] |
st_cb_texture.c | 166 struct st_texture_object *stObj = st_texture_object(texObj); 168 pipe_resource_reference(&stObj->pt, NULL); 169 st_texture_release_all_sampler_views(st, stObj); 170 st_texture_free_sampler_views(stObj); 181 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); 202 st_texture_release_all_sampler_views(st, stObj); 443 * \param stObj the texture object we're going to allocate memory for. 447 allocate_full_mipmap(const struct st_texture_object *stObj, 450 switch (stObj->base.Target) { 460 if (stImage->base.Level > 0 || stObj->base.GenerateMipmap [all...] |
st_texture.c | 252 struct st_texture_object *stObj = 262 if (stObj->pt != stImage->pt) 267 if (stObj->base.Immutable) { 268 level += stObj->base.MinLevel; 269 z += stObj->base.MinLayer; 270 if (stObj->pt->array_size > 1) 271 d = MIN2(d, stObj->base.NumLayers); 303 struct st_texture_object *stObj = 307 if (stObj->base.Immutable) 308 slice += stObj->base.MinLayer [all...] |
st_gen_mipmap.c | 81 struct st_texture_object *stObj = st_texture_object(texObj); 106 stObj->lastLevel = lastLevel; 131 pt = stObj->pt; 147 if (stObj->surface_based) 148 format = stObj->surface_format;
|
st_draw_feedback.c | 194 struct st_buffer_object *stobj = st_buffer_object(bufobj); local 195 assert(stobj->buffer); 199 pipe_resource_reference(&vbuffers[attr].buffer, stobj->buffer); 250 struct st_buffer_object *stobj = st_buffer_object(bufobj); local 252 pipe_resource_reference(&ibuffer.buffer, stobj->buffer); 255 mapped_indices = pipe_buffer_map(pipe, stobj->buffer,
|
st_atom_sampler.c | 186 const struct st_texture_object *stobj = st_texture_object_const(texobj); local 195 for (i = 0; i < stobj->num_sampler_views; ++i) { 196 if (stobj->sampler_views[i]) { 197 sv = stobj->sampler_views[i]; 292 struct st_texture_object *stObj = 296 if (!stObj) 299 switch (st_get_view_format(stObj)) {
|
st_atom_array.c | 532 struct st_buffer_object *stobj = st_buffer_object(bufobj); local 534 if (!stobj || !stobj->buffer) { 538 vbuffer->buffer = stobj->buffer; 596 struct st_buffer_object *stobj = st_buffer_object(bufobj); local 598 if (!stobj || !stobj->buffer) { 602 vbuffer[bufidx].buffer = stobj->buffer;
|
st_cb_queryobj.c | 334 struct st_buffer_object *stObj = st_buffer_object(buf); 348 pipe_buffer_write(pipe, stObj->buffer, offset, 417 stObj->buffer, offset);
|
st_program.h | 68 struct st_texture_object *stObj = 71 switch (st_get_view_format(stObj)) {
|
st_cb_fbo.c | 558 const struct st_texture_object *stObj = st_texture_object(att->Texture); 576 if (!stObj || !stObj->pt) 579 format = stObj->pt->format; 593 stObj->pt->nr_samples, bindings);
|
st_manager.c | 521 struct st_texture_object *stObj; 548 stObj = st_texture_object(texObj); 550 if (!stObj->surface_based) { 552 stObj->surface_based = GL_TRUE; 590 stObj->surface_format = pipe_format;
|
st_cb_bitmap.c | 688 struct st_texture_object *stObj = st_texture_object(atlas->texObj); 710 sv = st_create_texture_sampler_view(pipe, stObj->pt);
|
/external/mesa3d/docs/relnotes/ |
9.2.1.html | 115 <li>st/mesa: don't dereference stObj->pt if NULL</li>
|
8.0.4.html | 198 <li>st/mesa: set stObj->lastLevel in guess_and_alloc_texture</li>
|