/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_fbo.c | 237 * except they're less useful because you can't texture with 249 /* These aren't actual texture formats, so force them here. */ 501 * When wrapping a depthstencil texture that uses separate stencil, this 555 /* compute offset of the particular 2D image within the texture region */ 594 * prepare for rendering into texture memory. This might be called 595 * many times to choose different texture levels, cube faces, etc 620 /* Fallback on drawing to a texture that doesn't have a miptree 651 DBG("Begin render %s texture tex=%u w=%d h=%d refcount=%d\n", 653 att->Texture->Name, image->Width, image->Height, 662 * Called by Mesa when rendering to a texture is done [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 794 /* make an radeon_renderbuffer to wrap the texture image */ 823 = att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 839 /* Fallback on drawing to a texture without a miptree. 864 DBG("Begin render texture tid %lx tex=%u w=%d h=%d refcount=%d\n", 866 att->Texture->Name, newImage->Width, newImage->Height, 869 /* point the renderbufer's region to the texture image region */ 877 /* compute offset of the particular 2D image within the texture region */ 882 if (att->Texture->Target == GL_TEXTURE_3D) { 902 struct gl_texture_object *tex_obj = att->Texture; 931 mesa_format = att->Texture->Image[att->CubeMapFace][att->TextureLevel]->TexFormat [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_fbo.c | 237 * except they're less useful because you can't texture with 249 /* These aren't actual texture formats, so force them here. */ 501 * When wrapping a depthstencil texture that uses separate stencil, this 555 /* compute offset of the particular 2D image within the texture region */ 594 * prepare for rendering into texture memory. This might be called 595 * many times to choose different texture levels, cube faces, etc 620 /* Fallback on drawing to a texture that doesn't have a miptree 651 DBG("Begin render %s texture tex=%u w=%d h=%d refcount=%d\n", 653 att->Texture->Name, image->Width, image->Height, 662 * Called by Mesa when rendering to a texture is done [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 794 /* make an radeon_renderbuffer to wrap the texture image */ 823 = att->Texture->Image[att->CubeMapFace][att->TextureLevel]; 839 /* Fallback on drawing to a texture without a miptree. 864 DBG("Begin render texture tid %lx tex=%u w=%d h=%d refcount=%d\n", 866 att->Texture->Name, newImage->Width, newImage->Height, 869 /* point the renderbufer's region to the texture image region */ 877 /* compute offset of the particular 2D image within the texture region */ 882 if (att->Texture->Target == GL_TEXTURE_3D) { 902 struct gl_texture_object *tex_obj = att->Texture; 931 mesa_format = att->Texture->Image[att->CubeMapFace][att->TextureLevel]->TexFormat [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gles2_cmd_decoder_unittest_textures.cc | 73 Texture* texture = texture_ref->texture(); local 76 EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 2, &width, &height)); 96 EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 2, &width, &height)); 578 Texture* texture = texture_ref->texture(); local 579 EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)); 608 EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)) 622 Texture* texture = texture_ref->texture(); local 887 Texture* texture = texture_ref->texture(); local 971 Texture* texture = texture_ref->texture(); local 1019 Texture* texture = texture_ref->texture(); local 1051 Texture* texture = texture_ref->texture(); local 1340 Texture* texture = GetTexture(kNewClientId)->texture(); local 1385 Texture* texture = GetTexture(client_texture_id_)->texture(); local 1434 Texture* texture = GetTexture(client_texture_id_)->texture(); local 1467 Texture* texture = GetTexture(client_texture_id_)->texture(); local 1766 Texture* texture = texture_ref->texture(); local 1863 Texture* texture = texture_ref->texture(); local 1945 Texture* texture = texture_ref->texture(); local 2021 Texture* texture = texture_ref->texture(); local 2147 Texture* texture = texture_ref->texture(); local 2211 Texture* texture = texture_ref->texture(); local 2222 Texture* texture = texture_ref->texture(); local 2302 Texture* texture = texture_ref->texture(); local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
validationES2.cpp | 13 #include "libGLESv2/Texture.h" 27 gl::Texture2D *texture) 29 if (!texture) 34 if (compressed != texture->isCompressed(level)) 42 if (internalformat != texture->getInternalFormat(level)) 50 if ((width % 4 != 0 && width != texture->getWidth(level)) || 51 (height % 4 != 0 && height != texture->getHeight(level))) 57 if (xoffset + width > texture->getWidth(level) || 58 yoffset + height > texture->getHeight(level)) 68 gl::TextureCubeMap *texture) 133 gl::Texture *texture = NULL; local 815 gl::Texture *texture = NULL; local [all...] |
validationES3.cpp | 13 #include "libGLESv2/Texture.h" 53 gl::Texture *texture = NULL; local 77 texture = texture2d; 107 texture = textureCube; 129 texture = texture3d; 151 texture = texture2darray; 160 if (!texture) 165 if (texture->isImmutable() && !isSubImage) 170 // Validate texture format 369 gl::Texture *texture = NULL; local [all...] |
Context.cpp | 23 #include "libGLESv2/Texture.h" 151 // and cube map texture state vectors respectively associated with them. 152 // In order that access to these initial textures not be lost, they are treated as texture 983 void Context::deleteTexture(GLuint texture) 985 if (mResourceManager->getTexture(texture)) 987 detachTexture(texture); 990 mResourceManager->deleteTexture(texture); 2504 Texture *texture = textures[samplerIndex]; local [all...] |
/external/chromium_org/third_party/mesa/src/docs/ |
MESA_texture_array.spec | 54 texture applied to it. If the transition is from beach sand to 55 grass to rocks to snow, the application will store each texture 56 in a different texture map, and dynamically select which two 63 involve using a separate texture unit for each texture map or using 3D 67 drawbacks of both previous methods. A new texture target, 73 same for all levels of detail. The texture then becomes an array of 74 2D textures. The per-fragment texel is selected by the R texture 89 uint texture, int level, int layer); 153 "<zoffset>" to include layers of an array texture. [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_pstipple.c | 29 * Polygon stipple stage: implement polygon stipple with texture map and 30 * fragment program. The fragment program samples the texture using the 79 struct pipe_resource *texture; member in struct:pstip_stage 118 * user's fragment shader to add the extra texture sample and fragment kill 195 * Upon END instruction, insert texture sampling code for antialiasing. 283 * texture and kill fragment if needed. 286 * texture, but we can only use GL_REPEAT wrap mode with normalized 310 newInst.Instruction.Texture = TRUE; 311 newInst.Texture.Texture = TGSI_TEXTURE_2D [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_fragshader.c | 365 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 414 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 452 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 533 * some of the routing depends on what sort of texture is bound)
|
/external/mesa3d/docs/ |
MESA_texture_array.spec | 54 texture applied to it. If the transition is from beach sand to 55 grass to rocks to snow, the application will store each texture 56 in a different texture map, and dynamically select which two 63 involve using a separate texture unit for each texture map or using 3D 67 drawbacks of both previous methods. A new texture target, 73 same for all levels of detail. The texture then becomes an array of 74 2D textures. The per-fragment texel is selected by the R texture 89 uint texture, int level, int layer); 153 "<zoffset>" to include layers of an array texture. [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_pstipple.c | 29 * Polygon stipple stage: implement polygon stipple with texture map and 30 * fragment program. The fragment program samples the texture using the 79 struct pipe_resource *texture; member in struct:pstip_stage 118 * user's fragment shader to add the extra texture sample and fragment kill 195 * Upon END instruction, insert texture sampling code for antialiasing. 283 * texture and kill fragment if needed. 286 * texture, but we can only use GL_REPEAT wrap mode with normalized 310 newInst.Instruction.Texture = TRUE; 311 newInst.Texture.Texture = TGSI_TEXTURE_2D [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_fragshader.c | 365 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 414 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 452 GLbitfield targetbit = ctx->Texture.Unit[reg]._ReallyEnabled; 533 * some of the routing depends on what sort of texture is bound)
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
Renderer11.h | 62 virtual void generateSwizzle(gl::Texture *texture); 64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture); 227 // Buffer-to-texture and Texture-to-buffer copies 248 void readTextureData(ID3D11Texture2D *texture, unsigned int subResource, const gl::Rectangle &area, GLenum format, 392 // Texture copy resources
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/ |
Renderer9.h | 62 virtual void generateSwizzle(gl::Texture *texture); 64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture); 224 // Buffer-to-texture and Texture-to-buffer copies
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_draw.c | 294 * enabled depth texture. 311 /* Resolve depth buffer of each enabled depth texture. */ 313 if (!ctx->Texture.Unit[i]._ReallyEnabled) 315 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); 406 /* May fail if out of video memory for texture or vbo upload, or on 428 * texture state, the firstLevel and lastLevel fields won't be 429 * set in the intel texture object (they'll both be 0), and the 431 * texture level other than level 0.
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 447 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) { 453 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) {
|
nv20_state_tnl.c | 343 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) { 349 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
enable.c | 214 * Return pointer to current texture unit for setting/getting coordinate 217 * texture unit is higher than the number of supported coordinate units. 222 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 227 return &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; 233 * Helper function to enable or disable a texture target. [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_rasterpos.c | 255 * \param unit texture unit number 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 459 /* texture coords */ 465 if (ctx->Texture.Unit[u].TexGenEnabled) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_draw.c | 294 * enabled depth texture. 311 /* Resolve depth buffer of each enabled depth texture. */ 313 if (!ctx->Texture.Unit[i]._ReallyEnabled) 315 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); 406 /* May fail if out of video memory for texture or vbo upload, or on 428 * texture state, the firstLevel and lastLevel fields won't be 429 * set in the intel texture object (they'll both be 0), and the 431 * texture level other than level 0.
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 447 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) { 453 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) {
|
nv20_state_tnl.c | 343 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) { 349 (ctx->Texture._GenFlags & TEXGEN_NEED_EYE_COORD)) {
|
/external/mesa3d/src/mesa/main/ |
enable.c | 214 * Return pointer to current texture unit for setting/getting coordinate 217 * texture unit is higher than the number of supported coordinate units. 222 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 227 return &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; 233 * Helper function to enable or disable a texture target. [all...] |