Searched defs:texture (Results 176 - 200 of 348) sorted by relevance

1234567891011>>

/external/deqp/modules/gles3/functional/
H A Des3fASTCDecompressionCases.cpp244 const glu::Texture2D& texture,
325 void ASTCRenderer2D::render (Surface& referenceDst, Surface& resultDst, const glu::Texture2D& texture, const tcu::TextureFormat& uncompressedFormat) argument
331 const int textureWidth = texture.getRefTexture().getWidth();
332 const int textureHeight = texture.getRefTexture().getHeight();
348 gl.bindTexture(GL_TEXTURE_2D, texture.getGLTexture());
363 sampleTexture(tcu::SurfaceAccess(referenceDst, renderCtx.getRenderTarget().getPixelFormat()), texture.getRefTexture(), &texCoord[0], renderParams);
434 log << TestLog::Message << "Using texture of size "
446 // Create texture and render.
451 glu::Texture2D texture (renderCtx, m_context.getContextInfo(), 1, &compressed, tcu::TexDecompressionParams(decompressionMode));
455 m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedForma
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fNegativeBufferApiTests.cpp279 deUint32 texture = 0x1234; local
281 ctx.glGenTextures (1, &texture);
282 ctx.glBindTexture (GL_TEXTURE_2D, texture);
286 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0);
292 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0);
299 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0);
306 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0);
317 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0);
361 ctx.glDeleteTextures (1, &texture);
512 deUint32 texture local
562 deUint32 texture = 0x1234; local
609 deUint32 texture = 0x1234; local
757 deUint32 texture = 0x1234; local
954 deUint32 texture = 0x1234; local
1148 GLuint texture[] = {0x1234, 0x1234}; local
1350 deUint32 texture[2]; local
1679 deUint32 texture = 0x1234; local
1728 deUint32 texture = 0x1234; local
1866 deUint32 texture[5]; local
[all...]
H A Des31fTextureFilteringTests.cpp138 const glu::TextureCubeArray* texture; member in struct:deqp::gles31::Functional::TextureCubeArrayFilteringCase::FilterCase
144 : texture(DE_NULL)
149 : texture (tex_)
229 // Fill first gradient texture (gradient direction varies between layers).
246 // Fill second with grid texture (each layer has unique colors).
333 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat();
349 gl.bindTexture (GL_TEXTURE_CUBE_MAP_ARRAY, curCase.texture->getGLTexture());
394 const bool isHighQuality = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(),
405 const bool isOk = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(),
501 // Cube map array texture filterin
[all...]
/external/deqp/modules/glshared/
H A DglsMemoryStressCase.cpp100 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 DglsRandomShaderCase.cpp523 const glu::Texture2D* texture = i->second; local
526 glBindTexture(GL_TEXTURE_2D, texture->getGLTexture());
528 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
530 GLU_CHECK_MSG("After 2D texture setup");
535 const glu::TextureCube* texture = i->second; local
538 glBindTexture(GL_TEXTURE_CUBE_MAP, texture->getGLTexture());
540 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
H A DglsStateChangePerfTestCases.cpp350 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 Ddraw_pipe_aaline.c29 * 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
269 /* insert texture sampling code for antialiasing. */
322 * This will be the user's shader plus some texture/modulate instructions.
377 * Create the texture map we'll use for antialiasing the lines.
398 aaline->texture
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c52 const struct pipe_resource *texture)
56 surf->format = texture->format;
416 assert(dst->texture);
417 if (!dst->texture)
420 if (dst->texture->target == PIPE_BUFFER) {
431 dst->texture,
440 dst->texture,
506 assert(dst->texture);
507 if (!dst->texture)
512 dst->texture,
51 u_surface_default_template(struct pipe_surface *surf, const struct pipe_resource *texture) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_winsys_dri3.c52 struct pipe_resource *texture; member in struct:vl_dri3_buffer
101 pipe_resource_reference(&buffer->texture, NULL);
113 pipe_resource_reference(&buffer->texture, NULL);
252 buffer->texture = (scrn->output_texture) ? scrn->output_texture :
254 if (!buffer->texture)
267 buffer->texture = (scrn->output_texture) ? scrn->output_texture :
269 if (!buffer->texture)
271 pixmap_buffer_texture = buffer->texture;
306 pipe_resource_reference(&buffer->texture, NULL);
320 struct pipe_resource *texture local
466 struct pipe_resource templ, *texture = NULL; local
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_texture.c398 /* Multiply slice size by texture depth for total size. It's
399 * remarkable how wasteful of memory the i915 texture layouts
679 * Screen texture functions
686 struct pipe_resource *texture,
690 struct i915_texture *tex = i915_texture(texture);
755 * Allocate the untiled staging texture.
685 i915_texture_get_handle(struct pipe_screen * screen, struct pipe_resource *texture, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_context.h161 struct pipe_resource *texture; member in struct:softpipe_context::__anon16417
240 struct pipe_resource *texture,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c59 struct svga_texture *texture = svga_texture(st->base.resource); local
78 texture->handle,
86 util_format_get_blocksize(texture->b.b.format) * 8 /
87 (util_format_get_blockwidth(texture->b.b.format)
88 * util_format_get_blockheight(texture->b.b.format)));
105 struct svga_texture *texture = svga_texture(st->base.resource); local
106 struct svga_screen *screen = svga_screen(texture->b.b.screen);
183 * Prevent the texture contents to be discarded on the next band
207 struct pipe_resource *texture,
210 struct svga_winsys_screen *sws = svga_winsys_screen(texture
206 svga_texture_get_handle(struct pipe_screen *screen, struct pipe_resource *texture, struct winsys_handle *whandle) argument
339 struct pipe_resource *texture = st->base.resource; local
409 struct pipe_resource *texture = transfer->resource; local
533 svga_texture_transfer_map(struct pipe_context *pipe, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) argument
1334 svga_texture_transfer_map_can_upload(const struct svga_screen *svgascreen, const struct pipe_resource *texture) argument
1366 struct pipe_resource *texture = st->base.resource; local
1458 struct pipe_resource *texture = st->base.resource; local
[all...]
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_nopfuncs.c53 nop_glBindMultiTextureEXT(GLenum texunit, GLenum target, GLuint texture) argument
330 nop_glTextureParameterfEXT(GLuint texture, GLenum target, GLenum pname, GLfloat param) argument
336 nop_glTextureParameterfvEXT(GLuint texture, GLenum target, GLenum pname, const GLfloat *params) argument
342 nop_glTextureParameteriEXT(GLuint texture, GLenum target, GLenum pname, GLint param) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp79 /* Sample from the MCS surface attached to this multisample texture. */
82 const fs_reg &texture)
88 srcs[TEX_LOGICAL_SRC_SURFACE] = texture;
89 srcs[TEX_LOGICAL_SRC_SAMPLER] = texture;
81 emit_mcs_fetch(const fs_reg &coordinate, unsigned components, const fs_reg &texture) argument
/external/mesa3d/src/mesa/main/
H A Des1_conversion.c646 _mesa_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) argument
648 _es_MultiTexCoord4f(texture,
H A Dtexgetimage.c95 /* map src texture buffer */
142 /* map src texture buffer */
189 /* map src texture buffer */
233 /* map src texture buffer */
304 * Get a color texture image with decompression.
332 /* Decompress the texture image slices - results in 'tempImage' */
421 * Get an uncompressed color texture image.
467 /* map src texture buffer */
550 /* Unmap the src texture buffer */
620 * Check if we can use memcpy to copy from the hardware texture
1419 _mesa_GetTextureImage(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels) argument
1453 _mesa_GetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels) argument
1733 _mesa_GetCompressedTextureImage(GLuint texture, GLint level, GLsizei bufSize, GLvoid *pixels) argument
1762 _mesa_GetCompressedTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels) argument
[all...]
H A Dtexparam.c51 * Check if a coordinate wrap mode is supported for the texture target.
118 * Get current texture object for given target.
150 * Get current texture object for given name.
156 get_texobj_by_name(struct gl_context *ctx, GLuint texture, GLboolean get) argument
160 texObj = _mesa_lookup_texture(ctx, texture);
230 * This is called just prior to changing any texture object state which
231 * will not affect texture completeness.
241 * This is called just prior to changing any texture object state which
242 * could affect texture completeness (texture bas
1109 _mesa_TextureParameterfv(GLuint texture, GLenum pname, const GLfloat *params) argument
1125 _mesa_TextureParameterf(GLuint texture, GLenum pname, GLfloat param) argument
1141 _mesa_TextureParameteri(GLuint texture, GLenum pname, GLint param) argument
1157 _mesa_TextureParameteriv(GLuint texture, GLenum pname, const GLint *params) argument
1175 _mesa_TextureParameterIiv(GLuint texture, GLenum pname, const GLint *params) argument
1192 _mesa_TextureParameterIuiv(GLuint texture, GLenum pname, const GLuint *params) argument
1731 _mesa_GetTextureLevelParameterfv(GLuint texture, GLint level, GLenum pname, GLfloat *params) argument
1753 _mesa_GetTextureLevelParameteriv(GLuint texture, GLint level, GLenum pname, GLint *params) argument
2336 _mesa_GetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params) argument
2353 _mesa_GetTextureParameteriv(GLuint texture, GLenum pname, GLint *params) argument
2370 _mesa_GetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params) argument
2388 _mesa_GetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params) argument
[all...]
H A Dtextureview.c297 * Initialize new texture's gl_texture_image structures. Will not call driver
316 /* Set up all the texture object's gl_texture_images */
455 * texture state needed by ARB_texture_view.
467 /* When an immutable texture is created via glTexStorage or
471 * If the texture target is TEXTURE_1D_ARRAY then
473 * If the texture target is TEXTURE_2D_ARRAY, TEXTURE_CUBE_MAP_ARRAY,
476 * If the texture target is TEXTURE_CUBE_MAP, then
478 * For any other texture target, TEXTURE_VIEW_NUM_LAYERS becomes 1.
522 _mesa_TextureView(GLuint texture, GLenum target, GLuint origtexture, argument
541 texture, _mesa_enum_to_strin
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_bitmap.c63 * is stored in a texture image. An alpha8 texture format is used.
64 * The fragment shader samples a bit (texel) from the texture, then
98 struct pipe_resource *texture; member in struct:bitmap_cache
103 /** An I8 texture image: */
113 * Copy user-provide bitmap bits into texture buffer, expanding
118 * the texture. We deal with that with texcoords.
135 * Create a texture which represents a bitmap image.
155 * Create texture to hold bitmap pattern.
169 /* Put image into texture transfe
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_triangle.c136 const GLubyte *texture = (const GLubyte *) swImg->ImageSlices[0]; \
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->ImageSlices[0]; \
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/skia/src/effects/
H A DSkMorphologyImageFilter.cpp295 GrTexture& texture = *proxy->priv().peekTexture(); local
300 pixelSize = 1.0f / texture.width();
303 pixelSize = 1.0f / texture.height();
/external/skia/src/image/
H A DSkImage_Gpu.cpp177 GrTexture* texture = fProxy->priv().peekTexture(); local
179 if (texture) {
186 return texture->getTextureHandle();
607 sk_sp<GrTexture> texture = sk_ref_sp(proxy->priv().peekTexture()); local
613 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get());
615 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin(),
659 sk_sp<GrTexture> texture = sk_ref_sp(proxy->priv().peekTexture()); local
665 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get());
667 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin(),
691 // Ensure we have a texture backe
698 GrTexture* texture = image->getTexture(); local
[all...]
/external/skia/tools/gpu/gl/debug/
H A DDebugGLTestContext.cpp57 // unref & delete the texture units first so they don't show up on the leak report
75 GrGLvoid activeTexture(GrGLenum texture) override {
76 // Ganesh offsets the texture unit indices
77 texture -= GR_GL_TEXTURE0;
78 GrAlwaysAssert(texture < kDefaultMaxTextureUnits);
79 fCurrTextureUnit = texture;
99 // a textureID of 0 is acceptable - it binds to the default texture target
100 GrTextureObj *texture = FIND(textureID, GrTextureObj, kTexture_ObjTypes); variable
102 this->setTexture(texture);
106 GrTextureObj *texture variable
468 GrTextureObj *texture = FIND(textureID, GrTextureObj, kTexture_ObjTypes); variable
1099 setTexture(GrTextureObj *texture) argument
[all...]
/external/skqp/src/effects/
H A DSkMorphologyImageFilter.cpp295 GrTexture& texture = *proxy->priv().peekTexture(); local
300 pixelSize = 1.0f / texture.width();
303 pixelSize = 1.0f / texture.height();
/external/skqp/src/gpu/
H A DGrGpu.cpp76 * Prior to creating a texture, make sure the type of texture being created is
80 * @param desc The descriptor of the texture to create.
81 * @param isRT Indicates if the texture can be a render target.
390 bool GrGpu::transferPixels(GrTexture* texture, argument
397 if (GrPixelConfigIsSint(texture->config()) != GrPixelConfigIsSint(config)) {
401 // We require that the write region is contained in the texture
403 SkIRect bounds = SkIRect::MakeWH(texture->width(), texture->height());
409 if (this->onTransferPixels(texture, lef
433 GrTexture* texture = surface->asTexture(); local
[all...]

Completed in 561 milliseconds

1234567891011>>