/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | image.c | 134 vg_get_copy_coords(src_loc, src->texture->width0, src->texture->height0, 209 struct pipe_resource *tex = img->sampler_view->texture; 285 /* want the texture to go away if the view is freed */ 388 struct pipe_resource *texture = image_texture(image); local 422 pipe, texture, 0, 0, 423 PIPE_TRANSFER_WRITE, 0, 0, texture->width0, texture->height0); 453 image->sampler_view->texture, 0, 0, 521 vg_copy_texture(ctx, dst->sampler_view->texture, ds [all...] |
H A D | mask.c | 131 surf = pipe->create_surface(pipe, strb->texture, 0, 0, 0, 280 struct pipe_resource *dst = dst_view->texture; 281 struct pipe_resource *texture = sampler_view->texture; local 290 texture->width0, texture->height0, 315 /* layer should be flipped when used as a texture */ 346 struct pipe_resource *texture; local 358 texture = screen->resource_create(screen, &pt); 360 if (texture) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_exa.c | 830 debug_printf(" ==> old texture %dx%d\n", 863 struct pipe_resource *texture = NULL; local 883 texture = exa->scrn->resource_create(exa->scrn, &template); 887 u_box_origin_2d(min(width, texture->width0), 888 min(height, texture->height0), 890 exa->pipe->resource_copy_region(exa->pipe, texture, 896 pipe_resource_reference(&priv->tex, texture); 897 /* the texture we create has one reference */ 898 pipe_resource_reference(&texture, NULL);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | es1_conversion.c | 635 _es_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) argument 637 _es_MultiTexCoord4f(texture,
|
H A D | texobj.c | 67 * Allocate and initialize a new texture object. But don't put it into the 68 * texture object hash table. 73 * \param shared the shared GL state structure to contain the texture object 74 * \param name integer name for the texture object 79 * \return pointer to new texture object. 93 * Initialize a new texture object to default values. 94 * \param obj the texture object 95 * \param name the texture name 96 * \param target the texture target 161 * Some texture initializatio 885 invalidate_tex_image_error_check(struct gl_context *ctx, GLuint texture, GLint level, const char *name) argument 1422 _mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) argument 1566 _mesa_InvalidateTexImage(GLuint texture, GLint level) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_bitmap.c | 64 * is stored in a texture image. An alpha8 texture format is used. 65 * The fragment shader samples a bit (texel) from the texture, then 99 struct pipe_resource *texture; member in struct:bitmap_cache 104 /** An I8 texture image: */ 115 * Sample the texture and kill the fragment if the bit is 0. 139 /* TEX tmp0, fragment.texcoord[0], texture[0], 2D; */ 211 * \param bitmap_sampler sampler number for the bitmap texture 259 * Copy user-provide bitmap bits into texture buffer, expanding 264 * the texture [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_triangle.c | 136 const GLubyte *texture = (const GLubyte *) swImg->Map; \ 140 if (!rb || !texture) { \ 154 rgba[i][RCOMP] = texture[pos+2]; \ 155 rgba[i][GCOMP] = texture[pos+1]; \ 156 rgba[i][BCOMP] = texture[pos+0]; \ 194 const GLubyte *texture = (const GLubyte *) swImg->Map; \ 198 if (!rb || !texture) { \ 215 rgba[i][RCOMP] = texture[pos+2]; \ 216 rgba[i][GCOMP] = texture[pos+1]; \ 217 rgba[i][BCOMP] = texture[po 244 const GLchan *texture; member in struct:affine_info 600 const GLchan *texture; member in struct:persp_info [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleWarp.cpp | 217 const SkRect& texture); 269 const SkRect& texture) { 289 const SkScalar dtx = texture.width() / rows; 290 const SkScalar dty = texture.height() / cols; 297 tex->set(texture.fLeft + x*dtx, texture.fTop + y*dty); 342 SkRect bounds, texture; local 343 texture.set(0, 0, SkIntToScalar(fBitmap.width()), 345 bounds = texture; 347 // fMesh.init(bounds, fBitmap.width() / 40, fBitmap.height() / 40, texture); 268 init(const SkRect& bounds, int rows, int cols, const SkRect& texture) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkImageFilter.cpp | 259 if (NULL == dst.texture()) { 264 GrContext::AutoRenderTarget art(context, dst.texture()->asRenderTarget()); 379 void SkImageFilter::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) { argument 382 result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (info, texture)))->unref();
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkAlphaThresholdFilter.cpp | 64 static GrFragmentProcessor* Create(GrTexture* texture, argument 68 return SkNEW_ARGS(AlphaThresholdEffect, (texture, 87 AlphaThresholdEffect(GrTexture* texture, argument 94 GrCoordTransform::MakeDivByTextureWHMatrix(texture), texture) 95 , fImageTextureAccess(texture) 226 return (this->texture(0) == s.texture(0) && 233 GrPixelConfigIsOpaque(this->texture(0)->config())) { 272 GrTexture* texture, 271 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix& in_matrix, const SkIRect&) const argument [all...] |
H A D | SkMagnifierImageFilter.cpp | 29 static GrFragmentProcessor* Create(GrTexture* texture, argument 36 return SkNEW_ARGS(GrMagnifierEffect, (texture, 62 GrMagnifierEffect(GrTexture* texture, argument 69 : GrSingleTextureEffect(texture, GrCoordTransform::MakeDivByTextureWHMatrix(texture)) 191 GrTexture* texture = textures[0]; local 202 texture, 203 (float) width / texture->width(), 204 (float) height / texture->height(), 205 texture 275 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix&, const SkIRect&) const argument [all...] |
H A D | SkTableColorFilter.cpp | 288 static GrFragmentProcessor* Create(GrTexture* texture, unsigned flags) { argument 289 return SkNEW_ARGS(ColorTableEffect, (texture, flags)); 304 explicit ColorTableEffect(GrTexture* texture, unsigned flags); 387 ColorTableEffect::ColorTableEffect(GrTexture* texture, unsigned flags) argument 388 : fTextureAccess(texture, "a") 401 return this->texture(0) == sBase.texture(0); 440 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, bitmap, NULL); local 441 if (texture) { 442 fp = ColorTableEffect::Create(texture, fFlag [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrDistanceFieldTextContext.cpp | 38 // position + texture coord 46 // position + color + texture coord 185 // setup our sampler state for our text texture/atlas 212 // the mask texture color. The end result is that we get 332 GrTexture* texture = glyph->fPlot->texture(); local 333 SkASSERT(texture); 335 if (fCurrTexture != texture || fCurrVertex + 4 > fMaxVertices) { 337 fCurrTexture = texture; 423 // The texture coord [all...] |
H A D | GrGpu.cpp | 191 bool GrGpu::writeTexturePixels(GrTexture* texture, argument 196 return this->onWriteTexturePixels(texture, left, top, width, height,
|
H A D | SkGr.cpp | 147 // This texture is likely to be used again so leave it in the cache 157 // This texture is unlikely to be used again (in its present form) so 158 // just use a scratch texture. This will remove the texture from the 160 // scratch texture will go to the end of the list for purging so will 200 // Is it actually an ETC1 texture? 256 if ((NULL == yuvTextures[i].texture()) || 257 !ctx->writeTexturePixels(yuvTextures[i].texture(), 274 yuvTextures[0].texture(), yuvTextures[1].texture(), yuvTexture 339 GrTexture *texture = load_etc1_texture(ctx, cache, params, *bitmap, desc); local 347 GrTexture *texture = load_yuv_texture(ctx, cache, params, *bitmap, desc); local 400 GrUnlockAndUnrefCachedBitmapTexture(GrTexture* texture) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLCreateNullInterface.cpp | 146 GrGLvoid GR_GL_FUNCTION_TYPE nullGLActiveTexture(GrGLenum texture) {} argument 150 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindTexture(GrGLenum target, GrGLuint texture) {} argument 197 GrGLvoid GR_GL_FUNCTION_TYPE nullGLFramebufferTexture2D(GrGLenum target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture, GrGLint level) {} argument
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrGLCreateDebugInterface.cpp | 26 GrGLvoid GR_GL_FUNCTION_TYPE debugGLActiveTexture(GrGLenum texture) { argument 28 // Ganesh offsets the texture unit indices 29 texture -= GR_GL_TEXTURE0; 30 GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits()); 32 GrDebugGL::getInstance()->setCurTextureUnit(texture); 67 // a textureID of 0 is acceptable - it binds to the default texture target 68 GrTextureObj *texture = GR_FIND(textureID, GrTextureObj, local 71 GrDebugGL::getInstance()->setTexture(texture); 232 // first potentially unbind the texture 243 // this ID is the current texture 436 GrTextureObj *texture = GR_FIND(textureID, GrTextureObj, local [all...] |
/external/deqp/framework/randomshaders/ |
H A D | rsgProgramExecutor.cpp | 178 void ProgramExecutor::setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument 180 m_samplers2D[samplerNdx] = Sampler2D(texture, sampler); 183 void ProgramExecutor::setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument 185 m_samplersCube[samplerNdx] = SamplerCube(texture, sampler);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureCompletenessTests.cpp | 269 GLuint texture; local 270 glGenTextures (1, &texture); 272 glBindTexture (GL_TEXTURE_2D, texture); 331 GLuint texture; local 332 glGenTextures (1, &texture); 334 glBindTexture (GL_TEXTURE_2D, texture); 384 GLuint texture; local 385 glGenTextures (1, &texture); 387 glBindTexture (GL_TEXTURE_2D, texture); 442 GLuint texture; local 490 GLuint texture; local 543 GLuint texture; local 597 GLuint texture; local 669 GLuint texture; local 738 GLuint texture; local 802 GLuint texture; local 851 GLuint texture; local 907 GLuint texture; local [all...] |
H A D | es2fTextureFilteringTests.cpp | 92 const glu::Texture2D* texture; member in struct:deqp::gles2::Functional::Texture2DFilteringCase::FilterCase 97 : texture(DE_NULL) 102 : texture (tex_) 179 // Fill first gradient texture. 189 // Fill second with grid texture. 283 // Compute texture coordinates. 287 gl.bindTexture (GL_TEXTURE_2D, curCase.texture->getGLTexture()); 311 const bool isOk = verifyTextureResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), 355 const glu::TextureCube* texture; member in struct:deqp::gles2::Functional::TextureCubeFilteringCase::FilterCase 360 : texture(DE_NUL [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 137 const glu::TextureCubeArray* texture; member in struct:deqp::gles31::Functional::TextureCubeArrayFilteringCase::FilterCase 143 : texture(DE_NULL) 148 : texture (tex_) 223 // Fill first gradient texture (gradient direction varies between layers). 240 // Fill second with grid texture (each layer has unique colors). 327 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); 343 gl.bindTexture (GL_TEXTURE_CUBE_MAP_ARRAY, curCase.texture->getGLTexture()); 388 const bool isHighQuality = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(), 399 const bool isOk = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(), 494 // Cube map array texture filterin [all...] |
/external/deqp/modules/glshared/ |
H A D | glsMemoryStressCase.cpp | 100 void render (deUint32 texture); 154 "\tdEQP_FragColor = texture(u_texture, v_texCoord);\n" 174 "\tdEQP_FragColor = texture(u_texture, v_texCoord);\n" 220 void TextureRenderer::render (deUint32 texture) argument 240 GLU_CHECK_CALL(glBindTexture(GL_TEXTURE_2D, texture));
|
H A D | glsRandomShaderCase.cpp | 461 const glu::Texture2D* texture = i->second; local 464 glBindTexture(GL_TEXTURE_2D, texture->getGLTexture()); 466 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER)); 468 GLU_CHECK_MSG("After 2D texture setup"); 473 const glu::TextureCube* texture = i->second; local 476 glBindTexture(GL_TEXTURE_CUBE_MAP, texture->getGLTexture()); 478 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
|
H A D | glsStateChangePerfTestCases.cpp | 350 GLuint texture; local 352 gl.genTextures(1, &texture); 355 gl.bindTexture(GL_TEXTURE_2D, texture); 373 m_textures.push_back(texture);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_aaline.c | 29 * AA line stage: AA lines are converted to texture mapped triangles. 58 * Size for the alpha texture used for antialiasing 63 * Max texture level for the alpha texture used for antialiasing 79 int generic_attrib; /**< texcoord/generic used for texture */ 98 struct pipe_resource *texture; member in struct:aaline_stage 202 * Upon END instruction, insert texture sampling code for antialiasing. 347 * This will be the user's shader plus some texture/modulate instructions. 401 * Create the texture map we'll use for antialiasing the lines. 422 aaline->texture [all...] |