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

1234567

/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];
/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::__anon16296
94 struct pipe_sampler_view *textures[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon16297
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.cpp177 const SkPoint vertices[], const SkPoint textures[],
192 // make textures and shader mutually consistent
194 if (!(shader && textures)) {
196 textures = nullptr;
202 if (colors && textures) {
208 textures = nullptr;
214 // we don't use the shader if there are no textures
215 if (!textures) {
231 if (colors || textures) {
252 if (!textures) { // onl
176 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/skqp/src/core/
H A DSkDraw_vertices.cpp176 const SkPoint vertices[], const SkPoint textures[],
191 // make textures and shader mutually consistent
193 if (!(shader && textures)) {
195 textures = nullptr;
201 if (colors && textures) {
207 textures = nullptr;
213 // we don't use the shader if there are no textures
214 if (!textures) {
230 if (colors || textures) {
251 if (!textures) { // onl
175 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/external/openglcts/modules/gl/
H A Dgl4cShaderImageLoadStoreTests.cpp1208 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1217 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1226 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1235 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
2361 GLuint textures[8]; local
2363 glGenTextures(8, textures);
2369 glBindTexture(GL_TEXTURE_1D, textures[0]);
2375 glBindTexture(GL_TEXTURE_2D, textures[1]);
2381 glBindTexture(GL_TEXTURE_3D, textures[2]);
2387 glBindTexture(GL_TEXTURE_RECTANGLE, textures[
2607 GLuint textures[2]; local
2673 GLuint textures[1]; local
2897 GLuint textures[7]; local
3024 GLuint textures[2]; local
3266 GLuint textures[2]; local
3432 GLuint textures[7]; local
3527 GLuint textures[2]; local
3590 GLuint textures[2]; local
3907 GLuint textures[kTargets], texture_result; local
4390 GLuint textures[kTargets]; local
[all...]
H A Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp1066 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1075 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1845 GLuint textures[8]; local
1846 glGenTextures(8, textures);
1851 glBindTexture(GL_TEXTURE_2D, textures[1]);
1857 glBindTexture(GL_TEXTURE_3D, textures[2]);
1863 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[4]);
1869 glBindTexture(GL_TEXTURE_2D_ARRAY, textures[7]);
1875 glBindImageTexture(0, textures[1], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat); // 2D
1876 glBindImageTexture(1, textures[
2087 GLuint textures[8]; local
2348 GLuint textures[8]; local
2563 GLuint textures[8]; local
2768 GLuint textures[8]; local
2952 GLuint textures[kTargets]; local
3204 GLuint textures[kTargets]; local
[all...]
/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,

Completed in 1748 milliseconds

1234567