HomeSort by relevance Sort by last modified time
    Searched refs:texture (Results 251 - 275 of 836) sorted by null

<<11121314151617181920>>

  /external/skqp/src/gpu/vk/
GrVkUniformHandler.cpp 262 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler(const GrTexture* texture,
271 GrSLPrecision precision = GrSLSamplerPrecision(texture->config());
272 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config());
273 GrTextureType type = texture->texturePriv().textureType();
286 // Check if we are dealing with an external texture and store the needed information if so
287 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture);
  /external/mesa3d/src/gallium/drivers/r300/
r300_texture.c 154 /* Translate a pipe_format into a useful texture format for sampling.
160 * R300_EASY_TX_FORMAT swizzles the texture.
164 * The FORMAT specifies how the texture sampler will treat the texture, and
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_surface.c 122 * from the depth of the texture at the particular mipmap level.
210 SVGA_DBG(DEBUG_DMA, "surface_create for texture view\n");
226 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture view)\n", handle);
290 pipe_resource_reference(&s->base.texture, pt);
433 struct svga_texture *tex = svga_texture(s->base.texture);
530 struct svga_texture *stex = svga_texture(s->base.texture);
555 resType = svga_resource_type(s->base.texture->target);
567 const struct svga_texture *stex = svga_texture(s->base.texture);
570 * the view format. We do something similar for texture samplers in
607 struct svga_texture *t = svga_texture(surf->texture);
    [all...]
  /external/mesa3d/src/mesa/main/
texturebindless.c 70 * Delete a texture handle in the shared state.
96 * Return TRUE if the texture handle is resident in the current context.
116 * Make a texture handle resident/non-resident in the current context.
135 /* Reference the texture object (and the separate sampler if needed) to
149 /* Unreference the texture object but keep the pointer intact, if
150 * refcount hits zero, the texture and all handles will be deleted.
184 /* Reference the texture object to be sure it won't be deleted until it
196 /* Unreference the texture object but keep the pointer intact, if
197 * refcount hits zero, the texture and all handles will be deleted.
226 * "The handle for each texture or texture/sampler pair is unique; the sam
    [all...]
texparam.c 51 * Check if a coordinate wrap mode is supported for the texture target.
118 * Get current texture object for given target.
130 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) {
150 * Get current texture object for given name.
156 get_texobj_by_name(struct gl_context *ctx, GLuint texture, const char *name)
160 texObj = _mesa_lookup_texture_err(ctx, texture, name);
224 * This is called just prior to changing any texture object state which
225 * will not affect texture completeness.
235 * This is called just prior to changing any texture object state which
236 * could affect texture completeness (texture base level, max level)
    [all...]
  /external/deqp/framework/opengl/
gluCallLogWrapper.inl 14 void CallLogWrapper::glActiveTexture (glw::GLenum texture)
17 m_log << TestLog::Message << "glActiveTexture(" << getTextureUnitStr(texture) << ");" << TestLog::EndMessage;
18 m_gl.activeTexture(texture);
119 void CallLogWrapper::glBindImageTexture (glw::GLuint unit, glw::GLuint texture, glw::GLint level, glw::GLboolean layered, glw::GLint layer, glw::GLenum access, glw::GLenum format)
122 m_log << TestLog::Message << "glBindImageTexture(" << unit << ", " << texture << ", " << level << ", " << getBooleanStr(layered) << ", " << layer << ", " << getImageAccessStr(access) << ", " << getUncompressedTextureFormatStr(format) << ");" << TestLog::EndMessage;
123 m_gl.bindImageTexture(unit, texture, level, layered, layer, access, format);
133 void CallLogWrapper::glBindMultiTextureEXT (glw::GLenum texunit, glw::GLenum target, glw::GLuint texture)
136 m_log << TestLog::Message << "glBindMultiTextureEXT(" << toHex(texunit) << ", " << toHex(target) << ", " << texture << ");" << TestLog::EndMessage;
137 m_gl.bindMultiTextureEXT(texunit, target, texture);
168 void CallLogWrapper::glBindTexture (glw::GLenum target, glw::GLuint texture)
    [all...]
  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 283 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture);
495 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
496 assert texture != null;
497 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
500 Surface previewSurface = new Surface(texture);
619 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
620 assert texture != null;
621 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
626 Surface previewSurface = new Surface(texture);
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 283 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture);
495 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
496 assert texture != null;
497 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
500 Surface previewSurface = new Surface(texture);
619 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
620 assert texture != null;
621 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
626 Surface previewSurface = new Surface(texture);
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
Camera2VideoFragment.java 284 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture);
492 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
493 assert texture != null;
494 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
497 Surface previewSurface = new Surface(texture);
614 SurfaceTexture texture = mTextureView.getSurfaceTexture(); local
615 assert texture != null;
616 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight());
621 Surface previewSurface = new Surface(texture);
  /external/mesa3d/src/gallium/auxiliary/rbug/
rbug_texture.c 76 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 */
    [all...]
  /external/mesa3d/src/gallium/drivers/vc5/
