Home
last modified time | relevance | path

Searched refs:textures (Results 1 – 25 of 200) sorted by relevance

12345678

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
87 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
104 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
106 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
132 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
166 pipe_resource_reference(&out[i], stwfb->textures[statts[i]]); in stw_st_framebuffer_validate()
187 resource = stwfb->textures[statt]; in stw_st_framebuffer_present_locked()
256 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_destroy_framebuffer_locked()
273 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked()
274 stwfb->textures[front] = stwfb->textures[back]; in stw_st_swap_framebuffer_locked()
[all …]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c43 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
64 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display()
93 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; in xmesa_st_framebuffer_copy_textures()
94 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; in xmesa_st_framebuffer_copy_textures()
127 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
143 if (xstfb->textures[i] || !(mask & (1 << i))) { in xmesa_st_framebuffer_validate_textures()
145 if (xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
172 xstfb->textures[i] = in xmesa_st_framebuffer_validate_textures()
174 if (!xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
249 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
[all …]
/external/mesa3d/docs/specs/
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_b and d_b are treated as 1,
304 For two-dimensional array textures, d_b is always treated as one,
[all …]
/external/deqp/android/cts/nyc/
Degl-master.txt1058 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1059 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1060 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1061 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1062 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1063 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1064 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1065 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1066 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1067 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/android/cts/nyc/src/
Degl-master.txt1058 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1059 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1060 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1061 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1062 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1063 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1064 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1065 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1066 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1067 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_drawable.c59 struct pipe_resource **textures = in dri_st_framebuffer_validate() local
61 : drawable->textures; in dri_st_framebuffer_validate()
87 if (textures[i]) in dri_st_framebuffer_validate()
102 pipe_resource_reference(&out[i], textures[statts[i]]); in dri_st_framebuffer_validate()
174 pipe_resource_reference(&drawable->textures[i], NULL); in dri_destroy_buffer()
226 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in dri_set_tex_buffer2()
423 struct pipe_resource *src = drawable->textures[att]; in dri_postprocessing()
424 struct pipe_resource *zsbuf = drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]; in dri_postprocessing()
467 drawable->textures[ST_ATTACHMENT_BACK_LEFT]) { in dri_flush()
474 drawable->textures[ST_ATTACHMENT_BACK_LEFT], in dri_flush()
[all …]
Ddrisw.c200 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
204 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
223 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_copy_sub_buffer()
226 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in drisw_copy_sub_buffer()
227 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_copy_sub_buffer()
246 ptex = drawable->textures[statt]; in drisw_flush_frontbuffer()
282 pipe_resource_reference(&drawable->textures[i], NULL); in drisw_allocate_textures()
298 if (drawable->textures[statts[i]]) in drisw_allocate_textures()
316 drawable->textures[statts[i]] = in drisw_allocate_textures()
319 drawable->textures[statts[i]] = in drisw_allocate_textures()
/external/deqp/android/cts/master/
Degl-master.txt1059 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1060 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1061 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1062 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1063 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1064 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1065 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1066 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1067 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1068 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/mesa3d/src/mesa/main/
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,
Dvdpau.c48 struct gl_texture_object *textures[MAX_TEXTURES]; member
181 _mesa_reference_texobj(&surf->textures[i], tex); in register_surface()
263 if (surf->textures[i]) { in _mesa_VDPAUUnregisterSurfaceNV()
264 surf->textures[i]->Immutable = GL_FALSE; in _mesa_VDPAUUnregisterSurfaceNV()
265 _mesa_reference_texobj(&surf->textures[i], NULL); in _mesa_VDPAUUnregisterSurfaceNV()
368 struct gl_texture_object *tex = surf->textures[j]; in _mesa_VDPAUMapSurfacesNV()
422 struct gl_texture_object *tex = surf->textures[j]; in _mesa_VDPAUUnmapSurfacesNV()
Dtexobj.c1201 GLsizei n, GLuint *textures, const char *caller) in create_textures() argument
1214 if (!textures) in create_textures()
1238 textures[i] = name; in create_textures()
1265 _mesa_GenTextures(GLsizei n, GLuint *textures) in _mesa_GenTextures() argument
1268 create_textures(ctx, 0, n, textures, "glGenTextures"); in _mesa_GenTextures()
1285 _mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures) in _mesa_CreateTextures() argument
1301 create_textures(ctx, target, n, textures, "glCreateTextures"); in _mesa_CreateTextures()
1435 _mesa_DeleteTextures( GLsizei n, const GLuint *textures) in _mesa_DeleteTextures() argument
1455 if (!textures) in _mesa_DeleteTextures()
1459 if (textures[i] > 0) { in _mesa_DeleteTextures()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.format.txt44 + 2D textures
45 + Cube map textures
46 + 2D array textures
47 + 3D textures
67 * 2D textures: Single quad that samples the full texture is rendered.
69 * 2D array textures: Each layer is rendered separately.
70 * 3D textures: Each slice is rendered separately.
Dfunctional.texture.specification.txt33 - 2D, 2D array, cube map and 3D textures
35 + Specifying textures from pixel buffer objects
47 textures and 3D textures) are then rendered and compared against a image produced
Dfunctional.fbo.completeness.txt46 some renderbuffers and/or textures and attach them to the FBO, and then call
68 The "attachment_combination.*" test cases attach some textures and/or
82 both are textures or both are renderbuffers, the same image is used for both
98 The "layer.*" test cases create various layered textures (two-dimensional
99 array textures or 3D textures) and attach them to framebuffer objects with
105 The "samples.*" test cases attach textures and/or renderbuffers with various
108 (taking textures to have zero samples), or
/external/skia/src/core/
DSkDraw_vertices.cpp184 const SkPoint vertices[], const SkPoint textures[], in drawVertices() argument
201 if (!(shader && textures)) { in drawVertices()
203 textures = nullptr; in drawVertices()
209 if (colors && textures) { in drawVertices()
215 textures = nullptr; in drawVertices()
222 if (!textures) { in drawVertices()
238 if (colors || textures) { in drawVertices()
259 if (!textures) { // only tricolor shader in drawVertices()
280 if (textures) { in drawVertices()
282 texture_to_matrix(state, vertices, textures, &localM); in drawVertices()
/external/deqp/modules/gles31/functional/
Des31fNegativeTextureApiTests.cpp982 GLuint textures[2]; in copytexsubimage2d_neg_level() local
983 ctx.glGenTextures (2, &textures[0]); in copytexsubimage2d_neg_level()
984 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); in copytexsubimage2d_neg_level()
986 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in copytexsubimage2d_neg_level()
999 ctx.glDeleteTextures(2, &textures[0]); in copytexsubimage2d_neg_level()
1004 GLuint textures[2]; in copytexsubimage2d_max_level() local
1005 ctx.glGenTextures (2, &textures[0]); in copytexsubimage2d_max_level()
1006 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); in copytexsubimage2d_max_level()
1008 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in copytexsubimage2d_max_level()
1026 ctx.glDeleteTextures(2, &textures[0]); in copytexsubimage2d_max_level()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c37 vc4_sampler_view(texstate->textures[unit]); in write_texture_p0()
50 vc4_sampler_view(texstate->textures[unit]); in write_texture_p1()
64 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_p2()
81 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_first_level()
92 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_msaa_addr()
113 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_border_color()
177 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texrect_scale()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_texture.c77 pipe_sampler_view_reference(&tex->textures[p], view); in set_sampler_views()
78 if (tex->textures[p]) in set_sampler_views()
168 if (i < tex->num_textures && tex->textures[i]) { in fd_setup_border_colors()
170 util_format_description(tex->textures[i]->format); in fd_setup_border_colors()
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp861 GLuint textures[2]; in init()
862 glGenTextures (2, &textures[0]); in init()
863 glBindTexture (GL_TEXTURE_2D, textures[0]); in init()
865 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in init()
878 glDeleteTextures(2, &textures[0]); in init()
882 GLuint textures[2]; in init()
883 glGenTextures (2, &textures[0]); in init()
884 glBindTexture (GL_TEXTURE_2D, textures[0]); in init()
886 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in init()
904 glDeleteTextures(2, &textures[0]); in init()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
82 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views()
88 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL); in nv40_verttex_set_sampler_views()
Dnv30_context.c135 if (nv30->fragprog.textures[i] && in nv30_invalidate_resource_storage()
136 nv30->fragprog.textures[i]->texture == res) { in nv30_invalidate_resource_storage()
144 if (nv30->vertprog.textures[i] && in nv30_invalidate_resource_storage()
145 nv30->vertprog.textures[i]->texture == res) { in nv30_invalidate_resource_storage()
/external/deqp/doc/testspecs/GLES2/
Dfunctional.texture.incomplete.txt25 + 2D and cube map textures
26 + NPOT textures used with unsupported wrap modes
27 + NPOT textures with mipmapping
/external/mesa3d/src/gallium/docs/source/
Dglossary.rst18 Non-power-of-two. Usually applied to textures which have at least one
27 3D textures have zslices, cube maps have faces, 1D and 2D array textures
Dresources.rst6 Resources represent objects that hold data: textures and buffers.
20 …GL: OpenGL supports mapping buffers and has inline transfer functions for both buffers and textures
84 1D array textures are supported depending on PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS.
98 D3D11: 1D textures in D3D_FEATURE_LEVEL_10_0
119 2D array textures are supported depending on PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS.
135 D3D11: 2D textures
154 D3D11: 3D textures
182 D3D11: 2D array textures with the D3D11_RESOURCE_MISC_TEXTURECUBE flag
/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c71 struct pipe_resource* resource = textures[statt]; in hgl_st_framebuffer_flush_front()
94 pipe_resource_reference(&buffer->textures[i], NULL); in hgl_st_framebuffer_validate_textures()
130 buffer->textures[i] = buffer->screen->resource_create(buffer->screen, in hgl_st_framebuffer_validate_textures()
132 if (!buffer->textures[i]) in hgl_st_framebuffer_validate_textures()
198 pipe_resource_reference(&out[i], buffer->textures[statts[i]]); in hgl_st_framebuffer_validate()

12345678