Searched refs:texobj (Results 1 - 25 of 42) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_sampler.c40 #include "main/texobj.h"
61 const struct gl_texture_object *texobj,
71 if (texobj->_IsIntegerFormat && st->ctx->Const.ForceIntegerTexNearest) {
76 if (texobj->Target != GL_TEXTURE_RECTANGLE_ARB)
97 const GLboolean is_integer = texobj->_IsIntegerFormat;
98 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat;
100 if (texobj->StencilSampling)
104 const struct st_texture_object *stobj = st_texture_object_const(texobj);
136 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat;
139 (texBaseFormat == GL_DEPTH_STENCIL && !texobj
60 st_convert_sampler(const struct st_context * st,const struct gl_texture_object * texobj,const struct gl_sampler_object * msamp,float tex_unit_lod_bias,struct pipe_sampler_state * sampler,bool seamless_cube_map) argument
152 const struct gl_texture_object *texobj; local in function:st_convert_sampler_from_unit
[all...]
H A Dst_atom_shader.c42 #include "main/texobj.h"
97 const struct gl_texture_object *texobj; local in function:update_gl_clamp
101 texobj = ctx->Texture.Unit[tex_unit]._Current;
102 assert(texobj);
H A Dst_texture.h367 const struct gl_texture_object *texobj,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_sampler.c40 #include "main/texobj.h"
107 const struct gl_texture_object *texobj,
121 if (texobj->Target != GL_TEXTURE_RECTANGLE_ARB)
163 const GLboolean is_integer = texobj->_IsIntegerFormat;
164 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat;
166 if (texobj->StencilSampling)
170 const struct st_texture_object *stobj = st_texture_object_const(texobj);
207 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat;
210 (texBaseFormat == GL_DEPTH_STENCIL && !texobj->StencilSampling)) {
231 const struct gl_texture_object *texobj; local in function:st_convert_sampler_from_unit
106 st_convert_sampler(const struct st_context * st,const struct gl_texture_object * texobj,const struct gl_sampler_object * msamp,float tex_unit_lod_bias,struct pipe_sampler_state * sampler) argument
[all...]
H A Dst_texture.h340 const struct gl_texture_object *texobj,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_tex.c3 #include "main/texobj.h"
67 struct gl_texture_object *texobj = image->TexObject; local in function:intel_alloc_texture_image_buffer
68 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
92 __func__, texobj, image->Level,
109 __func__, texobj, image->Level,
126 struct gl_texture_object *texobj,
131 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
132 struct gl_texture_image *first_image = texobj->Image[0][0];
135 const int numFaces = _mesa_num_tex_faces(texobj->Target);
148 intel_texobj->mt = intel_miptree_create(brw, texobj
125 intel_alloc_texture_storage(struct gl_context * ctx,struct gl_texture_object * texobj,GLsizei levels,GLsizei width,GLsizei height,GLsizei depth) argument
[all...]
H A Dintel_tex_image.c14 #include "main/texobj.h"
410 struct gl_texture_object *texobj = image->TexObject; local in function:intel_set_texture_image_mt
411 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
567 struct gl_texture_object *texobj = image->TexObject; local in function:intel_bind_renderbuffer_tex_image
568 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
578 _mesa_lock_texture(ctx, texobj);
590 _mesa_unlock_texture(ctx, texobj);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex.c3 #include "main/texobj.h"
65 struct gl_texture_object *texobj = image->TexObject; local in function:intel_alloc_texture_image_buffer
66 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
83 __func__, texobj, image->Level,
98 __func__, texobj, image->Level,
H A Dintel_tex_image.c14 #include "main/texobj.h"
225 struct gl_texture_object *texobj = image->TexObject; local in function:intel_set_texture_image_region
226 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex.c3 #include "main/texobj.h"
66 struct gl_texture_object *texobj = image->TexObject; local in function:intel_alloc_texture_image_buffer
67 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
84 __func__, texobj, image->Level,
99 __func__, texobj, image->Level,
H A Dintel_tex_image.c14 #include "main/texobj.h"
225 struct gl_texture_object *texobj = image->TexObject; local in function:intel_set_texture_image_region
226 struct intel_texture_object *intel_texobj = intel_texture_object(texobj);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_tex.c3 #include "main/texobj.h"
69 struct gl_texture_object *texobj = image->TexObject; local in function:brw_alloc_texture_image_buffer
70 struct brw_texture_object *intel_texobj = brw_texture_object(texobj);
94 __func__, texobj, image->Level,
111 __func__, texobj, image->Level,
128 struct gl_texture_object *texobj,
133 struct brw_texture_object *intel_texobj = brw_texture_object(texobj);
134 struct gl_texture_image *first_image = texobj->Image[0][0];
137 const int numFaces = _mesa_num_tex_faces(texobj->Target);
150 intel_texobj->mt = brw_miptree_create(brw, texobj
127 brw_alloc_texture_storage(struct gl_context * ctx,struct gl_texture_object * texobj,GLsizei levels,GLsizei width,GLsizei height,GLsizei depth) argument
[all...]
H A Dbrw_tex_image.c14 #include "main/texobj.h"
411 struct gl_texture_object *texobj = image->TexObject; local in function:brw_set_texture_image_mt
412 struct brw_texture_object *intel_texobj = brw_texture_object(texobj);
568 struct gl_texture_object *texobj = image->TexObject; local in function:brw_bind_renderbuffer_tex_image
569 struct brw_texture_object *intel_texobj = brw_texture_object(texobj);
579 _mesa_lock_texture(ctx, texobj);
590 _mesa_unlock_texture(ctx, texobj);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c42 #include "main/texobj.h"
722 radeonTexObjPtr texobj )
731 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK;
733 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK;
734 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color;
736 if (texobj->pp_txformat & RADEON_TXFORMAT_NON_POWER2) {
738 txr_cmd[TXR_PP_TEX_SIZE] = texobj->pp_txsize; /* NPOT only! */
739 txr_cmd[TXR_PP_TEX_PITCH] = texobj->pp_txpitch; /* NPOT only! */
743 if (texobj->base.Target == GL_TEXTURE_RECTANGLE_NV) {
749 if (texobj
720 import_tex_obj_state(r100ContextPtr rmesa,int unit,radeonTexObjPtr texobj) argument
[all...]
H A Dradeon_tex.c40 #include "main/texobj.h"
366 if ( t == rmesa->state.texture.unit[i].texobj ) {
367 rmesa->state.texture.unit[i].texobj = NULL;
H A Dradeon_context.h73 radeonTexObjPtr texobj; member in struct:radeon_texture_env_state
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c41 #include "main/texobj.h"
715 radeonTexObjPtr texobj )
724 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK;
726 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK;
727 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color;
729 if (texobj->pp_txformat & RADEON_TXFORMAT_NON_POWER2) {
731 txr_cmd[TXR_PP_TEX_SIZE] = texobj->pp_txsize; /* NPOT only! */
732 txr_cmd[TXR_PP_TEX_PITCH] = texobj->pp_txpitch; /* NPOT only! */
736 if (texobj->base.Target == GL_TEXTURE_RECTANGLE_NV) {
742 if (texobj
713 import_tex_obj_state(r100ContextPtr rmesa,int unit,radeonTexObjPtr texobj) argument
[all...]
H A Dradeon_tex.c39 #include "main/texobj.h"
367 if ( t == rmesa->state.texture.unit[i].texobj ) {
368 rmesa->state.texture.unit[i].texobj = NULL;
H A Dradeon_context.h73 radeonTexObjPtr texobj; member in struct:radeon_texture_env_state
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dbitmap.c195 MakeTexImage(const char *p, GLuint texobj) argument
212 glBindTexture(GL_TEXTURE_2D, texobj);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c41 #include "main/texobj.h"
982 radeonTexObjPtr texobj )
990 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK;
992 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK;
994 cmd[TEX_PP_TXFORMAT_X] |= texobj->pp_txformat_x & TEXOBJ_TXFORMAT_X_MASK;
995 cmd[TEX_PP_TXSIZE] = texobj->pp_txsize; /* NPOT only! */
996 cmd[TEX_PP_TXPITCH] = texobj->pp_txpitch; /* NPOT only! */
997 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color;
999 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) {
1003 cube_cmd[CUBE_PP_CUBIC_FACES] = texobj
980 import_tex_obj_state(r200ContextPtr rmesa,int unit,radeonTexObjPtr texobj) argument
[all...]
H A Dr200_tex.c40 #include "main/texobj.h"
423 if ( t == rmesa->state.texture.unit[i].texobj ) {
424 rmesa->state.texture.unit[i].texobj = NULL;
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c41 #include "main/texobj.h"
976 radeonTexObjPtr texobj )
984 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK;
986 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK;
988 cmd[TEX_PP_TXFORMAT_X] |= texobj->pp_txformat_x & TEXOBJ_TXFORMAT_X_MASK;
989 cmd[TEX_PP_TXSIZE] = texobj->pp_txsize; /* NPOT only! */
990 cmd[TEX_PP_TXPITCH] = texobj->pp_txpitch; /* NPOT only! */
991 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color;
993 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) {
997 cube_cmd[CUBE_PP_CUBIC_FACES] = texobj
974 import_tex_obj_state(r200ContextPtr rmesa,int unit,radeonTexObjPtr texobj) argument
[all...]
H A Dr200_tex.c40 #include "main/texobj.h"
425 if ( t == rmesa->state.texture.unit[i].texobj ) {
426 rmesa->state.texture.unit[i].texobj = NULL;
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A DMakefile.am152 texobj \

Completed in 23 milliseconds

12