Home
last modified time | relevance | path

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

12345678910>>...20

/external/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
89 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
106 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
108 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
144 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
176 struct pipe_resource **textures = in stw_st_framebuffer_validate() local
178 : stwfb->textures; in stw_st_framebuffer_validate()
181 pipe_resource_reference(&out[i], textures[statts[i]]); in stw_st_framebuffer_validate()
249 stwfb->textures[statt], in stw_st_framebuffer_present_locked()
253 resource = stwfb->textures[statt]; in stw_st_framebuffer_present_locked()
[all …]
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
65 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display()
94 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; in xmesa_st_framebuffer_copy_textures()
95 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; in xmesa_st_framebuffer_copy_textures()
128 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
146 if (xstfb->textures[i] || !(mask & (1 << i))) { in xmesa_st_framebuffer_validate_textures()
148 if (xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
175 xstfb->textures[i] = in xmesa_st_framebuffer_validate_textures()
177 if (!xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
251 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
[all …]
/external/mesa3d/src/mesa/main/
Dtexobj.h227 _mesa_GenTextures_no_error(GLsizei n, GLuint *textures);
230 _mesa_GenTextures(GLsizei n, GLuint *textures);
233 _mesa_CreateTextures_no_error(GLenum target, GLsizei n, GLuint *textures);
236 _mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures);
239 _mesa_DeleteTextures_no_error(GLsizei n, const GLuint *textures);
242 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
262 const GLuint *textures);
265 _mesa_BindTextures( GLuint first, GLsizei count, const GLuint *textures );
269 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
274 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
/external/skia/src/gpu/
DGrYUVABackendTextures.cpp80 const GrBackendTexture textures[SkYUVAInfo::kMaxPlanes], in GrYUVABackendTextures()
90 if (!textures[i].isValid() || in GrYUVABackendTextures()
91 textures[i].dimensions() != planeDimensions[i] || in GrYUVABackendTextures()
92 textures[i].backend() != textures[0].backend() || in GrYUVABackendTextures()
93 num_channels(textures[i].getBackendFormat()) < numRequiredChannels) { in GrYUVABackendTextures()
97 fTextures[i] = textures[i]; in GrYUVABackendTextures()
/external/mesa3d/docs/_extra/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/mesa3d/src/gallium/frontends/dri/
Ddri_drawable.c58 struct pipe_resource **textures = in dri_st_framebuffer_validate() local
60 : drawable->textures; in dri_st_framebuffer_validate()
86 if (textures[i]) in dri_st_framebuffer_validate()
100 struct pipe_resource *resource = textures[ST_ATTACHMENT_BACK_LEFT]; in dri_st_framebuffer_validate()
112 pipe_resource_reference(&out[i], textures[statts[i]]); in dri_st_framebuffer_validate()
202 pipe_resource_reference(&drawable->textures[i], NULL); in dri_destroy_buffer()
263 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in dri_set_tex_buffer2()
400 struct pipe_resource *src = drawable->textures[att]; in dri_postprocessing()
401 struct pipe_resource *zsbuf = drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]; in dri_postprocessing()
427 args->drawable->textures[ST_ATTACHMENT_BACK_LEFT], in notify_before_flush_cb()
[all …]
Ddrisw.c246 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
250 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
260 drawable->textures[ST_ATTACHMENT_BACK_LEFT], in drisw_swap_buffers()
279 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_copy_sub_buffer()
282 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in drisw_copy_sub_buffer()
283 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_copy_sub_buffer()
305 drawable->textures[ST_ATTACHMENT_FRONT_LEFT], in drisw_flush_frontbuffer()
308 ptex = drawable->textures[statt]; in drisw_flush_frontbuffer()
344 pipe_resource_reference(&drawable->textures[i], NULL); in drisw_allocate_textures()
362 if (drawable->textures[statts[i]]) in drisw_allocate_textures()
[all …]
/external/angle/src/libANGLE/renderer/gl/eagl/
DWindowSurfaceEAGL.mm64 [self setFrame:CGRectMake(0, 0, mSwapState->textures[0].width,
65 mSwapState->textures[0].height)];
156 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
158 if (mSwapState.textures[i].texture != 0)
160 mFunctions->deleteTextures(1, &mSwapState.textures[i].texture);
161 mSwapState.textures[i].texture = 0;
171 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
173 mFunctions->genTextures(1, &mSwapState.textures[i].texture);
174 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
177 mSwapState.textures[i].width = width;
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.3.x/
Degl-master.txt1060 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1061 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1062 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1063 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1064 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1065 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1066 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1067 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1068 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1069 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/angle/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm56 [self setFrame:CGRectMake(0, 0, mSwapState->textures[0].width,
57 mSwapState->textures[0].height)];
185 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
187 if (mSwapState.textures[i].texture != 0)
189 mStateManager->deleteTexture(mSwapState.textures[i].texture);
190 mSwapState.textures[i].texture = 0;
202 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
204 mFunctions->genTextures(1, &mSwapState.textures[i].texture);
205 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
208 mSwapState.textures[i].width = width;
[all …]
/external/skia/src/core/
DSkDraw_atlas.cpp49 void SkDraw::drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect textures[], in drawAtlas() argument
80 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
83 draw.drawRect(textures[i], p); in drawAtlas()
118 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
122 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
DSkDraw_vertices.cpp275 const SkPoint* textures = info.texCoords(); in draw_fixed_vertices() local
283 textures = nullptr; in draw_fixed_vertices()
284 } else if (!textures) { in draw_fixed_vertices()
285 textures = positions; in draw_fixed_vertices()
291 if (colors && textures) { in draw_fixed_vertices()
297 textures = nullptr; in draw_fixed_vertices()
304 if (!textures) { in draw_fixed_vertices()
340 if (!textures) { // only tricolor shader in draw_fixed_vertices()
367 if (textures == positions) { in draw_fixed_vertices()
383 if ((textures == positions) || in draw_fixed_vertices()
[all …]
/external/deqp/android/cts/master/
Degl-master.txt1101 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1102 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1103 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1104 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1105 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1106 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1107 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1108 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1109 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1110 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.5.x/
Degl-master.txt1102 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1103 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1104 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1105 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1106 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1107 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1108 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1109 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1110 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1111 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.4.x/
Degl-master.txt1060 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1061 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1062 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1063 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1064 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1065 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1066 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1067 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1068 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1069 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.6.x/
Degl-master.txt1102 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1103 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1104 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1105 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1106 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1107 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1108 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1109 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1110 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1111 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/master/
Degl-master.txt1102 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1103 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1104 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1105 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1106 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1107 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1108 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1109 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1110 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1111 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.3.x/src/
Degl-master.txt1123 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1124 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1125 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1126 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1127 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1128 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1129 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1130 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1131 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1132 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/deqp/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.4.x/src/
Degl-master.txt1123 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1124 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1125 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1126 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1127 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1128 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1129 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1130 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1131 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1132 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp837 GLTexture textures[2]; in TEST_P() local
839 glBindTexture(GL_TEXTURE_2D, textures[0]); in TEST_P()
842 glBindTexture(GL_TEXTURE_2D, textures[1]); in TEST_P()
846 glCopySubTextureCHROMIUM(textures[0], 0, GL_INVALID_VALUE, textures[1], 0, 1, 1, 0, 0, 1, 1, in TEST_P()
851 glCopySubTextureCHROMIUM(textures[0], 0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, textures[1], 0, 1, 1, in TEST_P()
968 GLTexture textures[2]; in TEST_P() local
970 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[1]); in TEST_P()
982 glBindTexture(GL_TEXTURE_2D, textures[0]); in TEST_P()
986 glCopySubTextureCHROMIUM(textures[0], 0, face, textures[1], 0, 0, 0, 0, 0, 1, 1, false, in TEST_P()
998 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, face, textures[1], 0); in TEST_P()
[all …]
/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()
79 fd_resource_set_usage(tex->textures[p]->texture, FD_DIRTY_TEX); in set_sampler_views()
89 uint nr_samples = fd_resource_nr_samples(tex->textures[i]->texture); in set_sampler_views()
155 if (i < tex->num_textures && tex->textures[i]) { in fd_setup_border_colors()
157 util_format_description(tex->textures[i]->format); in fd_setup_border_colors()
/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.
/external/skqp/src/core/
DSkDraw_vertices.cpp162 const SkPoint vertices[], const SkPoint textures[], in drawVertices() argument
181 if (!(shader && textures)) { in drawVertices()
183 textures = nullptr; in drawVertices()
189 if (colors && textures) { in drawVertices()
195 textures = nullptr; in drawVertices()
202 if (!textures) { in drawVertices()
269 if (colors || textures) { in drawVertices()
291 if (!textures) { // only tricolor shader in drawVertices()
312 if (textures) { in drawVertices()
314 if (!texture_to_matrix(state, vertices, textures, &localM)) { in drawVertices()
/external/angle/doc/
DVTF.md15 * non-mipmapped textures use the only level available
16 * mipmapped textures use only the base level (ie level 0).
29 system memory copies of textures -- all stuff which is rather annoying
31 3. add support and handling for vertex textures/samplers in the API.
32 * any textures used in a vertex shader need to get assigned to the special
57 textures.
59 textures can used for vertex textures, or if filtering can be enabled,
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DBitmapOverlayVideoProcessor.java49 private final int[] textures; field in BitmapOverlayVideoProcessor
67 textures = new int[1]; in BitmapOverlayVideoProcessor()
107 GLES20.glGenTextures(1, textures, 0); in initialize()
108 GLES20.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]); in initialize()
129 GLES20.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]); in draw()
144 uniform.setSamplerTexId(textures[0], /* unit= */ 1); in draw()

12345678910>>...20