Home
last modified time | relevance | path

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

12345678910>>...13

/external/chromium_org/cc/resources/
Dprioritized_resource_unittest.cc131 scoped_ptr<PrioritizedResource> textures[kMaxTextures * 2]; in TEST_F() local
134 textures[i] = in TEST_F()
139 textures[i]->set_request_priority(100 + i); in TEST_F()
143 EXPECT_TRUE(ValidateTexture(textures[0].get(), false)); in TEST_F()
144 EXPECT_TRUE(ValidateTexture(textures[7].get(), false)); in TEST_F()
145 EXPECT_FALSE(ValidateTexture(textures[8].get(), false)); in TEST_F()
146 EXPECT_FALSE(ValidateTexture(textures[15].get(), false)); in TEST_F()
150 textures[i]->set_request_priority(100 - i); in TEST_F()
154 EXPECT_FALSE(ValidateTexture(textures[0].get(), false)); in TEST_F()
155 EXPECT_FALSE(ValidateTexture(textures[7].get(), false)); in TEST_F()
[all …]
/external/chromium_org/third_party/angle/tests/angle_tests/
DClearTest.cpp113 GLuint textures[2]; in TEST_F() local
114 glGenTextures(2, &textures[0]); in TEST_F()
116 glBindTexture(GL_TEXTURE_2D, textures[0]); in TEST_F()
118 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textures[0], 0); in TEST_F()
120 glBindTexture(GL_TEXTURE_2D, textures[1]); in TEST_F()
122 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, textures[1], 0); in TEST_F()
138 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textures[1], 0); in TEST_F()
141 glDeleteTextures(2, textures); in TEST_F()
149 GLuint textures[2]; in TEST_F() local
150 glGenTextures(2, &textures[0]); in TEST_F()
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
70 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
86 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
88 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
113 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
146 pipe_resource_reference(&out[i], stwfb->textures[statts[i]]); in stw_st_framebuffer_validate()
165 resource = stwfb->textures[statt]; in stw_st_framebuffer_present_locked()
217 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_destroy_framebuffer_locked()
234 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked()
235 stwfb->textures[front] = stwfb->textures[back]; in stw_st_swap_framebuffer_locked()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
Dstw_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
70 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
86 if (stwfb->textures[i] || !(mask & (1 << i))) { in stw_st_framebuffer_validate_locked()
88 if (stwfb->textures[i]) in stw_st_framebuffer_validate_locked()
113 stwfb->textures[i] = in stw_st_framebuffer_validate_locked()
146 pipe_resource_reference(&out[i], stwfb->textures[statts[i]]); in stw_st_framebuffer_validate()
165 resource = stwfb->textures[statt]; in stw_st_framebuffer_present_locked()
217 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_destroy_framebuffer_locked()
234 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked()
235 stwfb->textures[front] = stwfb->textures[back]; in stw_st_swap_framebuffer_locked()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
Dxm_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
63 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display()
92 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; in xmesa_st_framebuffer_copy_textures()
93 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; in xmesa_st_framebuffer_copy_textures()
125 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
141 if (xstfb->textures[i] || !(mask & (1 << i))) { in xmesa_st_framebuffer_validate_textures()
143 if (xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
170 xstfb->textures[i] = in xmesa_st_framebuffer_validate_textures()
172 if (!xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
246 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
[all …]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member
63 struct pipe_resource *ptex = xstfb->textures[statt]; in xmesa_st_framebuffer_display()
92 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; in xmesa_st_framebuffer_copy_textures()
93 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; in xmesa_st_framebuffer_copy_textures()
125 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
141 if (xstfb->textures[i] || !(mask & (1 << i))) { in xmesa_st_framebuffer_validate_textures()
143 if (xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
170 xstfb->textures[i] = in xmesa_st_framebuffer_validate_textures()
172 if (!xstfb->textures[i]) in xmesa_st_framebuffer_validate_textures()
246 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
[all …]
/external/chromium_org/third_party/mesa/src/docs/
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/docs/
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/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/mesa3d/src/mesa/main/
Dtexobj.h143 _mesa_GenTextures( GLsizei n, GLuint *textures );
147 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
155 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
160 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dtexobj.h143 _mesa_GenTextures( GLsizei n, GLuint *textures );
147 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
155 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
160 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddrisw.c148 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
151 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in drisw_swap_buffers()
152 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
170 ptex = drawable->textures[statt]; in drisw_flush_frontbuffer()
204 pipe_resource_reference(&drawable->textures[i], NULL); in drisw_allocate_textures()
220 if (drawable->textures[statts[i]]) in drisw_allocate_textures()
235 drawable->textures[statts[i]] = in drisw_allocate_textures()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/sw/
Ddrisw.c148 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
151 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) in drisw_swap_buffers()
152 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
170 ptex = drawable->textures[statt]; in drisw_flush_frontbuffer()
204 pipe_resource_reference(&drawable->textures[i], NULL); in drisw_allocate_textures()
220 if (drawable->textures[statts[i]]) in drisw_allocate_textures()
235 drawable->textures[statts[i]] = in drisw_allocate_textures()
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp789 GLuint textures[2]; in init()
790 glGenTextures (2, &textures[0]); in init()
791 glBindTexture (GL_TEXTURE_2D, textures[0]); in init()
793 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in init()
806 glDeleteTextures(2, &textures[0]); in init()
810 GLuint textures[2]; in init()
811 glGenTextures (2, &textures[0]); in init()
812 glBindTexture (GL_TEXTURE_2D, textures[0]); in init()
814 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in init()
832 glDeleteTextures(2, &textures[0]); in init()
[all …]
/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/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
81 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views()
87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL); in nv40_verttex_set_sampler_views()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
81 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views()
87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL); in nv40_verttex_set_sampler_views()
/external/chromium_org/gpu/GLES2/extensions/CHROMIUM/
DCHROMIUM_color_buffer_float_rgba.txt26 This extension enables rendering to floating point RGBA textures. When
39 Floating point RGBA textures may still be created also with the unsized
40 GL_RGBA internal format, but whether such textures are renderable is not
DCHROMIUM_color_buffer_float_rgb.txt26 This extension enables rendering to floating point RGB textures. When
39 Floating point RGB textures may still be created also with the unsized
40 GL_RGB internal format, but whether such textures are renderable is not
/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
/external/chromium_org/third_party/mesa/src/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
/external/deqp/modules/gles31/functional/
Des31fNegativeTextureApiTests.cpp792 GLuint textures[2]; in copytexsubimage2d_neg_level() local
793 ctx.glGenTextures (2, &textures[0]); in copytexsubimage2d_neg_level()
794 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); in copytexsubimage2d_neg_level()
796 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in copytexsubimage2d_neg_level()
809 ctx.glDeleteTextures(2, &textures[0]); in copytexsubimage2d_neg_level()
814 GLuint textures[2]; in copytexsubimage2d_max_level() local
815 ctx.glGenTextures (2, &textures[0]); in copytexsubimage2d_max_level()
816 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); in copytexsubimage2d_max_level()
818 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); in copytexsubimage2d_max_level()
836 ctx.glDeleteTextures(2, &textures[0]); in copytexsubimage2d_max_level()
[all …]
/external/chromium_org/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp247 GrTexture* textures[]) { in TestCreate() argument
261 SkIRect bounds = SkIRect::MakeXYWH(random->nextRangeU(0, textures[texIdx]->width()), in TestCreate()
262 random->nextRangeU(0, textures[texIdx]->height()), in TestCreate()
263 random->nextRangeU(0, textures[texIdx]->width()), in TestCreate()
264 random->nextRangeU(0, textures[texIdx]->height())); in TestCreate()
267 return GrMatrixConvolutionEffect::Create(textures[texIdx], in TestCreate()

12345678910>>...13