Home
last modified time | relevance | path

Searched refs:Texture (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/external/mesa3d/src/mesa/main/
Dtexstate.c74 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state()
75 dst->Texture._GenFlags = src->Texture._GenFlags; in _mesa_copy_texture_state()
76 dst->Texture._TexGenEnabled = src->Texture._TexGenEnabled; in _mesa_copy_texture_state()
77 dst->Texture._TexMatEnabled = src->Texture._TexMatEnabled; in _mesa_copy_texture_state()
81 dst->Texture.Unit[u].LodBias = src->Texture.Unit[u].LodBias; in _mesa_copy_texture_state()
94 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
95 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
96 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
97 dst->Texture.NumCurrentTexUsed = in _mesa_copy_texture_state()
98 MAX2(dst->Texture.NumCurrentTexUsed, u + 1); in _mesa_copy_texture_state()
[all …]
Dtexstate.h43 assert(unit < ARRAY_SIZE(ctx->Texture.Unit)); in _mesa_get_tex_unit()
44 return &(ctx->Texture.Unit[unit]); in _mesa_get_tex_unit()
54 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit()
66 if (unit >= ARRAY_SIZE(ctx->Texture.FixedFuncUnit)) in _mesa_get_fixedfunc_tex_unit()
69 return &ctx->Texture.FixedFuncUnit[unit]; in _mesa_get_fixedfunc_tex_unit()
/external/angle/src/libANGLE/
DTexture.cpp741 Texture::Texture(rx::GLImplFactory *factory, TextureID id, TextureType type) in Texture() function in gl::Texture
756 void Texture::onDestroy(const Context *context) in onDestroy()
779 Texture::~Texture() in ~Texture()
784 void Texture::setLabel(const Context *context, const std::string &label) in setLabel()
790 const std::string &Texture::getLabel() const in getLabel()
795 void Texture::setSwizzleRed(const Context *context, GLenum swizzleRed) in setSwizzleRed()
801 GLenum Texture::getSwizzleRed() const in getSwizzleRed()
806 void Texture::setSwizzleGreen(const Context *context, GLenum swizzleGreen) in setSwizzleGreen()
812 GLenum Texture::getSwizzleGreen() const in getSwizzleGreen()
817 void Texture::setSwizzleBlue(const Context *context, GLenum swizzleBlue) in setSwizzleBlue()
[all …]
Dqueryutils.h31 class Texture; variable
52 void QueryTexLevelParameterfv(const Texture *texture,
57 void QueryTexLevelParameteriv(const Texture *texture,
63 const Texture *texture,
67 const Texture *texture,
71 const Texture *texture,
75 const Texture *texture,
79 const Texture *texture,
131 void SetTexParameterf(Context *context, Texture *texture, GLenum pname, GLfloat param);
132 void SetTexParameterfv(Context *context, Texture *texture, GLenum pname, const GLfloat *params);
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_resources.mm102 // Texture implemenetation
104 angle::Result Texture::Make2DTexture(ContextMtl *context,
125 angle::Result Texture::MakeMemoryLess2DTexture(ContextMtl *context,
143 angle::Result Texture::MakeCubeTexture(ContextMtl *context,
163 angle::Result Texture::Make2DMSTexture(ContextMtl *context,
187 angle::Result Texture::Make2DArrayTexture(ContextMtl *context,
214 angle::Result Texture::Make3DTexture(ContextMtl *context,
243 angle::Result Texture::MakeIOSurfaceTexture(ContextMtl *context,
262 angle::Result Texture::MakeTexture(ContextMtl *context,
274 angle::Result Texture::MakeTexture(ContextMtl *context,
[all …]
Dmtl_resources.h37 class Texture; variable
41 using TextureRef = std::shared_ptr<Texture>;
42 using TextureWeakRef = std::weak_ptr<Texture>;
98 class Texture final : public Resource,
100 public std::enable_shared_from_this<Texture>
291 Texture(id<MTLTexture> metalTexture);
292 Texture(ContextMtl *context,
297 Texture(ContextMtl *context,
304 Texture(ContextMtl *context,
311 Texture(Texture *original, MTLPixelFormat format);
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DTexture.cpp34 Texture::Texture(GLuint name) : egl::Texture(name) in Texture() function in es1::Texture
50 Texture::~Texture() in ~Texture()
55 sw::Resource *Texture::getResource() const in getResource()
61 bool Texture::setMinFilter(GLenum filter) in setMinFilter()
84 bool Texture::setMagFilter(GLenum filter) in setMagFilter()
98 bool Texture::setWrapS(GLenum wrap) in setWrapS()
118 bool Texture::setWrapT(GLenum wrap) in setWrapT()
138 bool Texture::setMaxAnisotropy(float textureMaxAnisotropy) in setMaxAnisotropy()
155 void Texture::setGenerateMipmap(GLboolean enable) in setGenerateMipmap()
160 void Texture::setCropRect(GLint u, GLint v, GLint w, GLint h) in setCropRect()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTexture.cpp31 void Texture::checkInvariants (void) const in checkInvariants()
84Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, c… in Texture() function in vkt::image::Texture
94 Texture::Texture (const Texture& other, const int samples) in Texture() function in vkt::image::Texture
109 tcu::IVec3 Texture::layerSize (const int mipmapLevel) const in layerSize()
139 tcu::IVec3 Texture::size (const int mipmapLevel) const in size()
166 int Texture::dimension (void) const in dimension()
190 int Texture::layerDimension (void) const in layerDimension()
DvktImageSizeTests.cpp57 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture()
63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
66 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
72 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture()
75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture()
78 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture()
81 return Texture(imageType, size, 1); in getTexture()
85 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture()
89 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format) in makeImageCreateInfo()
[all …]
DvktImageTexture.hpp35 class Texture class
38Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const in…
39 Texture (const Texture& other, const int samples);
62 inline bool isCube (const Texture& texture) in isCube()
DvktImageLoadStoreTests.cpp82 inline VkBufferImageCopy makeBufferImageCopy (const Texture& texture) in makeBufferImageCopy()
87 tcu::ConstPixelBufferAccess getLayerOrSlice (const Texture& texture, const tcu::ConstPixelBufferAcc… in getLayerOrSlice()
114 vk::VkDeviceSize getMipmapLevelImageSizeBytes (const Texture& texture, const vk::VkFormat format, c… in getMipmapLevelImageSizeBytes()
121 vk::VkDeviceSize getMipmapImageTotalSizeBytes (const Texture& texture, const vk::VkFormat format) in getMipmapImageTotalSizeBytes()
136 const Texture& texture, in comparePixelBuffers()
340 …ns (Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const Texture& texture) in commandImageWriteBarrierBetweenShaderInvocations()
370 const Texture& texture) in commandCopyImageToBuffer()
398 const Texture& texture) in commandCopyMipmapImageToBuffer()
447 const Texture& texture,
456 const Texture m_texture;
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DDebugSystem.java27 private Texture mRedBoxTexture;
28 private Texture mBlueBoxTexture;
29 private Texture mOutlineBoxTexture;
30 private Texture mRedCircleTexture;
31 private Texture mBlueCircleTexture;
32 private Texture mOutlineCircleTexture;
70 Texture texture = getTexture(shapeType, colorType); in drawShape()
83 private final Texture getTexture(int shapeType, int colorType) { in getTexture()
84 Texture result = null; in getTexture()
DTextureLibrary.java42 Texture[] mTextureHash;
50 mTextureHash = new Texture[DEFAULT_SIZE]; in TextureLibrary()
52 mTextureHash[x] = new Texture(); in TextureLibrary()
72 public Texture allocateTexture(int resourceID) { in allocateTexture()
73 Texture texture = getTextureByResource(resourceID); in allocateTexture()
82 public Texture loadTexture(Context context, GL10 gl, int resourceID) { in loadTexture()
83 Texture texture = allocateTexture(resourceID); in loadTexture()
127 protected Texture loadBitmap(Context context, GL10 gl, Texture texture) { in loadBitmap()
220 public Texture getTextureByResource(int resourceID) { in getTextureByResource()
223 Texture texture = null; in getTextureByResource()
[all …]
DHudSystem.java48 private Texture mFadeTexture;
174 public void setFadeTexture(Texture texture) { in setFadeTexture()
283 Texture tex = mFuelDrawable.getTexture(); in update()
285 Texture backgroundTex = mFuelBackgroundDrawable.getTexture(); in update()
323 Texture tex = bitmap.getTexture(); in update()
341 Texture tex = bitmap.getTexture(); in update()
355 Texture tex = mMovementSliderBaseDrawable.getTexture(); in update()
361 Texture tex = mMovementSliderButtonDrawable.getTexture(); in update()
367 Texture tex = mMovementSliderButtonDepressedDrawable.getTexture(); in update()
386 Texture tex = mCoinDrawable.getTexture(); in update()
[all …]
DAnimationFrame.java28 public Texture texture;
33 public AnimationFrame(Texture textureObject, float animationHoldTime) { in AnimationFrame()
39 public AnimationFrame(Texture textureObject, float animationHoldTime, in AnimationFrame()
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp588 const GLuint Texture::m_invalid_id = -1;
594 Texture::Texture(const glw::Functions& gl) : m_id(m_invalid_id), m_gl(gl) in Texture() function in glcts::RobustBufferAccessBehavior::Texture
602 Texture::~Texture() in ~Texture()
610 void Texture::Release() in Release()
625 void Texture::Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target) in Bind()
643 void Texture::CompressedImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, in CompressedImage()
690 void Texture::Generate(const glw::Functions& gl, glw::GLuint& out_id) in Generate()
713 void Texture::GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum f… in GetData()
731 void Texture::GetData(const glw::Functions& gl, glw::GLuint id, glw::GLint level, glw::GLuint width… in GetData()
756 void Texture::GetLevelParameter(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw… in GetLevelParameter()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseTextureTests.cpp170 const GLuint Texture::m_invalid_id = -1;
178 void Texture::Bind(const Functions& gl, GLuint id, GLenum target) in Bind()
189 void Texture::Generate(const Functions& gl, GLuint& out_id) in Generate()
209 void Texture::Delete(const Functions& gl, GLuint& id) in Delete()
225 void Texture::Storage(const Functions& gl, GLenum target, GLsizei levels, GLenum internal_format, G… in Storage()
266 void Texture::GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum f… in GetData()
287 void Texture::SubImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLint x… in SubImage()
378 Texture::Generate(gl, texture); in iterate()
379 Texture::Bind(gl, texture, target); in iterate()
384 Texture::Delete(gl, texture); in iterate()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c305 tgsi_util_get_texture_coord_dim(inst->Texture.Texture); in tgsi_util_get_inst_usage_mask()
309 if (tgsi_is_shadow_target(inst->Texture.Texture)) { in tgsi_util_get_inst_usage_mask()
311 if (inst->Texture.Texture == TGSI_TEXTURE_SHADOW1D) in tgsi_util_get_inst_usage_mask()
318 if (tgsi_is_array_sampler(inst->Texture.Texture)) in tgsi_util_get_inst_usage_mask()
332 if (inst->Texture.Texture == TGSI_TEXTURE_SHADOW1D) in tgsi_util_get_inst_usage_mask()
364 unsigned dim = tgsi_util_get_texture_coord_dim(inst->Memory.Texture); in tgsi_util_get_inst_usage_mask()
371 unsigned dim = tgsi_util_get_texture_coord_dim(inst->Memory.Texture); in tgsi_util_get_inst_usage_mask()
392 unsigned dim = tgsi_util_get_texture_coord_dim(inst->Memory.Texture); in tgsi_util_get_inst_usage_mask()
/external/llvm-project/llvm/test/CodeGen/X86/
D2009-01-31-BigShift3.ll10 …ct.PointListStruct*, %struct.Poly3Struct*, %struct.Poly4Struct*, %struct.Texture*, %struct.Materia…
13 …%struct.Poly3Struct = type { [3 x %struct.ObjPoint*], %struct.Material*, %struct.Texture*, %struct…
14 …%struct.Poly4Struct = type { [4 x %struct.ObjPoint*], %struct.Material*, %struct.Texture*, %struct…
15 …%struct.Texture = type { %struct.Point, %struct.BitMapListStruct*, %struct.Point, %struct.Point, %…
/external/llvm/test/CodeGen/X86/
D2009-01-31-BigShift3.ll10 …ct.PointListStruct*, %struct.Poly3Struct*, %struct.Poly4Struct*, %struct.Texture*, %struct.Materia…
13 …%struct.Poly3Struct = type { [3 x %struct.ObjPoint*], %struct.Material*, %struct.Texture*, %struct…
14 …%struct.Poly4Struct = type { [4 x %struct.ObjPoint*], %struct.Material*, %struct.Texture*, %struct…
15 …%struct.Texture = type { %struct.Point, %struct.BitMapListStruct*, %struct.Point, %struct.Point, %…
/external/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp43 Texture::Texture(GLuint name) : egl::Texture(name) in Texture() function in es2::Texture
67 Texture::~Texture() in ~Texture()
72 sw::Resource *Texture::getResource() const in getResource()
78 bool Texture::setMinFilter(GLenum filter) in setMinFilter()
101 bool Texture::setMagFilter(GLenum filter) in setMagFilter()
115 bool Texture::setWrapS(GLenum wrap) in setWrapS()
135 bool Texture::setWrapT(GLenum wrap) in setWrapT()
155 bool Texture::setWrapR(GLenum wrap) in setWrapR()
175 bool Texture::setMaxAnisotropy(float textureMaxAnisotropy) in setMaxAnisotropy()
192 bool Texture::setBaseLevel(GLint baseLevel) in setBaseLevel()
[all …]
/external/angle/src/libANGLE/renderer/
DTextureImpl.cpp27 const gl::Texture *source) in copyTexture()
41 const gl::Texture *source) in copySubTexture()
66 const gl::Texture *srcTexture, in copyTextureSubData()
84 const gl::Texture *source) in copyCompressedTexture()
99 const gl::Texture *source) in copy3DTexture()
114 const gl::Texture *source) in copy3DSubTexture()
/external/deqp/doc/testspecs/GLES2/
Dperformance.texture.format.txt19 Texture format performance tests
25 + Texture lookup performance with all uncompressed texture formats
27 + Texture lookup in vertex and fragment shaders
41 Texture lookups use same coordinates and lookup results are multiplied
45 Texture size is the same as viewport size. Each texture unit uses a unique
46 texture object. Texture objects are however re-used across draw calls.
/external/mesa3d/src/mesa/swrast/
Ds_triangle.c81 assert(ctx->Texture._EnabledCoordUnits == 0);\
107 assert(ctx->Texture._EnabledCoordUnits == 0); \
129 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
187 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
275 const GLuint texEnableSave = ctx->Texture._EnabledCoordUnits; in affine_span()
414 ctx->Texture._EnabledCoordUnits = 0x0; in affine_span()
521 ctx->Texture._EnabledCoordUnits = texEnableSave; in affine_span()
542 struct gl_fixedfunc_texture_unit *unit = ctx->Texture.FixedFuncUnit+0; \
544 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
679 const GLuint texEnableSave = ctx->Texture._EnabledCoordUnits; in fast_persp_span()
[all …]
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DPipeline.cpp136 case Type::Texture: in uses()
176 case Type::Texture: in getStructTypeName()
220 case Type::Texture: in getStructInstanceName()
250 case Type::Texture: in AllowPacking()
274 case Type::Texture: in AllowPadding()
401 case Type::Texture: in externalStructModifyConfig()
425 case Type::Texture: in alwaysRequiresLocalVariableDeclarationInMain()
442 case Type::Texture: in isPipelineOut()
462 case Type::Texture: in externalAddressSpace()

12345678910>>...23