Searched defs:texture (Results 76 - 100 of 241) sorted by relevance

12345678910

/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp138 // Use same viewport size as texture size.
173 fragSrc << "texture(u_sampler" << texNdx << ", v_coords)";
193 glu::Texture2D* texture = new glu::Texture2D(m_renderCtx, m_internalFormat, width, height); local
194 m_textures.push_back(texture);
197 int numLevels = mipmaps ? texture->getRefTexture().getNumLevels() : 1;
201 texture->getRefTexture().allocLevel(levelNdx);
202 tcu::fillWithComponentGradients(texture->getRefTexture().getLevel(levelNdx),
207 texture->upload();
/external/deqp/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp286 de::MovePtr<T> texture; local
291 texture = TextureTraits<T>::createTextureFromInternalFormat(renderCtx, texFormat, size);
292 texture->getRefTexture().allocLevel(0);
297 const tcu::PixelBufferAccess depthAccess = tcu::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_DEPTH);
304 const tcu::PixelBufferAccess stencilAccess = tcu::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_STENCIL);
311 texture->upload();
316 texture = TextureTraits<T>::createTextureFromFormatAndType(renderCtx, texFormat, GL_UNSIGNED_BYTE, size);
318 texture = TextureTraits<T>::createTextureFromInternalFormat(renderCtx, texFormat, size);
321 texture->getRefTexture().allocLevel(0);
325 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texture
[all...]
H A Des31fTextureBufferTests.cpp297 glw::GLuint texture; local
299 gl.glGenTextures(1, &texture);
300 gl.glBindTexture(GL_TEXTURE_BUFFER, texture);
301 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
303 verifyStateInteger(result, gl, GL_TEXTURE_BINDING_BUFFER, texture, m_type);
305 gl.glDeleteTextures(1, &texture);
349 glw::GLuint texture; local
351 gl.glGenTextures(1, &texture);
352 gl.glBindTexture(GL_TEXTURE_2D, texture);
354 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "gen texture");
365 glw::GLuint texture; local
420 glw::GLuint texture; local
436 glw::GLuint texture; local
501 glw::GLuint texture; local
517 glw::GLuint texture; local
[all...]
/external/deqp/modules/glshared/
H A DglsSamplerObjectTest.cpp176 "\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n"
186 "\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n"
196 "\t${FRAG_COLOR} = texture(u_sampler, vec3(cos(3.14 * v_texCoord.y) * sin(3.14 * v_texCoord.x), sin(3.14 * v_texCoord.y), cos(3.14 * v_texCoord.y) * cos(3.14 * v_texCoord.x)));\n"
381 GLuint texture = (GLuint)-1; local
387 gl.genTextures(1, &texture);
388 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)");
390 gl.bindTexture(GL_TEXTURE_2D, texture);
391 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)");
400 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)");
402 return texture;
407 GLuint texture = (GLuint)-1; local
433 GLuint texture = (GLuint)-1; local
490 GLuint texture = createTexture(gl, m_target); local
513 GLuint texture = createTexture(gl, m_target); local
878 GLuint texture = (GLuint)-1; local
917 GLuint texture = (GLuint)-1; local
956 GLuint texture = (GLuint)-1; local
[all...]
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_context.c240 rbug_texture_t texture,
254 LEN(8); /* texture */
270 WRITE(8, rbug_texture_t, texture); /* texture */
626 READ(8, rbug_texture_t, texture); /* texture */
236 rbug_send_context_draw_rule(struct rbug_connection *__con, rbug_context_t context, rbug_shader_t vertex, rbug_shader_t fragment, rbug_texture_t texture, rbug_texture_t surface, rbug_block_t block, uint32_t *__serial) argument
H A Drbug_texture.c76 rbug_texture_t texture,
85 LEN(8); /* texture */
96 WRITE(8, rbug_texture_t, texture); /* texture */
114 rbug_texture_t texture,
133 LEN(8); /* texture */
153 WRITE(8, rbug_texture_t, texture); /* texture */
180 rbug_texture_t texture,
196 LEN(8); /* texture */
75 rbug_send_texture_info(struct rbug_connection *__con, rbug_texture_t texture, uint32_t *__serial) argument
113 rbug_send_texture_write(struct rbug_connection *__con, rbug_texture_t texture, uint32_t face, uint32_t level, uint32_t zslice, uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint8_t *data, uint32_t data_len, uint32_t stride, uint32_t *__serial) argument
179 rbug_send_texture_read(struct rbug_connection *__con, rbug_texture_t texture, uint32_t face, uint32_t level, uint32_t zslice, uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t *__serial) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c52 const struct pipe_resource *texture,
57 surf->format = texture->format;
64 * \param textureOut returns the new texture
99 /* create texture */
116 /* create surface / view into texture */
130 * Release the surface and texture from util_create_rgba_surface().
133 util_destroy_rgba_surface(struct pipe_resource *texture, argument
137 pipe_resource_reference(&texture, NULL);
242 assert(dst->texture);
243 if (!dst->texture)
51 u_surface_default_template(struct pipe_surface *surf, const struct pipe_resource *texture, unsigned bind) argument
[all...]
/external/mesa3d/src/gallium/drivers/noop/
H A Dnoop_state.c91 struct pipe_resource *texture,
99 pipe_resource_reference(&sampler_view->texture, texture);
106 struct pipe_resource *texture,
114 pipe_resource_reference(&surface->texture, texture);
117 surface->width = texture->width0;
118 surface->height = texture->height0;
120 surface->texture = texture;
90 noop_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_sampler_view *state) argument
105 noop_create_surface(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_texture.c39 /* Copy from a full GPU texture to a transfer's staging one. */
43 struct pipe_resource *texture = transfer->resource; local
46 0, 0, 0, 0, texture, transfer->level,
51 /* Copy from a transfer's staging texture to a full GPU one. */
55 struct pipe_resource *texture = transfer->resource; local
63 ctx->resource_copy_region(ctx, texture, transfer->level,
265 struct pipe_resource *texture,
270 struct r600_resource_texture *rtex = (struct r600_resource_texture*)texture;
276 /* We cannot map a tiled texture directly because the data is
290 /* XXX: Use a staging texture fo
264 si_texture_get_transfer(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box) argument
380 struct pipe_resource *texture = transfer->resource; local
550 r600_create_surface(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
627 r600_texture_depth_flush(struct pipe_context *ctx, struct pipe_resource *texture, boolean just_create) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_tile_cache.h84 struct pipe_resource *texture; /**< if caching a texture */ member in struct:softpipe_tex_tile_cache
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c59 struct svga_texture *texture = svga_texture(st->base.resource); local
82 texture->handle,
90 util_format_get_blocksize(texture->b.b.format) * 8 /
91 (util_format_get_blockwidth(texture->b.b.format)*util_format_get_blockheight(texture->b.b.format)));
108 struct svga_texture *texture = svga_texture(st->base.resource); local
109 struct svga_screen *screen = svga_screen(texture->b.b.screen);
177 * Prevent the texture contents to be discarded on the next band
201 struct pipe_resource *texture,
204 struct svga_winsys_screen *sws = svga_winsys_screen(texture
200 svga_texture_get_handle(struct pipe_screen *screen, struct pipe_resource *texture, struct winsys_handle *whandle) argument
240 svga_texture_get_transfer(struct pipe_context *pipe, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.h88 struct pipe_resource *texture; member in struct:drm_framebuffer
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.c269 struct pipe_resource *texture; local
273 texture = create_texture(pipe, format, width, height);
275 if (!texture)
278 u_sampler_view_default_template(&view_templ, texture, texture->format);
279 view = pipe->create_sampler_view(pipe, texture, &view_templ);
280 /* want the texture to go away if the view is freed */
281 pipe_resource_reference(&texture, NULL);
295 old_sampler_view->texture->width0 == width &&
296 old_sampler_view->texture
[all...]
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tracker.c348 struct pipe_resource *texture; local
395 texture = xa->screen->resource_create(xa->screen, template);
396 if (!texture) {
408 pipe->resource_copy_region(pipe, texture,
413 pipe_resource_reference(&srf->tex, texture);
414 pipe_resource_reference(&texture, NULL);
/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h70 /* create color texture */
84 debug_printf("graw: Failed to create color texture\n");
103 /* create Z texture (XXX try other Z/S formats if needed) */
115 debug_printf("graw: Failed to create Z texture\n");
241 debug_printf("graw: failed to create texture\n");
312 struct pipe_resource *texture)
318 sv_temp.format = texture->format;
319 sv_temp.texture = texture;
325 sv = info->ctx->create_sampler_view(info->ctx, texture,
311 graw_util_create_simple_sampler_view(const struct graw_info *info, struct pipe_resource *texture) argument
[all...]
/external/mesa3d/src/mapi/glapi/tests/
H A Dcheck_table.cpp1543 glIsTextureEXT(GLuint texture) argument
1545 (void) texture;
/external/mesa3d/src/mesa/main/
H A Dtexstate.c47 * Default texture combine environment state. This is used to initialize
48 * a context's texture units and as the basis for converting "classic"
49 * texture environmnets to ARB_texture_env_combine style values.
64 * Used by glXCopyContext to copy texture state from one context to another.
99 * XXX strictly speaking, we should compare texture names/ids and
105 /* copy texture object bindings, not contents of texture objects */
153 * Convert "classic" texture environment to ARB_texture_env_combine style
157 * \param mode Classic texture environment mode (i.e., \c GL_REPLACE,
159 * \param texBaseFormat Base format of the texture associate
289 _mesa_ActiveTextureARB(GLenum texture) argument
328 _mesa_ClientActiveTextureARB(GLenum texture) argument
[all...]
/external/opencv3/modules/python/test/
H A Dcamera_calibration.py139 def texture(xy): function
201 l = numpy.where(pred, texture(p.localxy(r.project(h))), 0.0)
/external/opencv3/modules/viz/src/
H A Dclouds.cpp431 if (!mesh.texture.empty())
434 image_source->SetImage(mesh.texture);
436 vtkSmartPointer<vtkTexture> texture = vtkSmartPointer<vtkTexture>::New(); local
437 texture->SetInputConnection(image_source->GetOutputPort());
438 actor->SetTexture(texture);
/external/replicaisland/src/com/replica/replicaisland/
H A DDrawableBitmap.java35 DrawableBitmap(Texture texture, int width, int height) { argument
37 mTexture = texture;
102 final Texture texture = mTexture;
104 if (gl != null && texture != null) {
105 assert texture.loaded;
123 || !texture.loaded) {
128 OpenGLSystem.bindTexture(GL10.GL_TEXTURE_2D, texture.name);
130 // This is necessary because we could be drawing the same texture with different
184 * Changes the crop parameters of this bitmap. Note that the underlying OpenGL texture's
206 public void setTexture(Texture texture) { argument
[all...]
/external/skia/include/gpu/
H A DGrXferProcessor.h30 kTexture_GrXferBarrierType, //<! Required when a shader reads and renders to the same texture.
42 * Dst read: When allowed by the backend API, or when supplied a texture of the destination, the
55 * A texture that contains the dst pixel values and an integer coord offset from device space
56 * to the space of the texture. Depending on GPU capabilities a DstTexture may be used by a
67 DstTexture(GrTexture* texture, const SkIPoint& offset) argument
68 : fTexture(SkSafeRef(texture))
83 GrTexture* texture() const { return fTexture.get(); } function in class:GrXferProcessor::DstTexture
85 GrTexture* setTexture(GrTexture* texture) { argument
86 fTexture.reset(SkSafeRef(texture));
87 return texture;
[all...]
/external/skia/src/core/
H A DSkSpecialImage.cpp139 GrTexture* texture = fImage->getTexture(); variable
140 if (texture) {
144 return SkSpecialSurface::NewRenderTarget(this->proxy(), texture->getContext(), desc);
/external/skia/src/effects/
H A DSkGpuBlurUtils.cpp52 GrTexture* texture,
60 texture, direction, radius, sigma, useBounds, bounds));
71 GrTexture* texture,
89 texture, bounds, size, 1.0, 0.0, kernelOffset,
100 GrTexture* texture,
109 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture,
118 bounds[0] = SkScalarToFloat(srcBounds->left()) / texture->width();
119 bounds[1] = SkScalarToFloat(srcBounds->right()) / texture->width();
130 bounds[0] = SkScalarToFloat(srcBounds->top()) / texture->height();
131 bounds[1] = SkScalarToFloat(srcBounds->bottom()) / texture
48 convolve_gaussian_1d(GrDrawContext* drawContext, const GrClip& clip, const SkRect& dstRect, const SkPoint& srcOffset, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool useBounds, float bounds[2]) argument
67 convolve_gaussian_2d(GrDrawContext* drawContext, const GrClip& clip, const SkRect& dstRect, const SkPoint& srcOffset, GrTexture* texture, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, const SkRect* srcBounds) argument
97 convolve_gaussian(GrDrawContext* drawContext, const GrClip& clip, const SkRect& srcRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, const SkRect* srcBounds, const SkPoint& srcOffset) argument
[all...]
/external/skia/src/gpu/
H A DGrBatchAtlas.cpp83 GrTexture* texture) {
85 SkASSERT(fDirty && fData && texture);
91 uploader->writeTexturePixels(texture,
120 GrPlotUploader(GrBatchAtlas::BatchPlot* plot, GrTexture* texture) argument
123 , fTexture(texture) {
140 GrBatchAtlas::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY) argument
141 : fTexture(texture)
144 int plotWidth = texture->width() / numPlotsX;
145 int plotHeight = texture->height() / numPlotsY;
147 SkASSERT(plotWidth * numPlotsX == texture
82 uploadToTexture(GrBatchUploader::TextureUploader* uploader, GrTexture* texture) argument
[all...]
H A DGrBatchFlushState.h22 * Updates the pixels in a rectangle of a texture.
33 bool writeTexturePixels(GrTexture* texture, argument
37 return fGpu->writePixels(texture, left, top, width, height, config, buffer, rowBytes);

Completed in 739 milliseconds

12345678910