Home
last modified time | relevance | path

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

12345678910>>...55

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c46 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
158 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
174 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
176 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
213 stwfb->textures[i] = stwfb->fb->winsys_framebuffer->get_resource( in stw_st_framebuffer_validate_locked()
216 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
242 stwfb->textures[ST_ATTACHMENT_BACK_LEFT]); in stw_st_framebuffer_validate_locked()
247 stwfb->textures[ST_ATTACHMENT_BACK_LEFT], in stw_st_framebuffer_validate_locked()
248 stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]); in stw_st_framebuffer_validate_locked()
278 struct pipe_resource **textures = in stw_st_framebuffer_validate() local
[all …]
/third_party/boost/libs/flyweight/example/
Dkey_value.cpp80 std::vector<texture_flyweight> textures; in main() local
82 textures.push_back( in main()
91 textures.push_back( in main()
93 textures[std::rand()%textures.size()].get())); in main()
96 std::cout<<"\n"<<textures.size()<<" flyweights created\n"<<std::endl; in main()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
67 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display()
97 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; in xmesa_st_framebuffer_copy_textures()
98 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; in xmesa_st_framebuffer_copy_textures()
131 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
149 if (xstfb->textures[i] || !(mask & (1 << i))) { in xmesa_st_framebuffer_validate_textures()
151 if (xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
178 xstfb->textures[i] = in xmesa_st_framebuffer_validate_textures()
180 if (!xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
254 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
[all …]
/third_party/skia/third_party/externals/angle2/extensions/
DANGLE_vulkan_image.txt40 application to share textures with an external API.
48 const uint *textures,
52 const uint *textures,
63 const uint *textures,
65 will acquire ownership of textures. Since the texture layout state is
67 the current layout of the textures must be specified to initialize internal
76 const uint *textures,
78 will release ownership of textures. The current texture layouts will be
80 necessary based on the returned current layout of the textures.
/third_party/mesa3d/src/mesa/main/
Dtexobj.h229 _mesa_GenTextures_no_error(GLsizei n, GLuint *textures);
232 _mesa_GenTextures(GLsizei n, GLuint *textures);
235 _mesa_CreateTextures_no_error(GLenum target, GLsizei n, GLuint *textures);
238 _mesa_CreateTextures(GLenum target, GLsizei n, GLuint *textures);
241 _mesa_DeleteTextures_no_error(GLsizei n, const GLuint *textures);
244 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
264 const GLuint *textures);
267 _mesa_BindTextures( GLuint first, GLsizei count, const GLuint *textures );
271 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
276 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
/third_party/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_depth_texture.txt57 sense for depth textures. A better approach would be to take a min or max of 2 x 2 texel
61 2. Should GL_DEPTH_TEXTURE_MODE be used to determine whether depth textures are treated as
62 LUMINANCE, INTENSITY or ALPHA textures during texture filtering and application.
68 b) No longer require DEPTH_TEXTURE_MODE. Treat depth textures always as luminance
69 textures i.e. depth value is returned as (d, d, d, 1.0) by GLSL texture* calls in the
72 Resolution: Adopt approach b). We only need to support one way of treating how depth textures
74 …desktop that use depth textures treat depth textures as LUMINANCE. Therefore, this extension trea…
75 depth textures always as luminance textures and no longer supports DEPTH_TEXTURE_MODE.
79 Resolution: This is currently not supported. Depth textures can be specified with 16-bit depth
82 4. Are cube-map depth textures implemented by this extension?
[all …]
DOES_EGL_image_external_essl3.txt185 use e.g. for conversion of external textures. This reduces the number
243 only useful for mipmapped textures are excluded since external textures
271 5. Should external integer textures be supported in ESSL 3.x shaders?
277 integer textures. For ESSL 3.x, we could allow the same return values
278 for external textures as for regular 2D textures. This would require
281 integer textures these are not added by this extension.
298 modes for external textures is LINEAR or NEAREST and that the only
304 textures.
306 Sampler state that affects completeness of external textures:
311 Sampler state that has no additional constraints for external textures:
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_texture.c81 pipe_sampler_view_reference(&tex->textures[p], NULL); in set_sampler_views()
82 tex->textures[p] = view; in set_sampler_views()
84 pipe_sampler_view_reference(&tex->textures[p], view); in set_sampler_views()
87 if (tex->textures[p]) { in set_sampler_views()
88 fd_resource_set_usage(tex->textures[p]->texture, FD_DIRTY_TEX); in set_sampler_views()
96 pipe_sampler_view_reference(&tex->textures[p], NULL); in set_sampler_views()
162 if (i < tex->num_textures && tex->textures[i]) { in fd_setup_border_colors()
164 util_format_description(tex->textures[i]->format); in fd_setup_border_colors()
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTextureTest.cpp792 GLTexture textures[2]; in TEST_P() local
794 glBindTexture(GL_TEXTURE_2D, textures[0]); in TEST_P()
797 glBindTexture(GL_TEXTURE_2D, textures[1]); in TEST_P()
801 glCopySubTextureCHROMIUM(textures[0], 0, GL_INVALID_VALUE, textures[1], 0, 1, 1, 0, 0, 1, 1, in TEST_P()
806 glCopySubTextureCHROMIUM(textures[0], 0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, textures[1], 0, 1, 1, in TEST_P()
895 GLTexture textures[2]; in TEST_P() local
897 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[1]); in TEST_P()
909 glBindTexture(GL_TEXTURE_2D, textures[0]); in TEST_P()
913 glCopySubTextureCHROMIUM(textures[0], 0, face, textures[1], 0, 0, 0, 0, 0, 1, 1, false, in TEST_P()
925 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, face, textures[1], 0); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm52 [self setFrame:CGRectMake(0, 0, mSwapState->textures[0].width,
53 mSwapState->textures[0].height)];
179 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
181 if (mSwapState.textures[i].texture != 0)
183 mFunctions->deleteTextures(1, &mSwapState.textures[i].texture);
184 mSwapState.textures[i].texture = 0;
194 for (size_t i = 0; i < ArraySize(mSwapState.textures); ++i)
196 mFunctions->genTextures(1, &mSwapState.textures[i].texture);
197 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
200 mSwapState.textures[i].width = width;
[all …]
/third_party/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()
198 pipe_resource_reference(&drawable->textures[i], NULL); in dri_destroy_buffer()
259 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in dri_set_tex_buffer2()
396 struct pipe_resource *src = drawable->textures[att]; in dri_postprocessing()
397 struct pipe_resource *zsbuf = drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]; in dri_postprocessing()
423 args->drawable->textures[ST_ATTACHMENT_BACK_LEFT], in notify_before_flush_cb()
[all …]
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/src/core/
DSkDraw_atlas.cpp90 const SkRect textures[], in drawAtlas() argument
129 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
132 draw.drawRect(textures[i], p); in drawAtlas()
171 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
175 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
203 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
206 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
/third_party/openGLES/extensions/OES/
DOES_EGL_image_external_essl3.txt195 use e.g. for conversion of external textures. This reduces the number
253 only useful for mipmapped textures are excluded since external textures
281 5. Should external integer textures be supported in ESSL 3.x shaders?
287 integer textures. For ESSL 3.x, we could allow the same return values
288 for external textures as for regular 2D textures. This would require
291 integer textures these are not added by this extension.
308 modes for external textures is LINEAR or NEAREST and that the only
314 textures.
316 Sampler state that affects completeness of external textures:
321 Sampler state that has no additional constraints for external textures:
[all …]
DOES_depth_texture.txt67 sense for depth textures. A better approach would be to take a min or max of 2 x 2 texel
71 2. Should GL_DEPTH_TEXTURE_MODE be used to determine whether depth textures are treated as
72 LUMINANCE, INTENSITY or ALPHA textures during texture filtering and application.
78 b) No longer require DEPTH_TEXTURE_MODE. Treat depth textures always as luminance
79 textures i.e. depth value is returned as (d, d, d, 1.0) by GLSL texture* calls in the
82 Resolution: Adopt approach b). We only need to support one way of treating how depth textures
84 …desktop that use depth textures treat depth textures as LUMINANCE. Therefore, this extension trea…
85 depth textures always as luminance textures and no longer supports DEPTH_TEXTURE_MODE.
89 Resolution: This is currently not supported. Depth textures can be specified with 16-bit depth
92 4. Are cube-map depth textures implemented by this extension?
[all …]
/third_party/flutter/skia/src/core/
DSkDraw_atlas.cpp44 void SkDraw::drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect textures[], in drawAtlas() argument
74 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
77 draw.drawRect(textures[i], p); in drawAtlas()
110 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
114 fill_rect(mx, *fRC, textures[i], blitter); in drawAtlas()
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/openGLES/extensions/EXT/
DEXT_texture_array.txt41 Language, which provide the mechanisms necessary to access array textures.
49 textures. An array texture is a collection of one- and two-dimensional
59 coordinate for 1D and 2D array textures, respectively. The layer
67 Array textures can be rendered to by binding them to a framebuffer object
73 This extension does not provide for the use of array textures with
167 two-dimensional array textures, where it's in "q".
168 (2) Add new EXT_gpu_shader4 sampler types used for array textures. )
170 Texture lookups involving textures with depth component data can either
186 two-, and three-dimensional textures consist of a one-, two-, or
187 three-dimensional texel arrays. One- and two-dimensional array textures
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_array.txt41 Language, which provide the mechanisms necessary to access array textures.
49 textures. An array texture is a collection of one- and two-dimensional
59 coordinate for 1D and 2D array textures, respectively. The layer
67 Array textures can be rendered to by binding them to a framebuffer object
73 This extension does not provide for the use of array textures with
167 two-dimensional array textures, where it's in "q".
168 (2) Add new EXT_gpu_shader4 sampler types used for array textures. )
170 Texture lookups involving textures with depth component data can either
186 two-, and three-dimensional textures consist of a one-, two-, or
187 three-dimensional texel arrays. One- and two-dimensional array textures
[all …]
/third_party/openGLES/extensions/NV/
DNV_texture_rectangle.txt47 adds a new texture target that supports 2D textures without requiring
50 Non-power-of-two dimensioned textures are useful for storing
53 non-power-of-two dimensioned textures. Non-power-of-two dimensioned
54 textures are also useful for shadow maps and window-space texturing.
56 However, non-power-of-two dimensioned (NPOTD) textures have
58 textures. NPOTD textures may not use mipmap filtering; POTD
59 textures support both mipmapped and non-mipmapped filtering.
60 NPOTD textures support only the GL_CLAMP, GL_CLAMP_TO_EDGE,
61 and GL_CLAMP_TO_BORDER_ARB wrap modes; POTD textures support
63 and GL_CLAMP_TO_BORDER. NPOTD textures do not support an optional
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_texture_rectangle.txt47 adds a new texture target that supports 2D textures without requiring
50 Non-power-of-two dimensioned textures are useful for storing
53 non-power-of-two dimensioned textures. Non-power-of-two dimensioned
54 textures are also useful for shadow maps and window-space texturing.
56 However, non-power-of-two dimensioned (NPOTD) textures have
58 textures. NPOTD textures may not use mipmap filtering; POTD
59 textures support both mipmapped and non-mipmapped filtering.
60 NPOTD textures support only the GL_CLAMP, GL_CLAMP_TO_EDGE,
61 and GL_CLAMP_TO_BORDER_ARB wrap modes; POTD textures support
63 and GL_CLAMP_TO_BORDER. NPOTD textures do not support an optional
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_4_4_autogen.cpp82 void GL_APIENTRY BindImageTextures(GLuint first, GLsizei count, const GLuint *textures) in BindImageTextures() argument
85 first, count, (uintptr_t)textures); in BindImageTextures()
92 ValidateBindImageTextures(context, first, count, textures)); in BindImageTextures()
95 context->bindImageTextures(first, count, textures); in BindImageTextures()
97 ANGLE_CAPTURE(BindImageTextures, isCallValid, context, first, count, textures); in BindImageTextures()
120 void GL_APIENTRY BindTextures(GLuint first, GLsizei count, const GLuint *textures) in BindTextures() argument
123 first, count, (uintptr_t)textures); in BindTextures()
130 (context->skipValidation() || ValidateBindTextures(context, first, count, textures)); in BindTextures()
133 context->bindTextures(first, count, textures); in BindTextures()
135 ANGLE_CAPTURE(BindTextures, isCallValid, context, first, count, textures); in BindTextures()

12345678910>>...55