vc5_rcl.c 41 struct vc5_resource *rsc = vc5_resource(psurf->texture);
95 struct vc5_resource *rsc = vc5_resource(psurf->texture);
208 psurf->texture->nr_samples <= 1)) {
221 (job->zsbuf && job->zsbuf->texture->nr_samples > 1))) {
294 (V3D_VERSION < 40 && psurf->texture->nr_samples <= 1)) {
306 !(V3D_VERSION < 40 && job->zsbuf->texture->nr_samples <= 1)) {
309 struct vc5_resource *rsc = vc5_resource(job->zsbuf->texture);
493 struct vc5_resource *rsc = vc5_resource(psurf->texture);
585 struct vc5_resource *rsc = vc5_resource(psurf->texture);
  /external/mesa3d/src/gallium/state_trackers/va/
image.c 219 if (!surfaces || !surfaces[0]->texture)
280 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture);
406 for (j = 0; j < views[i]->texture->array_size; ++j) {
410 map = drv->pipe->transfer_map(drv->pipe, views[i]->texture, 0,
419 transfer->stride, views[i]->texture->array_size,
423 views[i]->texture->format,
424 pitches[i] * views[i]->texture->array_size, 0, 0,
533 tex = views[i]->texture;
564 pitches[i] * views[i]->texture->array_size, 0);
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
CameraConnectionFragment.java 94 final SurfaceTexture texture, final int width, final int height) {
100 final SurfaceTexture texture, final int width, final int height) {
105 public boolean onSurfaceTextureDestroyed(final SurfaceTexture texture) {
110 public void onSurfaceTextureUpdated(final SurfaceTexture texture) {}
325 textureView = (AutoFitTextureView) view.findViewById(R.id.texture);
498 final SurfaceTexture texture = textureView.getSurfaceTexture(); local
499 assert texture != null;
502 texture.setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight());
505 final Surface surface = new Surface(texture);
  /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
CameraConnectionFragment.java 94 final SurfaceTexture texture, final int width, final int height) {
100 final SurfaceTexture texture, final int width, final int height) {
105 public boolean onSurfaceTextureDestroyed(final SurfaceTexture texture) {
110 public void onSurfaceTextureUpdated(final SurfaceTexture texture) {}
325 textureView = (AutoFitTextureView) view.findViewById(R.id.texture);
492 final SurfaceTexture texture = textureView.getSurfaceTexture(); local
493 assert texture != null;
496 texture.setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight());
499 final Surface surface = new Surface(texture);
  /external/mesa3d/src/gallium/auxiliary/util/
u_surface.c 52 const struct pipe_resource *texture)
56 surf->format = texture->format;
417 struct pipe_resource *texture,
428 texture,
466 assert(dst->texture);
467 if (!dst->texture)
470 if (dst->texture->target == PIPE_BUFFER) {
480 dst->texture,
493 util_clear_color_texture(pipe, dst->texture, dst->format, color,
501 struct pipe_resource *texture,
    [all...]
  /external/swiftshader/include/GL/
glcorearb.h 408 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
411 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
423 GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
426 GLAPI GLboolean APIENTRY glIsTexture (GLuint texture);
541 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
551 GLAPI void APIENTRY glActiveTexture (GLenum texture);
    [all...]
  /external/ImageMagick/PerlMagick/demo/
compose-specials.pl 44 my $texture=Image::Magick->new();
45 $texture->Read('pattern:checkerboard');
238 image=>$texture,
  /external/mesa3d/docs/specs/
MESA_ycbcr_texture.spec 34 This extension supports texture images stored in the YCbCr format.
36 during pixel transfer. The texture's YCbCr colors are converted to
37 RGB during texture sampling, after-which, all the usual per-fragment
38 operations take place. Only 2D texture images are supported (not
115 In section 3.8.1, Texture Image Specification, on page 125, add
126 All pixel transfer operations are bypassed. The texture is stored as
127 YCbCr, not RGB. Queries of the texture's red, green and blue component
129 texture sampling using an implementation dependent conversion.
132 In section 3.8.1, Texture Image Specification, on page 126, add
139 In section 3.8.2, Alternate Texture Image Specification Commands, o
    [all...]
  /external/mesa3d/include/GL/
glcorearb.h 408 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
411 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
423 GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
426 GLAPI GLboolean APIENTRY glIsTexture (GLuint texture);
541 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
551 GLAPI void APIENTRY glActiveTexture (GLenum 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
201 /* we'll use sampler/texture[pstip->sampler_unit] for the stipple */
205 /* plug in our sampler, texture */
238 /* restore original frag shader, texture, sampler state */
273 pipe_resource_reference(&pstip->texture, NULL);
435 util_pstipple_update_stipple_texture(pstip->pipe, pstip->texture,
471 /* create special texture, sampler state */
472 pstip->texture = util_pstipple_create_stipple_texture(pipe, NULL)
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_batch_cache.c 82 struct pipe_resource *texture; member in struct:key::__anon33339
217 struct fd_resource *rsc = fd_resource(key->surf[idx].texture);
357 key->surf[idx].texture, util_format_name(key->surf[idx].format),
373 struct fd_resource *rsc = fd_resource(key->surf[idx].texture);
385 key->surf[idx].texture = psurf->texture;
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_tracker.c 440 struct pipe_resource *texture; local
487 texture = xa->screen->resource_create(xa->screen, template);
488 if (!texture) {
500 pipe->resource_copy_region(pipe, texture,
505 pipe_resource_reference(&srf->tex, texture);
506 pipe_resource_reference(&texture, NULL);
  /external/skia/src/gpu/glsl/
GrGLSLProgramBuilder.cpp 108 const GrTexture* texture = primProcProxies[i]->peekTexture(); local
109 SkASSERT(sampler.textureType() == texture->texturePriv().textureType());
110 SkASSERT(sampler.config() == texture->config());
111 texSamplers[i] = this->emitSampler(texture,
285 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(const GrTexture* texture,
289 return this->uniformHandler()->addSampler(texture, state, name, this->shaderCaps());
  /external/skia/tests/
GpuLayerCacheTest.cpp 74 REPORTER_ASSERT(reporter, !layer->texture());
100 REPORTER_ASSERT(reporter, layer->texture());
197 REPORTER_ASSERT(reporter, layer->texture());
202 REPORTER_ASSERT(reporter, !layer->texture());
209 // Let go of the backing texture
220 // re-attach to the backing texture
256 REPORTER_ASSERT(reporter, layer->texture());
263 REPORTER_ASSERT(reporter, !layer->texture());
275 // atlas' texture but will eliminate all the layers.
315 // and try to re-attach to the backing texture. This should fai
    [all...]
  /external/skqp/src/gpu/glsl/
GrGLSLProgramBuilder.cpp 109 const GrTexture* texture = primProcProxies[i]->peekTexture(); local
110 SkASSERT(sampler.textureType() == texture->texturePriv().textureType());
111 SkASSERT(sampler.config() == texture->config());
112 texSamplers[i] = this->emitSampler(texture,
275 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(const GrTexture* texture,
279 return this->uniformHandler()->addSampler(texture, state, name, this->shaderCaps());

Completed in 1991 milliseconds

<<11121314151617181920>>