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

12 3 4 5 6 7 8 91011>>

  /external/swiftshader/src/OpenGL/libGLES_CM/
ResourceManager.cpp 22 #include "Texture.h"
68 // Returns an unused texture name
90 void ResourceManager::deleteTexture(GLuint texture)
92 Texture *textureObject = mTextureNameSpace.remove(texture);
115 Texture *ResourceManager::getTexture(unsigned int handle)
136 void ResourceManager::checkTextureAllocation(GLuint texture, TextureType type)
138 if(!getTexture(texture) && texture != 0)
140 Texture *textureObject
    [all...]
  /external/deqp/framework/common/
tcuTexCompareVerifier.hpp 23 * \brief Texture compare (shadow) result verifier.
34 * \brief Texture compare (shadow) lookup precision parameters.
55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result);
56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
tcuTexLookupVerifier.hpp 23 * \brief Texture lookup simulator that is capable of verifying generic
113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
114 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
115 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
116 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
117 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
118 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
119 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result);
135 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result);
136 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, cons (…)
    [all...]
  /external/skia/src/gpu/
GrTexture.cpp 49 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture,
52 if (!texture->surfacePriv().hasUniqueRef() || texture->surfacePriv().hasPendingIO()) {
56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) {
60 GrResourceCache* cache = texture->getContext()->priv().getResourceCache();
63 // Ensure that the texture will be released by the cache when we drop the last ref.
64 // A texture that has no refs and no keys should be immediately removed.
65 if (texture->getUniqueKey().isValid()) {
66 texture->resourcePriv().removeUniqueKey();
68 if (texture->resourcePriv().getScratchKey().isValid())
    [all...]
  /external/skqp/src/gpu/
GrTexture.cpp 49 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture,
52 if (!texture->surfacePriv().hasUniqueRef() || texture->surfacePriv().hasPendingIO()) {
56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) {
60 GrResourceCache* cache = texture->getContext()->contextPriv().getResourceCache();
63 // Ensure that the texture will be released by the cache when we drop the last ref.
64 // A texture that has no refs and no keys should be immediately removed.
65 if (texture->getUniqueKey().isValid()) {
66 texture->resourcePriv().removeUniqueKey();
68 if (texture->resourcePriv().getScratchKey().isValid())
    [all...]
  /external/mesa3d/src/mesa/main/
texparam.h 92 _mesa_GetTextureLevelParameterfv(GLuint texture, GLint level,
96 _mesa_GetTextureLevelParameteriv(GLuint texture, GLint level,
114 _mesa_GetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params);
117 _mesa_GetTextureParameteriv(GLuint texture, GLenum pname, GLint *params);
120 _mesa_GetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params);
123 _mesa_GetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params);
145 _mesa_TextureParameterfv(GLuint texture, GLenum pname, const GLfloat *params);
148 _mesa_TextureParameterf(GLuint texture, GLenum pname, GLfloat param);
151 _mesa_TextureParameteri(GLuint texture, GLenum pname, GLint param);
154 _mesa_TextureParameteriv(GLuint texture, GLenum pname, const GLint *params)
    [all...]
texturebindless.h 71 _mesa_GetTextureHandleARB_no_error(GLuint texture);
74 _mesa_GetTextureHandleARB(GLuint texture);
77 _mesa_GetTextureSamplerHandleARB_no_error(GLuint texture, GLuint sampler);
80 _mesa_GetTextureSamplerHandleARB(GLuint texture, GLuint sampler);
95 _mesa_GetImageHandleARB_no_error(GLuint texture, GLint level, GLboolean layered,
99 _mesa_GetImageHandleARB(GLuint texture, GLint level, GLboolean layered,
texstorage.h 35 * Texture width, height and depth check shared with the
89 _mesa_TextureStorage1D_no_error(GLuint texture, GLsizei levels,
93 _mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
97 _mesa_TextureStorage2D_no_error(GLuint texture, GLsizei levels,
102 _mesa_TextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat,
106 _mesa_TextureStorage3D_no_error(GLuint texture, GLsizei levels,
111 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
116 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels,
121 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels,
126 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSurfaceTest.java 14 private final SurfaceTexture texture = new SurfaceTexture(0); field in class:ShadowSurfaceTest
15 private final Surface surface = new Surface(texture);
19 assertThat(shadowOf(surface).getSurfaceTexture()).isEqualTo(texture);
  /external/deqp/external/vulkancts/modules/vulkan/image/
vktImageLoadStoreUtil.cpp 75 VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format, const VkImageUsageFlags usage, const VkImageCreateFlags flags)
77 const VkSampleCountFlagBits samples = static_cast<VkSampleCountFlagBits>(texture.numSamples()); // integer and bit mask are aligned, so we can cast like this
83 (isCube(texture) ? (VkImageCreateFlags)VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT : 0u) | flags, // VkImageCreateFlags flags;
84 mapImageType(texture.type()), // VkImageType imageType;
86 makeExtent3D(texture.layerSize()), // VkExtent3D extent;
88 (deUint32)texture.numLayers(), // deUint32 arrayLayers;
  /external/replicaisland/src/com/replica/replicaisland/
ScrollableBitmap.java 27 public ScrollableBitmap(Texture texture, int width, int height) {
28 super(texture, width, height);
DrawableBitmap.java 27 private Texture mTexture;
35 DrawableBitmap(Texture texture, int width, int height) {
37 mTexture = texture;
102 final Texture texture = mTexture; local
104 if (gl != null && texture != null) {
105 assert texture.loaded;
123 || !texture.loaded) {
128 OpenGLSystem.bindTexture(GL10.GL_TEXTURE_2D, texture.name)
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcViewportArrayTests.hpp 178 struct texture struct in class:glcts::ViewportArray::Utils
180 texture(deqp::Context& context);
181 ~texture();
590 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
601 virtual void prepareTextures(Utils::texture& texture_0, Utils::texture& texture_1);
605 virtual void setupFramebuffer(Utils::framebuffer& framebuffer, Utils::texture& texture_0,
606 Utils::texture& texture_1);
616 void prepareTextureR32I(Utils::texture& texture)
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_sampler.c 167 struct pipe_resource *texture,
175 if (!(texture->bind & PIPE_BIND_SAMPLER_VIEW)) {
177 texture->bind |= PIPE_BIND_SAMPLER_VIEW;
183 view->texture = NULL;
184 pipe_resource_reference(&view->texture, texture);
193 if (view->target != texture->target) {
195 assert(texture->target == PIPE_TEXTURE_1D_ARRAY);
197 assert(texture->target == PIPE_TEXTURE_1D);
199 assert(texture->target == PIPE_TEXTURE_2D_ARRAY |
    [all...]
  /external/deqp/framework/randomshaders/
rsgSamplers.hpp 43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler)
44 : m_texture (texture)
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler)
69 : m_texture (texture)
  /external/swiftshader/src/OpenGL/common/
Surface.hpp 27 class Texture;
47 virtual void setBoundTexture(egl::Texture *texture) = 0;
  /external/deqp/external/openglcts/modules/gl/
gl4cSparseTextureClampTests.hpp 44 /** Test verifies if sparse texture clamp lookup functions generates access residency information
61 virtual bool verifyLookupTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level,
67 /** Test verifies if sparse and non-sparse texture clamp lookup functions works as expected
80 virtual bool writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level);
81 virtual bool verifyLookupTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level,
84 virtual bool prepareTexture(const Functions& gl, GLint target, GLint format, GLuint& texture);
85 virtual bool commitTexturePage(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level);
96 /** Test group which encapsulates all sparse texture conformance tests */
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_uniforms.c 49 struct pipe_sampler_view *texture = ctx->sampler_view[index]; local
53 dim = texture->texture->width0;
55 dim = texture->texture->height0;
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_uniforms.c 38 struct vc4_resource *rsc = vc4_resource(sview->texture);
64 struct pipe_sampler_view *texture = texstate->textures[unit]; local
65 struct vc4_resource *rsc = vc4_resource(texture->texture);
81 struct pipe_sampler_view *texture = texstate->textures[unit]; local
83 cl_aligned_f(uniforms, texture->u.tex.first_level);
92 struct pipe_sampler_view *texture = texstate->textures[unit]; local
93 struct vc4_resource *rsc = vc4_resource(texture->texture);
113 struct pipe_sampler_view *texture = texstate->textures[unit] local
178 struct pipe_sampler_view *texture = texstate->textures[data]; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_debug_image.c 101 struct pipe_resource *texture; local
110 * back into the texture. Need to nail down the semantics of views
114 texture = surface->texture;
116 data = pipe_transfer_map(pipe, texture, surface->u.tex.level,
124 texture->format,
125 util_format_get_blocksize(texture->format),
126 util_format_get_nblocksx(texture->format, surface->width),
127 util_format_get_nblocksy(texture->format, surface->height),
138 struct pipe_resource *texture)
192 struct pipe_resource *texture = surface->texture; local
    [all...]
  /external/mesa3d/src/gallium/drivers/vc5/
vc5_uniforms.c 47 struct pipe_sampler_view *texture = texstate->textures[unit];
48 struct vc5_resource *rsc = vc5_resource(texture->texture);
52 util_format_description(texture->format);
57 if (util_format_is_srgb(texture->format)) {
64 * have when stored as texture contents.
71 /* Now, pack so that when the vc5_format-sampled texture contents are
75 if (util_format_is_depth_or_stencil(texture->format)) {
112 struct pipe_sampler_view *texture = texstate->textures[data]; local
116 dim = texture->texture->width0
128 struct pipe_sampler_view *texture = texstate->textures[data]; local
    [all...]
  /external/deqp/modules/gles3/functional/
es3fNegativeTextureApiTests.cpp 21 * \brief Negative Texture API tests.
127 : TestCaseGroup(context, "texture", "Negative Texture API Cases")
141 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1).");
154 GLuint texture[2];
155 glGenTextures(2, texture);
164 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture was previously created with a target that doesn't match that of target.");
165 glBindTexture(GL_TEXTURE_2D, texture[0]);
167 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[0]);
169 glBindTexture(GL_TEXTURE_3D, texture[0])
    [all...]
  /external/swiftshader/src/Pipeline/
SamplerCore.hpp 53 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy);
54 Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
58 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12);
63 Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
64 Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function);
65 Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
66 Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
67 Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, bool secondLOD, SamplerFunction function);
68 Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
69 Vector4f sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Floa (…)
    [all...]
  /external/swiftshader/src/Shader/
SamplerCore.hpp 53 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy);
54 Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
58 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12);
63 Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
64 Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function);
65 Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
66 Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
67 Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, bool secondLOD, SamplerFunction function);
68 Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
69 Vector4f sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Floa (…)
    [all...]
  /external/mesa3d/src/gallium/drivers/noop/
noop_state.c 72 struct pipe_resource *texture,
82 sampler_view->texture = NULL;
83 pipe_resource_reference(&sampler_view->texture, texture);
90 struct pipe_resource *texture,
98 pipe_resource_reference(&surface->texture, texture);
101 surface->width = texture->width0;
102 surface->height = texture->height0;
103 surface->texture = texture
    [all...]

Completed in 2151 milliseconds

12 3 4 5 6 7 8 91011>>