Searched defs:texture (Results 126 - 150 of 348) sorted by relevance

1234567891011>>

/external/skqp/src/gpu/effects/
H A DGrGaussianConvolutionFragmentProcessor.cpp125 GrTexture& texture = *proxy->priv().peekTexture(); local
131 imageIncrement[0] = 1.0f / texture.width();
134 imageIncrement[1] = ySign / texture.height();
149 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.width()));
152 SkScalar inv = SkScalarInvert(SkIntToScalar(texture.height()));
H A DGrTextureDomain.cpp47 // We don't currently handle domains that are empty or don't intersect the texture.
383 GrTexture* texture = proxy->priv().peekTexture(); local
386 float iw = 1.f / texture->width();
387 float ih = 1.f / texture->height();
/external/skqp/src/gpu/mock/
H A DGrMockGpu.cpp49 GrGpuTextureCommandBuffer* GrMockGpu::createCommandBuffer(GrTexture* texture, argument
51 return new GrMockGpuTextureCommandBuffer(texture, origin);
/external/skqp/src/gpu/vk/
H A DGrVkGpuCommandBuffer.h26 GrVkGpuTextureCommandBuffer(GrVkGpu* gpu, GrTexture* texture, GrSurfaceOrigin origin) argument
27 : INHERITED(texture, origin)
/external/skqp/src/image/
H A DSkSurface_Gpu.cpp59 GrTexture* texture = rt->asTexture(); local
60 if (texture) {
61 return texture->getTextureHandle();
/external/swiftshader/src/D3D8/
H A DDirect3DDevice8.hpp73 long __stdcall CreateTexture(unsigned int width, unsigned int height, unsigned int levels, unsigned long usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture8 **texture) override;
114 long __stdcall GetTexture(unsigned long stage, IDirect3DBaseTexture8 **texture) override;
143 long __stdcall SetTexture(unsigned long stage, IDirect3DBaseTexture8 *texture) override;
185 Direct3DBaseTexture8 *texture[8]; member in class:D3D8::Direct3DDevice8
H A DDirect3DStateBlock8.hpp60 void setTexture(unsigned long stage, Direct3DBaseTexture8 *texture);
127 Direct3DBaseTexture8 *texture[8]; member in class:D3D8::Direct3DStateBlock8
/external/swiftshader/src/D3D9/
H A DDirect3DStateBlock9.hpp70 void setTexture(unsigned long index, Direct3DBaseTexture9 *texture);
155 Direct3DBaseTexture9 *texture[16 + 4]; member in class:D3D9::Direct3DStateBlock9
/external/swiftshader/src/OpenGL/libEGL/
H A DSurface.cpp56 texture = nullptr;
137 if(texture)
139 texture->releaseTexImage();
140 texture = nullptr;
283 void Surface::setBoundTexture(egl::Texture *texture) argument
285 this->texture = texture;
290 return texture;
/external/swiftshader/src/OpenGL/libGL/
H A DFramebuffer.cpp82 void Framebuffer::detachTexture(GLuint texture) argument
84 if(mColorbufferPointer.name() == texture && IsTextureTarget(mColorbufferType))
90 if(mDepthbufferPointer.name() == texture && IsTextureTarget(mDepthbufferType))
96 if(mStencilbufferPointer.name() == texture && IsTextureTarget(mStencilbufferType))
H A DRenderbuffer.cpp74 RenderbufferTexture2D::RenderbufferTexture2D(Texture2D *texture) argument
76 mTexture2D = texture;
85 // Renderbuffers acting as proxies. Here, we notify the texture of a reference.
130 RenderbufferTextureCubeMap::RenderbufferTextureCubeMap(TextureCubeMap *texture, GLenum target) : mTarget(target) argument
132 mTextureCubeMap = texture;
141 // Renderbuffers acting as proxies. Here, we notify the texture of a reference.
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DFramebuffer.cpp82 void Framebuffer::detachTexture(GLuint texture) argument
84 if(mColorbufferPointer.name() == texture && IsTextureTarget(mColorbufferType))
90 if(mDepthbufferPointer.name() == texture && IsTextureTarget(mDepthbufferType))
96 if(mStencilbufferPointer.name() == texture && IsTextureTarget(mStencilbufferType))
H A DRenderbuffer.cpp74 RenderbufferTexture2D::RenderbufferTexture2D(Texture2D *texture) argument
76 mTexture2D = texture;
85 // Renderbuffers acting as proxies. Here, we notify the texture of a reference.
/external/swiftshader/src/OpenGL/libGLESv2/
H A DFramebuffer.cpp129 void Framebuffer::detachTexture(GLuint texture) argument
133 if(mColorbufferPointer[i].name() == texture && IsTextureTarget(mColorbufferType[i]))
140 if(mDepthbufferPointer.name() == texture && IsTextureTarget(mDepthbufferType))
146 if(mStencilbufferPointer.name() == texture && IsTextureTarget(mStencilbufferType))
H A DResourceManager.cpp120 // Returns an unused texture name
199 void ResourceManager::deleteTexture(GLuint texture) argument
201 Texture *textureObject = mTextureNameSpace.remove(texture);
285 void ResourceManager::checkTextureAllocation(GLuint texture, TextureType type) argument
287 if(!getTexture(texture) && texture != 0)
293 textureObject = new Texture2D(texture);
297 textureObject = new TextureCubeMap(texture);
301 textureObject = new TextureExternal(texture);
305 textureObject = new Texture3D(texture);
[all...]
/external/webrtc/webrtc/test/win/
H A Dd3d_renderer.cc165 IDirect3DTexture9* texture; local
173 &texture, local
175 texture_ = texture;
176 texture->Release();
/external/ImageMagick/MagickCore/
H A Dmontage.c125 if (montage_info->texture != (char *) NULL)
126 clone_info->texture=AcquireString(montage_info->texture);
183 if (montage_info->texture != (char *) NULL)
184 montage_info->texture=(char *) RelinquishMagickMemory(
185 montage_info->texture);
351 *texture,
541 texture=NewImageList();
542 if (montage_info->texture != (char *) NULL)
544 (void) CopyMagickString(clone_info->filename,montage_info->texture,
346 *texture, local
[all...]
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cSparseTextureClampTests.cpp178 "Verifies if sparse texture clamp lookup functions generates access residency information")
251 * @param target Target for which texture is binded
272 /** Verify if data stored in texture is as expected
275 * @param target Target for which texture is binded
277 * @param texture Texture object
284 GLuint& texture, GLint level,
320 // Create verifying texture
355 // Adjust shader source to texture format
411 gl.bindTexture(target, texture);
510 "Verifies if sparse and non-sparse texture clam
283 verifyLookupTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level, FunctionToken& funcToken) argument
610 GLuint texture; local
693 writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) argument
782 verifyLookupTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level, FunctionToken& funcToken) argument
959 prepareTexture(const Functions& gl, GLint target, GLint format, GLuint& texture) argument
996 commitTexturePage(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) argument
[all...]
H A Dgl4cTextureFilterMinmaxTests.cpp121 " color = texture(sampler, texcoord);\n"
577 de::MovePtr<glu::Texture2D> texture = de::MovePtr<glu::Texture2D>(new glu::Texture2D( local
579 texture->upload();
582 gl.getTextureParameteriv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &params);
586 gl.getTextureParameterIiv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &params);
621 de::MovePtr<glu::Texture2D> texture = de::MovePtr<glu::Texture2D>(new glu::Texture2D( local
623 texture->upload();
626 gl.textureParameteriv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname);
629 gl.textureParameterIiv(texture->getGLTexture(), GL_TEXTURE_REDUCTION_MODE_ARB, &pname);
639 * @param renderScale Scale of rendered texture
[all...]
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageMultisampleLoadStoreTests.cpp64 Texture texture; member in struct:vkt::image::__anon4346::CaseDef
79 const int dimension = (caseDef.singleLayerBind ? caseDef.texture.layerDimension() : caseDef.texture.dimension());
82 const ImageType usedImageType = (caseDef.singleLayerBind ? getImageTypeForSingleLayer(caseDef.texture.type()) : caseDef.texture.type());
84 const std::string msImageTypeStr = getShaderImageType(mapVkFormat(caseDef.format), usedImageType, (caseDef.texture.numSamples() > 1));
86 const std::string xMax = de::toString(caseDef.texture.size().x() - 1);
87 const std::string yMax = de::toString(caseDef.texture.size().y() - 1);
92 const float storeColorScale = computeStoreColorScale(caseDef.format, caseDef.texture.size());
126 << " for (int sampleNdx = 0; sampleNdx < " << caseDef.texture
[all...]
H A DvktImageSizeTests.cpp53 //! Get a texture based on image type and suggested size.
86 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format) argument
92 (isCube(texture) ? (VkImageCreateFlags)VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT : 0u), // VkImageCreateFlags flags;
93 mapImageType(texture.type()), // VkImageType imageType;
95 makeExtent3D(texture.layerSize()), // VkExtent3D extent;
97 (deUint32)texture.numLayers(), // deUint32 arrayLayers;
116 tcu::IVec3 getExpectedImageSizeResult (const Texture& texture) argument
124 const tcu::IVec3 size = texture.size();
127 switch (texture.type())
163 const Texture& texture,
177 SizeTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Texture& texture, const VkFormat format, const deUint32 flags) argument
229 getCaseName(const Texture& texture, const deUint32 flags) argument
265 SizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
356 ImageSizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
432 BufferSizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
526 const Texture texture = getTexture(s_imageTypes[imageTypeNdx], s_baseImageSizes[imageSizeNdx]); local
[all...]
/external/deqp/framework/opengl/
H A DgluTexture.cpp139 TCU_THROW(NotSupportedError, "Compressed texture format not supported");
199 // Decompress to reference texture.
206 // Upload to GL texture in compressed form.
222 // Uncompressed texture.
233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight()); local
238 texture->getRefTexture().allocLevel(0);
239 tcu::copy(texture->getRefTexture().getLevel(0), level.getAccess());
246 texture->getRefTexture().allocLevel(levelNdx);
247 tcu::copy(texture->getRefTexture().getLevel(levelNdx), level.getAccess());
251 texture
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fIntegerStateQueryTests.cpp151 glw::GLuint texture; local
153 gl.glGenTextures(1, &texture);
154 gl.glBindTexture(m_texTarget, texture);
155 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
157 verifyStateInteger(result, gl, m_bindTarget, texture, m_verifierType);
159 gl.glDeleteTextures(1, &texture);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_translate.c204 * We also use a texture coordinate to pass wpos when possible.
404 debug_printf("Unknown texture target for num coords");
419 uint texture = inst->Texture.Texture; local
421 uint tex = translate_tex_src_target( p, texture );
431 i915_num_coords(texture) );
1236 debug_printf("Exceeded max nr indirect texture lookups\n");
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_tex.c66 struct pipe_resource *texture,
85 mt = nv50_miptree(texture);
89 view->pipe.texture = NULL;
94 pipe_resource_reference(&view->pipe.texture, texture);
132 if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) {
133 if (texture->target == PIPE_BUFFER) {
144 /* must be 2D texture without mip maps */
202 unreachable("unexpected/invalid texture target");
277 struct pipe_resource *texture,
65 gm107_create_texture_view(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ, uint32_t flags, enum pipe_texture_target target) argument
276 gf100_create_texture_view(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ, uint32_t flags, enum pipe_texture_target target) argument
441 nvc0_create_texture_view(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_sampler_view *templ, uint32_t flags, enum pipe_texture_target target) argument
[all...]

Completed in 5441 milliseconds

1234567891011>>