Searched refs:textures (Results 1 - 25 of 142) sorted by relevance

123456

/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:stw_st_framebuffer
73 * Remove outdated textures and create the requested ones.
84 /* remove outdated textures */
87 pipe_resource_reference(&stwfb->textures[i], NULL);
104 if (stwfb->textures[i] || !(mask & (1 << i))) {
106 if (stwfb->textures[i])
132 stwfb->textures[i] =
166 pipe_resource_reference(&out[i], stwfb->textures[statts[i]]);
187 resource = stwfb->textures[statt];
256 pipe_resource_reference(&stwfb->textures[
[all...]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_st.c43 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:xmesa_st_framebuffer
64 struct pipe_resource *ptex = xstfb->textures[statt];
93 struct pipe_resource *src_ptex = xstfb->textures[src_statt];
94 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt];
112 * Remove outdated textures and create the requested ones.
124 /* remove outdated textures */
127 pipe_resource_reference(&xstfb->textures[i], NULL);
143 if (xstfb->textures[i] || !(mask & (1 << i))) {
145 if (xstfb->textures[i])
172 xstfb->textures[
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexobj.h192 _mesa_GenTextures(GLsizei n, GLuint *textures);
195 _mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures);
198 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
208 _mesa_BindTextures( GLuint first, GLsizei count, const GLuint *textures );
212 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
217 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
H A Dshaderimage.h88 _mesa_BindImageTextures(GLuint first, GLsizei count, const GLuint *textures);
H A Dvdpau.c48 struct gl_texture_object *textures[MAX_TEXTURES]; member in struct:vdp_surface
181 _mesa_reference_texobj(&surf->textures[i], tex);
263 if (surf->textures[i]) {
264 surf->textures[i]->Immutable = GL_FALSE;
265 _mesa_reference_texobj(&surf->textures[i], NULL);
368 struct gl_texture_object *tex = surf->textures[j];
422 struct gl_texture_object *tex = surf->textures[j];
H A Dtexobj.c400 * we can try to detect possible use of deleted textures.
660 /* Buffer textures are always considered complete. The obvious case where
822 * MULTISAMPLE and MULTISAMPLE_ARRAY textures
1105 * Compute total size (in bytes) of all textures for the given context.
1195 * the rest of Mesa to encourage Mesa internals to use nameless textures,
1201 GLsizei n, GLuint *textures, const char *caller)
1214 if (!textures)
1238 textures[i] = name;
1256 * \param textures an array in which will hold the generated texture names.
1261 * IDs which are stored in \p textures
1200 create_textures(struct gl_context *ctx, GLenum target, GLsizei n, GLuint *textures, const char *caller) argument
1265 _mesa_GenTextures(GLsizei n, GLuint *textures) argument
1285 _mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures) argument
1435 _mesa_DeleteTextures( GLsizei n, const GLuint *textures) argument
1796 _mesa_BindTextures(GLuint first, GLsizei count, const GLuint *textures) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit];
82 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]);
88 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL);
H A Dnv30_context.c135 if (nv30->fragprog.textures[i] &&
136 nv30->fragprog.textures[i]->texture == res) {
144 if (nv30->vertprog.textures[i] &&
145 nv30->vertprog.textures[i]->texture == res) {
H A Dnv30_context.h81 struct pipe_sampler_view *textures[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon15059
94 struct pipe_sampler_view *textures[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon15060
H A Dnv30_fragtex.c43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit];
183 pipe_sampler_view_reference(&nv30->fragprog.textures[i], views[i]);
189 pipe_sampler_view_reference(&nv30->fragprog.textures[i], NULL);
/external/mesa3d/src/gallium/state_trackers/dri/
H A Ddri_drawable.c59 struct pipe_resource **textures = local
61 : drawable->textures;
67 /* record newly allocated textures */
85 /* add existing textures */
87 if (textures[i])
102 pipe_resource_reference(&out[i], textures[statts[i]]);
174 pipe_resource_reference(&drawable->textures[i], NULL);
226 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT];
423 struct pipe_resource *src = drawable->textures[att];
424 struct pipe_resource *zsbuf = drawable->textures[ST_ATTACHMENT_DEPTH_STENCI
[all...]
H A Ddrisw.c200 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT];
204 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]);
223 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT];
226 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL])
227 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]);
246 ptex = drawable->textures[statt];
279 /* remove outdated textures */
282 pipe_resource_reference(&drawable->textures[i], NULL);
298 if (drawable->textures[statts[i]])
316 drawable->textures[statt
[all...]
H A Ddri_drawable.h59 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:dri_drawable
H A Ddri_context.c248 if (ctx->pp && draw->textures[ST_ATTACHMENT_BACK_LEFT])
249 pp_init_fbos(ctx->pp, draw->textures[ST_ATTACHMENT_BACK_LEFT]->width0,
250 draw->textures[ST_ATTACHMENT_BACK_LEFT]->height0);
/external/mesa3d/docs/specs/
H A DMESA_texture_array.spec44 blend two textures out of a larger set of textures. Moreover, in some
45 cases the selected textures may vary on a per-fragment basis within
48 1. High dynamic range textures. The application stores several
49 different "exposures" of an image as different textures. On a
57 textures to blend at run-time.
59 3. Storing short video clips in textures. Each depth slice is a
64 textures without mipmaps. Both of these options have major drawbacks.
74 2D textures. The per-fragment texel is selected by the R texture
302 "For one-dimensional array textures, h_
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.c77 pipe_sampler_view_reference(&tex->textures[p], view);
78 if (tex->textures[p])
113 /* on a2xx, since there is a flat address space for textures/samplers,
114 * a change in # of fragment textures/samplers will trigger patching
168 if (i < tex->num_textures && tex->textures[i]) {
170 util_format_description(tex->textures[i]->format);
/external/mesa3d/src/gallium/state_trackers/hgl/
H A Dhgl_context.h43 struct pipe_resource* textures[ST_ATTACHMENT_COUNT]; member in struct:hgl_buffer
64 //struct pipe_resource* textures[ST_ATTACHMENT_COUNT];
H A Dhgl.c71 struct pipe_resource* resource = textures[statt];
94 pipe_resource_reference(&buffer->textures[i], NULL);
130 buffer->textures[i] = buffer->screen->resource_create(buffer->screen,
132 if (!buffer->textures[i])
198 pipe_resource_reference(&out[i], buffer->textures[statts[i]]);
/external/skia/src/core/
H A DSkDraw_vertices.cpp184 const SkPoint vertices[], const SkPoint textures[],
199 // make textures and shader mutually consistent
201 if (!(shader && textures)) {
203 textures = nullptr;
209 if (colors && textures) {
215 textures = nullptr;
221 // we don't use the shader if there are no textures
222 if (!textures) {
238 if (colors || textures) {
259 if (!textures) { // onl
183 drawVertices(SkVertices::VertexMode vmode, int count, const SkPoint vertices[], const SkPoint textures[], const SkColor colors[], SkBlendMode bmode, const uint16_t indices[], int indexCount, const SkPaint& paint) const argument
[all...]
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c37 vc4_sampler_view(texstate->textures[unit]);
50 vc4_sampler_view(texstate->textures[unit]);
64 struct pipe_sampler_view *texture = texstate->textures[unit];
81 struct pipe_sampler_view *texture = texstate->textures[unit];
92 struct pipe_sampler_view *texture = texstate->textures[unit];
113 struct pipe_sampler_view *texture = texstate->textures[unit];
177 struct pipe_sampler_view *texture = texstate->textures[data];
/external/deqp/modules/gles3/functional/
H A Des3fNegativeTextureApiTests.cpp861 GLuint textures[2];
862 glGenTextures (2, &textures[0]);
863 glBindTexture (GL_TEXTURE_2D, textures[0]);
865 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]);
878 glDeleteTextures(2, &textures[0]);
882 GLuint textures[2];
883 glGenTextures (2, &textures[0]);
884 glBindTexture (GL_TEXTURE_2D, textures[0]);
886 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]);
904 glDeleteTextures(2, &textures[
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fNegativeTextureApiTests.cpp982 GLuint textures[2]; local
983 ctx.glGenTextures (2, &textures[0]);
984 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]);
986 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]);
999 ctx.glDeleteTextures(2, &textures[0]);
1004 GLuint textures[2]; local
1005 ctx.glGenTextures (2, &textures[0]);
1006 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]);
1008 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]);
1026 ctx.glDeleteTextures(2, &textures[
1596 deUint32 textures[2]; local
1622 deUint32 textures[2]; local
2483 deUint32 textures[2]; local
2509 deUint32 textures[2]; local
2914 deUint32 textures[3]; local
2945 deUint32 textures[2]; local
2971 deUint32 textures[3]; local
3134 deUint32 textures[3]; local
3168 deUint32 textures[3]; local
3627 deUint32 textures[] = {0x1234, 0x1234}; local
3675 deUint32 textures[] = {0x1234, 0x1234}; local
3724 deUint32 textures[] = {0x1234, 0x1234}; local
3769 deUint32 textures[] = {0x1234, 0x1234}; local
3821 deUint32 textures[] = {0x1234, 0x1234}; local
3869 deUint32 textures[] = {0x1234, 0x1234}; local
[all...]
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_texture.h88 rbug_texture_t *textures; member in struct:rbug_proto_texture_list_reply
159 rbug_texture_t *textures,
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.cpp137 QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures);
177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures) argument
183 , m_textures (textures)
279 textures[ndx].sampler = binding.getSampler();
283 case TextureBinding::TYPE_2D: textures[ndx].tex2D = &binding.get2D()->getRefTexture(); break;
284 case TextureBinding::TYPE_CUBE_MAP: textures[ndx].texCube = &binding.getCube()->getRefTexture(); break;
285 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture(); break;
286 case TextureBinding::TYPE_3D: textures[ndx].tex3D = &binding.get3D()->getRefTexture(); break;
316 if (textures[unitNdx].tex2D)
317 return textures[unitNd
[all...]
/external/mesa3d/src/gallium/state_trackers/osmesa/
H A Dosmesa.c86 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:osmesa_buffer
314 struct pipe_resource *res = osbuffer->textures[statt];
327 for (i = 0; i < ARRAY_SIZE(osbuffer->textures); i++) {
328 struct pipe_resource *res = osbuffer->textures[i];
435 out[i] = osbuffer->textures[statts[i]] =
903 struct pipe_resource *res = osbuffer->textures[ST_ATTACHMENT_DEPTH_STENCIL];

Completed in 581 milliseconds

123456