Home
last modified time | relevance | path

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

12345678910>>...58

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c50 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
178 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
194 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
196 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
215 if (i == ST_ATTACHMENT_BACK_LEFT && stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]) in stw_st_framebuffer_validate_locked()
257 data = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]; in stw_st_framebuffer_validate_locked()
260 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
267 stwfb->textures[i] = stwfb->fb->winsys_framebuffer->get_resource( in stw_st_framebuffer_validate_locked()
270 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
299 stwfb->textures[ST_ATTACHMENT_BACK_LEFT]); in stw_st_framebuffer_validate_locked()
[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()
184 if (tex->textures[i]->format == PIPE_FORMAT_X24S8_UINT || in fd_setup_border_colors()
185 tex->textures[i]->format == PIPE_FORMAT_X32_S8X24_UINT) { in fd_setup_border_colors()
/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/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/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/mesa3d/src/gallium/frontends/dri/
Dkopper.c520 &drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopper_allocate_textures()
531 &drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
542 &drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
558 if (drawable->textures[i] && i < ST_ATTACHMENT_DEPTH_STENCIL && !is_pixmap) { in kopper_allocate_textures()
559 drawable->textures[i]->width0 = width; in kopper_allocate_textures()
560 drawable->textures[i]->height0 = height; in kopper_allocate_textures()
564 pipe_resource_reference(&drawable->textures[i], NULL); in kopper_allocate_textures()
607 if (!drawable->textures[statts[i]]) { in kopper_allocate_textures()
626 data = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
628 drawable->textures[statts[i]] = in kopper_allocate_textures()
[all …]
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/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/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/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/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/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/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/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/android/cts/main/
Degl-master.txt1405 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1406 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1407 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1408 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1409 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1410 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1411 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1412 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1413 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1414 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/third_party/vk-gl-cts/android/cts/main/src/
Degl-master-2021-03-01.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 …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/egl/aosp_mustpass/3.2.6.x/
Degl-master.txt1103 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.gen_delete
1104 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d
1105 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d
1106 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d
1107 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_render
1108 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_texsubimage2d_render
1109 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.teximage2d_copytexsubimage2d_render
1110 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d
1111 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_texsubimage2d
1112 dEQP-EGL.functional.sharing.gles2.multithread.simple.textures.copyteximage2d_copytexsubimage2d
[all …]
/third_party/vk-gl-cts/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 …]

12345678910>>...58