HomeSort by relevance Sort by last modified time
    Searched defs:texObj (Results 1 - 25 of 33) sorted by null

1 2

  /external/mesa3d/src/mesa/drivers/dri/i965/
gen7_sampler_state.c 42 struct gl_texture_object *texObj = texUnit->_Current;
47 if (texObj->Target == GL_TEXTURE_BUFFER)
114 if (texObj->Target == GL_TEXTURE_CUBE_MAP) {
126 } else if (texObj->Target == GL_TEXTURE_1D) {
167 if (texObj->Target == GL_TEXTURE_RECTANGLE) {
brw_wm_sampler_state.c 88 struct gl_texture_object *texObj = texUnit->_Current;
89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel];
167 struct gl_texture_object *texObj = texUnit->_Current;
172 if (texObj->Target == GL_TEXTURE_BUFFER)
244 if (texObj->Target == GL_TEXTURE_CUBE_MAP) {
256 } else if (texObj->Target == GL_TEXTURE_1D) {
300 if (intel->gen >= 6 && texObj->Target == GL_TEXTURE_RECTANGLE) {
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_span.c 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
160 intel_tex_unmap_images(intel, intel_texture_object(texObj));
190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
192 intel_tex_map_images(intel, intel_texture_object(texObj),
210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
212 intel_tex_unmap_images(intel, intel_texture_object(texObj));
intel_tex_image.c 14 #include "main/texobj.h"
245 struct gl_texture_object *texobj = image->TexObject; local
246 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
277 struct gl_texture_object *texObj;
282 texObj = _mesa_get_current_tex_object(ctx, target);
283 intelObj = intel_texture_object(texObj);
313 _mesa_lock_texture(&intel->ctx, texObj);
314 texImage = _mesa_get_tex_image(ctx, texObj, target, level);
317 _mesa_unlock_texture(&intel->ctx, texObj);
332 struct gl_texture_object *texObj,
    [all...]
intel_fbo.c 835 const struct gl_texture_object *texObj = drawAtt->Texture;
837 const GLenum target = texObj->Target;
840 _mesa_select_tex_image(ctx, texObj, target, dstLevel);
  /external/mesa3d/src/mesa/main/
texstorage.c 39 #include "texobj.h"
126 struct gl_texture_object *texObj,
131 const GLenum target = texObj->Target;
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
152 _mesa_get_tex_image(ctx, texObj, faceTarget, level);
171 if (!_mesa_is_proxy_texture(texObj->Target)) {
173 if (!ctx->Driver.AllocTextureStorage(ctx, texObj, levels,
182 struct gl_texture_image *texImage = texObj->Image[face][level];
197 texObj->Immutable = GL_TRUE;
208 struct gl_texture_object *texObj)
    [all...]
shared.c 125 /* Mutex and timestamp for texobj state validation */
158 struct gl_texture_object *texObj = (struct gl_texture_object *) data;
160 ctx->Driver.DeleteTexture(ctx, texObj);
texstate.c 39 #include "texobj.h"
406 const struct gl_texture_object *texObj = texUnit->_Current;
407 GLenum format = texObj->Image[0][texObj->BaseLevel]->_BaseFormat;
410 format = texObj->DepthMode;
575 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex];
577 texUnit->Sampler : &texObj->Sampler;
579 if (!_mesa_is_texture_complete(texObj, sampler)) {
580 _mesa_test_texobj_completeness(ctx, texObj);
582 if (_mesa_is_texture_complete(texObj, sampler))
    [all...]
debug.c 37 #include "texobj.h"
276 write_texture_image(struct gl_texture_object *texObj,
279 struct gl_texture_image *img = texObj->Image[face][level];
295 _mesa_snprintf(s, sizeof(s), "/tmp/tex%u.l%u.f%u.ppm", texObj->Name, level, face);
363 dump_texture(struct gl_texture_object *texObj, GLuint writeImages)
365 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1;
369 printf("Texture %u\n", texObj->Name);
370 printf(" Target %s\n", tex_target_name(texObj->Target));
373 struct gl_texture_image *texImg = texObj->Image[j][i];
381 write_texture_image(texObj, j, i)
    [all...]
texgetimage.c 701 struct gl_texture_object *texObj;
724 texObj = _mesa_get_current_tex_object(ctx, target);
726 if (!texObj) {
731 texImage = _mesa_select_tex_image(ctx, texObj, target, level);
811 struct gl_texture_object *texObj;
826 texObj = _mesa_get_current_tex_object(ctx, target);
827 texImage = _mesa_select_tex_image(ctx, texObj, target, level);
835 texObj->Name,
841 _mesa_lock_texture(ctx, texObj);
845 _mesa_unlock_texture(ctx, texObj);
    [all...]
texparam.c 44 #include "main/texobj.h"
241 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj)
244 _mesa_dirty_texobj(ctx, texObj, GL_TRUE);
254 struct gl_texture_object *texObj,
259 if (texObj->Sampler.MinFilter == params[0])
265 texObj->Sampler.MinFilter = params[0];
271 if (texObj->Target != GL_TEXTURE_RECTANGLE_NV &&
272 texObj->Target != GL_TEXTURE_EXTERNAL_OES) {
274 texObj->Sampler.MinFilter = params[0];
284 if (texObj->Sampler.MagFilter == params[0]
    [all...]
bufferobj.c 44 #include "texobj.h"
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
84 if (texObj) {
94 swizzle_texel(rgba, color, texObj->_Swizzle);
116 const struct gl_texture_object *texObj = texUnit->_Current;
118 if (texObj) {
120 texObj->Image[0][texObj->BaseLevel];
143 swizzle_texel(rgba, color, texObj->_Swizzle);
s_texfetch.c 1170 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
1175 if (!texObj)
1180 dims = _mesa_get_texture_dimensions(texObj->Target);
1184 if (texObj->Image[face][i]) {
1186 swrast_texture_image(texObj->Image[face][i]),
s_renderbuffer.c 561 struct gl_texture_object *texObj = fb->Attachment[buffer].Texture;
565 if (texObj) {
570 struct gl_texture_image *texImage = texObj->Image[face][level];
595 struct gl_texture_object *texObj = fb->Attachment[buffer].Texture;
599 if (texObj) {
604 struct gl_texture_image *texImage = texObj->Image[face][level];
s_texture.c 32 #include "main/texobj.h"
248 _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
250 const GLuint faces = _mesa_num_tex_faces(texObj->Target);
254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) {
255 struct gl_texture_image *texImage = texObj->Image[face][level];
269 _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
271 const GLuint faces = _mesa_num_tex_faces(texObj->Target);
275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) {
276 struct gl_texture_image *texImage = texObj->Image[face][level];
300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
texture.hpp 105 cudaTextureObject_t texObj;
114 return tex2D<T>(texObj, x, y);
155 CV_CUDEV_SAFE_CALL( cudaCreateTextureObject(&this->texObj, &texRes, &texDescr, 0) );
169 cudaDestroyTextureObject(this->texObj);
190 cudaTextureObject_t texObj;
196 return tex2D<T>(texObj, x, y);
238 CV_CUDEV_SAFE_CALL( cudaCreateTextureObject(&this->texObj, &texRes, &texDescr, 0) );
244 cudaDestroyTextureObject(this->texObj);
  /external/mesa3d/src/mesa/program/
prog_statevars.c 439 const struct gl_texture_object *texObj
441 if (texObj) {
442 struct gl_texture_image *texImage = texObj->Image[0][0];
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_texture.c 38 #include "main/texobj.h"
195 struct gl_texture_object *texObj;
202 texObj = ctx->Texture.Unit[texUnit]._Current;
204 if (!texObj) {
205 texObj = _mesa_get_fallback_texture(ctx, TEXTURE_2D_INDEX);
206 samp = &texObj->Sampler;
208 stObj = st_texture_object(texObj);
210 retval = st_finalize_texture(ctx, st->pipe, texObj);
402 struct gl_texture_object *texObj
405 if (texObj) {
    [all...]
st_manager.c 32 #include "main/texobj.h"
478 struct gl_texture_object *texObj;
503 texObj = _mesa_select_tex_object(ctx, texUnit, target);
504 _mesa_lock_texture(ctx, texObj);
506 stObj = st_texture_object(texObj);
509 _mesa_clear_texture_object(ctx, texObj);
513 texImage = _mesa_get_tex_image(ctx, texObj, target, level);
568 _mesa_dirty_texobj(ctx, texObj, GL_TRUE);
569 _mesa_unlock_texture(ctx, texObj);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_mipmap_tree.c 36 #include "main/texobj.h"
321 static GLboolean radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj)
327 if (texObj->BaseLevel < mt->baseLevel)
330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel];
331 firstImage = texObj->Image[0][texObj->BaseLevel];
332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels);
335 fprintf(stderr, "Checking if miptree %p matches texObj %p\n", mt, texObj);
    [all...]
radeon_texstate.c 43 #include "main/texobj.h"
609 struct gl_texture_object *texObj;
623 texObj = _mesa_select_tex_object(radeon->glCtx, texUnit, target);
624 texImage = _mesa_get_tex_image(radeon->glCtx, texObj, target, 0);
627 t = radeon_tex_obj(texObj);
639 _mesa_lock_texture(radeon->glCtx, texObj);
709 _mesa_unlock_texture(radeon->glCtx, texObj);
783 radeonTexObjPtr texobj )
792 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK;
794 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK
    [all...]
  /external/opencv3/modules/highgui/src/
window.cpp 260 cv::ogl::Texture2D* texObj = static_cast<cv::ogl::Texture2D*>(userdata);
262 cv::ogl::render(*texObj);
  /external/deqp/framework/opengl/simplereference/
sglrReferenceContext.cpp 623 Texture* texObj = m_textures.find(texture);
625 if (texObj)
640 RC_IF_ERROR(texObj->getType() != expectedType, GL_INVALID_OPERATION, RC_RET_VOID);
647 case GL_TEXTURE_1D: texObj = new Texture1D (texture); break;
648 case GL_TEXTURE_2D: texObj = new Texture2D (texture); break;
649 case GL_TEXTURE_CUBE_MAP: texObj = new TextureCube (texture); break;
650 case GL_TEXTURE_2D_ARRAY: texObj = new Texture2DArray (texture); break;
651 case GL_TEXTURE_3D: texObj = new Texture3D (texture); break;
652 case GL_TEXTURE_CUBE_MAP_ARRAY: texObj = new TextureCubeArray (texture); break;
657 m_textures.insert(texObj);
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/swrast/
swrast.c 70 struct gl_texture_object *texObj;
81 texObj = _mesa_select_tex_object(&dri_ctx->Base, texUnit, target);
82 texImage = _mesa_get_tex_image(&dri_ctx->Base, texObj, target, 0);
85 _mesa_lock_texture(&dri_ctx->Base, texObj);
100 _mesa_unlock_texture(&dri_ctx->Base, texObj);

Completed in 819 milliseconds

1 2