Home
last modified time | relevance | path

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

12345678910>>...12

/external/swiftshader/src/D3D9/
DCapabilities.cpp267 bool Capabilities::Texture::RenderTarget::NULL_ = true;
268 bool Capabilities::Texture::RenderTarget::R8G8B8 = false;
269 bool Capabilities::Texture::RenderTarget::R5G6B5 = true;
270 bool Capabilities::Texture::RenderTarget::X1R5G5B5 = true;
271 bool Capabilities::Texture::RenderTarget::A1R5G5B5 = true;
272 bool Capabilities::Texture::RenderTarget::A4R4G4B4 = true;
273 bool Capabilities::Texture::RenderTarget::R3G3B2 = false;
274 bool Capabilities::Texture::RenderTarget::A8R3G3B2 = false;
275 bool Capabilities::Texture::RenderTarget::X4R4G4B4 = true;
276 bool Capabilities::Texture::RenderTarget::A8R8G8B8 = true;
[all …]
DDirect3D9.cpp117 Capabilities::Texture::DepthStencil::D32 = false; in Direct3D9()
118 Capabilities::Texture::DepthStencil::D24S8 = false; in Direct3D9()
119 Capabilities::Texture::DepthStencil::D24X8 = false; in Direct3D9()
120 Capabilities::Texture::DepthStencil::D16 = false; in Direct3D9()
121 Capabilities::Texture::DepthStencil::D24FS8 = false; in Direct3D9()
122 Capabilities::Texture::DepthStencil::D32F_LOCKABLE = false; in Direct3D9()
124 Capabilities::Texture::D32 = false; in Direct3D9()
125 Capabilities::Texture::D24S8 = false; in Direct3D9()
126 Capabilities::Texture::D24X8 = false; in Direct3D9()
127 Capabilities::Texture::D16 = false; in Direct3D9()
[all …]
/external/swiftshader/src/D3D8/
DCapabilities.cpp189 bool Capabilities::Texture::RenderTarget::R8G8B8 = false;
190 bool Capabilities::Texture::RenderTarget::R5G6B5 = true;
191 bool Capabilities::Texture::RenderTarget::X1R5G5B5 = true;
192 bool Capabilities::Texture::RenderTarget::A1R5G5B5 = true;
193 bool Capabilities::Texture::RenderTarget::A4R4G4B4 = true;
194 bool Capabilities::Texture::RenderTarget::R3G3B2 = false;
195 bool Capabilities::Texture::RenderTarget::A8R3G3B2 = false;
196 bool Capabilities::Texture::RenderTarget::X4R4G4B4 = true;
197 bool Capabilities::Texture::RenderTarget::A8R8G8B8 = true;
198 bool Capabilities::Texture::RenderTarget::X8R8G8B8 = true;
[all …]
DDirect3D8.cpp402 …case D3DFMT_R8G8B8: if(!Capabilities::Texture::RenderTarget::R8G8B8) return NOTAVAILABLE(); els… in CheckDeviceFormat()
403 …case D3DFMT_R5G6B5: if(!Capabilities::Texture::RenderTarget::R5G6B5) return NOTAVAILABLE(); els… in CheckDeviceFormat()
404 …case D3DFMT_X1R5G5B5: if(!Capabilities::Texture::RenderTarget::X1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
405 …case D3DFMT_A1R5G5B5: if(!Capabilities::Texture::RenderTarget::A1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
406 …case D3DFMT_A4R4G4B4: if(!Capabilities::Texture::RenderTarget::A4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
407 …case D3DFMT_R3G3B2: if(!Capabilities::Texture::RenderTarget::R3G3B2) return NOTAVAILABLE(); els… in CheckDeviceFormat()
408 …case D3DFMT_A8R3G3B2: if(!Capabilities::Texture::RenderTarget::A8R3G3B2) return NOTAVAILABLE(); … in CheckDeviceFormat()
409 …case D3DFMT_X4R4G4B4: if(!Capabilities::Texture::RenderTarget::X4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
410 …case D3DFMT_A8R8G8B8: if(!Capabilities::Texture::RenderTarget::A8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
411 …case D3DFMT_X8R8G8B8: if(!Capabilities::Texture::RenderTarget::X8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
[all …]
/external/mesa3d/src/mesa/main/
Dtexstate.c73 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state()
74 dst->Texture._GenFlags = src->Texture._GenFlags; in _mesa_copy_texture_state()
75 dst->Texture._TexGenEnabled = src->Texture._TexGenEnabled; in _mesa_copy_texture_state()
76 dst->Texture._TexMatEnabled = src->Texture._TexMatEnabled; in _mesa_copy_texture_state()
80 dst->Texture.Unit[u].Enabled = src->Texture.Unit[u].Enabled; in _mesa_copy_texture_state()
81 dst->Texture.Unit[u].EnvMode = src->Texture.Unit[u].EnvMode; in _mesa_copy_texture_state()
82 COPY_4V(dst->Texture.Unit[u].EnvColor, src->Texture.Unit[u].EnvColor); in _mesa_copy_texture_state()
83 dst->Texture.Unit[u].TexGenEnabled = src->Texture.Unit[u].TexGenEnabled; in _mesa_copy_texture_state()
84 dst->Texture.Unit[u].GenS = src->Texture.Unit[u].GenS; in _mesa_copy_texture_state()
85 dst->Texture.Unit[u].GenT = src->Texture.Unit[u].GenT; in _mesa_copy_texture_state()
[all …]
Dtexstate.h44 assert(unit < ARRAY_SIZE(ctx->Texture.Unit)); in _mesa_get_tex_unit()
45 return &(ctx->Texture.Unit[unit]); in _mesa_get_tex_unit()
55 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit()
/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 …]
DResourceManager.h30 class Texture; variable
61 Texture *getTexture(GLuint handle);
72 gl::NameSpace<Texture> mTextureNameSpace;
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTexture.cpp31 void Texture::checkInvariants (void) const in checkInvariants()
84 Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, co… in Texture() function in vkt::image::Texture
93 Texture::Texture (const Texture& other, const int samples) in Texture() function in vkt::image::Texture
102 tcu::IVec3 Texture::size (void) const in size()
126 int Texture::dimension (void) const in dimension()
150 int Texture::layerDimension (void) const in layerDimension()
DvktImageSizeTests.cpp54 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture()
60 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
66 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture()
72 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture()
75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture()
78 return Texture(imageType, size, 1); in getTexture()
82 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture()
86 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);
59 inline bool isCube (const Texture& texture) in isCube()
DvktImageLoadStoreTests.cpp62 inline VkBufferImageCopy makeBufferImageCopy (const Texture& texture) in makeBufferImageCopy()
67 tcu::ConstPixelBufferAccess getLayerOrSlice (const Texture& texture, const tcu::ConstPixelBufferAcc… in getLayerOrSlice()
95 const Texture& texture, in comparePixelBuffers()
258 …ns (Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const Texture& texture) in commandImageWriteBarrierBetweenShaderInvocations()
288 const Texture& texture) in commandCopyImageToBuffer()
320 const Texture& texture,
329 const Texture m_texture;
337 const Texture& texture, in StoreTest()
402 const Texture& texture,
422 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()
DDrawableBitmap.java27 private Texture mTexture;
35 DrawableBitmap(Texture texture, int width, int height) { in DrawableBitmap()
102 final Texture texture = mTexture; in draw()
206 public void setTexture(Texture texture) { in setTexture()
211 public Texture getTexture() { in getTexture()
/external/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp34 Texture::Texture(GLuint name) : egl::Texture(name) in Texture() function in es2::Texture
58 Texture::~Texture() in ~Texture()
63 sw::Resource *Texture::getResource() const in getResource()
69 bool Texture::setMinFilter(GLenum filter) in setMinFilter()
92 bool Texture::setMagFilter(GLenum filter) in setMagFilter()
106 bool Texture::setWrapS(GLenum wrap) in setWrapS()
126 bool Texture::setWrapT(GLenum wrap) in setWrapT()
146 bool Texture::setWrapR(GLenum wrap) in setWrapR()
166 bool Texture::setMaxAnisotropy(float textureMaxAnisotropy) in setMaxAnisotropy()
183 bool Texture::setBaseLevel(GLint baseLevel) in setBaseLevel()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DTexture.cpp33 Texture::Texture(GLuint name) : NamedObject(name) in Texture() function in gl::Texture
45 Texture::~Texture() in ~Texture()
50 sw::Resource *Texture::getResource() const in getResource()
56 bool Texture::setMinFilter(GLenum filter) in setMinFilter()
74 bool Texture::setMagFilter(GLenum filter) in setMagFilter()
88 bool Texture::setWrapS(GLenum wrap) in setWrapS()
104 bool Texture::setWrapT(GLenum wrap) in setWrapT()
120 bool Texture::setMaxAnisotropy(float textureMaxAnisotropy) in setMaxAnisotropy()
137 bool Texture::setMaxLevel(int level) in setMaxLevel()
149 GLenum Texture::getMinFilter() const in getMinFilter()
[all …]
/external/swiftshader/third_party/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/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.c80 assert(ctx->Texture._EnabledCoordUnits == 0);\
106 assert(ctx->Texture._EnabledCoordUnits == 0); \
128 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
186 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
274 const GLuint texEnableSave = ctx->Texture._EnabledCoordUnits; in affine_span()
413 ctx->Texture._EnabledCoordUnits = 0x0; in affine_span()
520 ctx->Texture._EnabledCoordUnits = texEnableSave; in affine_span()
541 struct gl_texture_unit *unit = ctx->Texture.Unit+0; \
543 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
678 const GLuint texEnableSave = ctx->Texture._EnabledCoordUnits; in fast_persp_span()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tex.c42 struct gl_texture_unit *unit = &ctx->Texture.Unit[i]; in nv10_emit_tex_gen()
75 ((ctx->Texture._TexMatEnabled & 1 << i) || in nv10_emit_tex_mat()
76 ctx->Texture.Unit[i]._GenFlags)) { in nv10_emit_tex_mat()
168 if (!ctx->Texture.Unit[i]._Current) { in nv10_emit_tex_obj()
174 t = ctx->Texture.Unit[i]._Current; in nv10_emit_tex_obj()
211 + ctx->Texture.Unit[i].LodBias; in nv10_emit_tex_obj()
Dnv20_state_tex.c42 struct gl_texture_unit *unit = &ctx->Texture.Unit[i]; in nv20_emit_tex_gen()
73 (ctx->Texture._TexMatEnabled & 1 << i)) { in nv20_emit_tex_mat()
172 if (!ctx->Texture.Unit[i]._Current) { in nv20_emit_tex_obj()
180 t = ctx->Texture.Unit[i]._Current; in nv20_emit_tex_obj()
223 + ctx->Texture.Unit[i].LodBias; in nv20_emit_tex_obj()
266 if (!ctx->Texture.Unit[i]._Current) in nv20_emit_tex_shader()

12345678910>>...12