/external/mesa3d/src/gallium/state_trackers/wgl/ |
H A D | stw_st.c | 44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:stw_st_framebuffer 56 * Remove outdated textures and create the requested ones. 67 /* remove outdated textures */ 70 pipe_resource_reference(&stwfb->textures[i], NULL); 86 if (stwfb->textures[i] || !(mask & (1 << i))) { 88 if (stwfb->textures[i]) 113 stwfb->textures[i] = 146 pipe_resource_reference(&out[i], stwfb->textures[statts[i]]); 165 resource = stwfb->textures[statt]; 217 pipe_resource_reference(&stwfb->textures[ [all...] |
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
H A D | xm_st.c | 44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:xmesa_st_framebuffer 63 struct pipe_resource *ptex = xstfb->textures[statt]; 92 struct pipe_resource *src_ptex = xstfb->textures[src_statt]; 93 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt]; 110 * Remove outdated textures and create the requested ones. 122 /* remove outdated textures */ 125 pipe_resource_reference(&xstfb->textures[i], NULL); 141 if (xstfb->textures[i] || !(mask & (1 << i))) { 143 if (xstfb->textures[i]) 170 xstfb->textures[ [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv40_verttex.c | 37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 81 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); 87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL);
|
H A D | nv30_context.h | 78 struct pipe_sampler_view *textures[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon14561 91 struct pipe_sampler_view *textures[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon14562
|
H A D | nv30_fragtex.c | 43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 183 pipe_sampler_view_reference(&nv30->fragprog.textures[i], views[i]); 189 pipe_sampler_view_reference(&nv30->fragprog.textures[i], NULL);
|
/external/mesa3d/src/mesa/main/ |
H A D | texobj.h | 143 _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/xorg/ |
H A D | xorg_renderer.h | 59 struct pipe_resource **textures); 73 struct pipe_sampler_view **textures,
|
/external/mesa3d/docs/ |
H A D | MESA_texture_array.spec | 44 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_ [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
H A D | drisw.c | 148 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; 151 if (ctx->pp && drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]) 152 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); 170 ptex = drawable->textures[statt]; 201 /* remove outdated textures */ 204 pipe_resource_reference(&drawable->textures[i], NULL); 220 if (drawable->textures[statts[i]]) 235 drawable->textures[statts[i]] =
|
H A D | dri_context.c | 246 if (draw->textures[ST_ATTACHMENT_BACK_LEFT] && draw->textures[ST_ATTACHMENT_DEPTH_STENCIL] 248 pp_init_fbos(ctx->pp, draw->textures[ST_ATTACHMENT_BACK_LEFT]->width0, 249 draw->textures[ST_ATTACHMENT_BACK_LEFT]->height0);
|
H A D | dri_drawable.c | 62 /* record newly allocated textures */ 80 /* add existing textures */ 82 if (drawable->textures[i]) 96 pipe_resource_reference(&out[i], drawable->textures[statts[i]]); 166 pipe_resource_reference(&drawable->textures[i], NULL); 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT];
|
/external/skia/include/gpu/ |
H A D | GrProcessorUnitTest.h | 29 // Used to access the dummy textures in TestCreate procs. 43 * fTextures are valid textures that can optionally be used to construct 45 * kAlpha_8_GrPixelConfig. TestCreate functions are also free to create additional textures using 52 GrTexture* const textures[2]) 56 fProxies[0] = GrSurfaceProxy::MakeWrapped(sk_ref_sp(textures[0])); 57 fProxies[1] = GrSurfaceProxy::MakeWrapped(sk_ref_sp(textures[1])); 49 GrProcessorTestData(SkRandom* random, GrContext* context, const GrRenderTargetContext* renderTargetContext, GrTexture* const textures[2]) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_jit.h | 107 struct lp_jit_texture textures[PIPE_MAX_SAMPLERS]; member in struct:lp_jit_context 142 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CTX_TEXTURES, "textures")
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
H A D | dri_context.c | 246 if (draw->textures[ST_ATTACHMENT_BACK_LEFT] && draw->textures[ST_ATTACHMENT_DEPTH_STENCIL] 248 pp_init_fbos(ctx->pp, draw->textures[ST_ATTACHMENT_BACK_LEFT]->width0, 249 draw->textures[ST_ATTACHMENT_BACK_LEFT]->height0);
|
H A D | dri_drawable.h | 59 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; member in struct:dri_drawable
|
H A D | dri_drawable.c | 62 /* record newly allocated textures */ 80 /* add existing textures */ 82 if (drawable->textures[i]) 96 pipe_resource_reference(&out[i], drawable->textures[statts[i]]); 166 pipe_resource_reference(&drawable->textures[i], NULL); 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT];
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
H A D | dri_context.c | 246 if (draw->textures[ST_ATTACHMENT_BACK_LEFT] && draw->textures[ST_ATTACHMENT_DEPTH_STENCIL] 248 pp_init_fbos(ctx->pp, draw->textures[ST_ATTACHMENT_BACK_LEFT]->width0, 249 draw->textures[ST_ATTACHMENT_BACK_LEFT]->height0);
|
H A D | dri_drawable.c | 62 /* record newly allocated textures */ 80 /* add existing textures */ 82 if (drawable->textures[i]) 96 pipe_resource_reference(&out[i], drawable->textures[statts[i]]); 166 pipe_resource_reference(&drawable->textures[i], NULL); 215 pt = drawable->textures[ST_ATTACHMENT_FRONT_LEFT];
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_manager.c | 184 struct pipe_resource *textures[ST_ATTACHMENT_COUNT]; local 196 stfb->num_statts, textures)) 211 if (!textures[i]) 216 pipe_resource_reference(&textures[i], NULL); 222 if (strb->texture == textures[i]) { 223 pipe_resource_reference(&textures[i], NULL); 227 u_surface_default_template(&surf_tmpl, textures[i], 229 ps = st->pipe->create_surface(st->pipe, textures[i], &surf_tmpl); 245 pipe_resource_reference(&textures[i], NULL);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fNegativeTextureApiTests.cpp | 861 GLuint textures[2]; 862 glGenTextures (2, &textures[0]); 863 glBindTexture (GL_TEXTURE_2D, textures[0]); 865 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); 878 glDeleteTextures(2, &textures[0]); 882 GLuint textures[2]; 883 glGenTextures (2, &textures[0]); 884 glBindTexture (GL_TEXTURE_2D, textures[0]); 886 glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); 904 glDeleteTextures(2, &textures[ [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeTextureApiTests.cpp | 982 GLuint textures[2]; local 983 ctx.glGenTextures (2, &textures[0]); 984 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); 986 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); 999 ctx.glDeleteTextures(2, &textures[0]); 1004 GLuint textures[2]; local 1005 ctx.glGenTextures (2, &textures[0]); 1006 ctx.glBindTexture (GL_TEXTURE_2D, textures[0]); 1008 ctx.glBindTexture (GL_TEXTURE_CUBE_MAP, textures[1]); 1026 ctx.glDeleteTextures(2, &textures[ 1596 deUint32 textures[2]; local 1622 deUint32 textures[2]; local 2482 deUint32 textures[2]; local 2508 deUint32 textures[2]; local 2913 deUint32 textures[3]; local 2944 deUint32 textures[2]; local 2970 deUint32 textures[3]; local 3133 deUint32 textures[3]; local 3167 deUint32 textures[3]; local 3626 deUint32 textures[] = {0x1234, 0x1234}; local 3674 deUint32 textures[] = {0x1234, 0x1234}; local 3723 deUint32 textures[] = {0x1234, 0x1234}; local 3768 deUint32 textures[] = {0x1234, 0x1234}; local 3820 deUint32 textures[] = {0x1234, 0x1234}; local 3868 deUint32 textures[] = {0x1234, 0x1234}; local [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
H A D | rbug_texture.h | 88 rbug_texture_t *textures; member in struct:rbug_proto_texture_list_reply 159 rbug_texture_t *textures,
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | egl_g3d_image.c | 48 struct pipe_resource *textures[NUM_NATIVE_ATTACHMENTS]; local 56 if (!nsurf->validate(nsurf, 1 << natt, NULL, textures, NULL, NULL)) 57 textures[natt] = NULL; 61 return textures[natt];
|
H A D | egl_g3d_st.c | 211 struct pipe_resource *textures[NUM_NATIVE_ATTACHMENTS]; local 241 &gsurf->sequence_number, textures, &gsurf->base.Width, 268 tex = textures[natt];
|
/external/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 137 QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures); 177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures) argument 183 , m_textures (textures) 279 textures[ndx].sampler = binding.getSampler(); 283 case TextureBinding::TYPE_2D: textures[ndx].tex2D = &binding.get2D()->getRefTexture(); break; 284 case TextureBinding::TYPE_CUBE_MAP: textures[ndx].texCube = &binding.getCube()->getRefTexture(); break; 285 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture(); break; 286 case TextureBinding::TYPE_3D: textures[ndx].tex3D = &binding.get3D()->getRefTexture(); break; 316 if (textures[unitNdx].tex2D) 317 return textures[unitNd [all...] |