/external/skia/src/image/ |
SkImage_Gpu.cpp | 169 // create the backing texture 269 // Needs to create a render target with external texture 489 // expect the created texture to be unscaled. 498 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); local 504 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); 506 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin(), 558 ATRACE_ANDROID_FRAMEWORK("Upload Texture [%ux%u]", pixmap->width(), pixmap->height()); 572 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); local 578 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); 580 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin() 696 GrTexture* texture = image->getTexture(); local [all...] |
/external/skia/tests/ |
GrTextureMipMapInvalidationTest.cpp | 19 const GrTexture* texture = surf->makeImageSnapshot()->getTexture(); 20 return GrMipMapped::kYes == texture->texturePriv().mipMapped(); 83 // ERRORF(reporter, "Could not turn image into texture"); 87 // Reimport the texture as an image and perform a downsampling draw with medium quality which
|
TraceMemoryDumpTest.cpp | 97 glInfo.fID = 7; // Arbitrary, we don't actually use the texture. 104 auto texture = sk_make_sp<GrGLTexture>(gpu, SkBudgeted::kNo, desc, idDesc, local 107 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), true /* isOwned */); 123 glInfo.fID = 7; // Arbitrary, we don't actually use the texture. 130 auto texture = GrGLTexture::MakeWrapped(gpu, desc, GrMipMapsStatus::kNotAllocated, idDesc, local 133 ValidateMemoryDumps(reporter, context, texture->gpuMemorySize(), false /* isOwned */);
|
/external/skqp/src/gpu/ |
GrPipeline.cpp | 91 GrXferBarrierType GrPipeline::xferBarrierType(GrTexture* texture, const GrCaps& caps) const { 92 if (fDstTextureProxy.get() && fDstTextureProxy.get()->peekTexture() == texture) {
|
/external/skqp/src/gpu/effects/ |
GrRectBlurEffect.fp | 127 half hlookup = texture(blurProfile, float2(hcoord, 0.5)).a; 129 half vlookup = texture(blurProfile, float2(vcoord, 0.5)).a; 139 half hlookup = texture(blurProfile, float2(hcoord, 0.5)).a; 141 half vlookup = texture(blurProfile, float2(vcoord, 0.5)).a;
|
/external/skqp/src/gpu/mtl/ |
GrMtlUtil.mm | 229 GrMtlTexture* texture; 232 // TODO: do resolve and set mtlTexture to resolved texture. As of now, we shouldn't 239 texture = static_cast<GrMtlTexture*>(surface->asTexture()); 240 if (texture) { 241 mtlTexture = texture->mtlTexture();
|
/external/skqp/src/image/ |
SkImage_Gpu.cpp | 159 // create the backing texture 259 // Needs to create a render target with external texture 478 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); local 484 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); 486 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin(), 533 ATRACE_ANDROID_FRAMEWORK("Upload Texture [%ux%u]", pixmap->width(), pixmap->height()); 547 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); local 553 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); 555 auto gen = GrBackendTextureImageGenerator::Make(std::move(texture), proxy->origin(), 581 // Ensure we have a texture backed image 588 GrTexture* texture = image->getTexture(); local [all...] |
/external/skqp/tests/ |
GrTextureMipMapInvalidationTest.cpp | 19 const GrTexture* texture = surf->makeImageSnapshot()->getTexture(); 20 return GrMipMapped::kYes == texture->texturePriv().mipMapped(); 83 // ERRORF(reporter, "Could not turn image into texture"); 87 // Reimport the texture as an image and perform a downsampling draw with medium quality which
|
/external/swiftshader/src/D3D8/ |
Direct3DStateBlock8.hpp | 60 void setTexture(unsigned long stage, Direct3DBaseTexture8 *texture); 127 Direct3DBaseTexture8 *texture[8]; member in class:D3D8::Direct3DStateBlock8
|
/external/swiftshader/src/OpenGL/libEGL/ |
Surface.hpp | 63 void setBoundTexture(egl::Texture *texture) override; 64 virtual egl::Texture *getBoundTexture() const; 84 Texture *texture = nullptr; member in class:egl::Surface 94 // EGLBoolean mipmapTexture = EGL_FALSE; // True if texture has mipmaps 100 EGLenum textureFormat = EGL_NO_TEXTURE; // Format of texture: RGB, RGBA, or no texture 101 EGLenum textureTarget = EGL_NO_TEXTURE; // Type of texture: 2D or no texture [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
Renderbuffer.cpp | 22 #include "Texture.h" 74 RenderbufferTexture2D::RenderbufferTexture2D(Texture2D *texture, GLint level) : mLevel(level) 76 mTexture2D = texture; 85 // Renderbuffers acting as proxies. Here, we notify the texture of a reference. 137 RenderbufferTexture2DRect::RenderbufferTexture2DRect(Texture2DRect *texture) 139 mTexture2DRect = texture; 148 // Renderbuffers acting as proxies. Here, we notify the texture of a reference. 200 RenderbufferTexture3D::RenderbufferTexture3D(Texture3D *texture, GLint level) : mLevel(level) 202 mTexture3D = texture; 211 // Renderbuffers acting as proxies. Here, we notify the texture of a reference [all...] |
/external/swiftshader/src/Pipeline/ |
SamplerCore.cpp | 59 Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy) 61 return sampleTexture(texture, u, v, w, q, q, dsx, dsy, (dsx), Implicit, true); 64 Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12) 109 computeLod(texture, lod, anisotropy, uDelta, vDelta, uuuu, vvvv, bias.x, dsx, dsy, function); 115 computeLodCube(texture, lod, u, v, w, bias.x, dsx, dsy, M, function); 120 computeLod3D(texture, lod, uuuu, vvvv, wwww, bias.x, dsx, dsy, function); 125 c = sampleFilter(texture, uuuu, vvvv, wwww, offset, lod, anisotropy, uDelta, vDelta, face, function); 129 Vector4f cf = sampleFloatFilter(texture, uuuu, vvvv, wwww, qqqq, offset, lod, anisotropy, uDelta, vDelta, face, function); 230 Vector4f SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) 273 computeLod(texture, lod, anisotropy, uDelta, vDelta, uuuu, vvvv, bias.x, dsx, dsy, function) [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cSparseTexture2Tests.cpp | 180 " fragColor = texture(uni_sampler, texCoord);\n" 570 /** Create set of token strings fit to texture verifying shader 572 * @param target Target for which texture is binded 573 * @param format Texture internal format 574 * @param sample Texture sample number 913 * @param target Target for which texture is binded 914 * @param format Texture internal format 921 // As shaders do not support some texture formats it is necessary to exclude them. 931 /** Allocating sparse texture memory using texStorage* function 934 * @param target Target for which texture is binde 1384 GLuint texture; local 2330 GLuint texture; local [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingThreadedTests.cpp | 71 class Texture; 79 SharedPtr<Texture> popTexture (int index); 80 const SharedPtr<Texture> getTexture (int index) const { return m_textures[index]; } 81 void addTexture (SharedPtr<Texture> texture) { m_textures.push_back(texture); } 100 std::vector<SharedPtr<Texture> > m_textures; 106 SharedPtr<Texture> GLES2ResourceManager::popTexture (int index) 108 SharedPtr<Texture> texture = m_textures[index] local 872 GLuint texture; member in class:deqp::egl::GLES2ThreadTest::Texture 2352 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getTexture(textureNdx); local 2637 SharedPtr<GLES2ThreadTest::Texture> texture; local 2649 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 2657 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local 2665 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 2673 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local 2773 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(nonSiblingTextureNdx); local 2792 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local 3258 SharedPtr<GLES2ThreadTest::Texture> texture; local 3366 SharedPtr<GLES2ThreadTest::Texture> texture; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_blit.c | 112 struct r600_texture *texture, 121 staging : texture->flushed_depth_texture; 123 util_format_description(texture->resource.b.b.format); 126 if (!staging && !texture->dirty_level_mask) 129 max_sample = u_max_sample(&texture->resource.b.b); 135 texture->dirty_level_mask = 0; 153 if (!staging && !(texture->dirty_level_mask & (1 << level))) 158 max_layer = util_max_layer(&texture->resource.b.b, level); 170 surf_tmpl.format = texture->resource.b.b.format; 175 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl) [all...] |
/external/ImageMagick/Magick++/demo/ |
button.cpp | 39 // Button background texture 65 button.texture( backgroundTexture );
|
/external/ImageMagick/MagickCore/ |
montage.c | 124 if (montage_info->texture != (char *) NULL) 125 clone_info->texture=AcquireString(montage_info->texture); 182 if (montage_info->texture != (char *) NULL) 183 montage_info->texture=(char *) RelinquishMagickMemory( 184 montage_info->texture); 350 *texture, 542 texture=NewImageList(); 543 if (montage_info->texture != (char *) NULL) 545 (void) CopyMagickString(clone_info->filename,montage_info->texture, 345 *texture, local [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcViewportArrayTests.cpp | 185 /** Attach texture to specified attachment 188 * @param texture_id Texture id 189 * @param width Texture width 190 * @param height Texture height 701 Utils::texture::texture(deqp::Context& context) function in class:glcts::ViewportArray::Utils::texture 710 Utils::texture::~texture() 715 /** Bind texture to GL_TEXTURE_2D 718 void Utils::texture::bind() cons [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreUtil.hpp | 67 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkImageCreateFlags flags);
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureCompressedFormatTests.cpp | 23 * \brief Compressed texture tests. 42 namespace texture namespace in namespace:vkt 49 using namespace texture::util; 100 const pipeline::TestTexture2D& texture = m_renderer.get2DTexture(0); local 101 const tcu::TextureFormat textureFormat = texture.getTextureFormat(); 138 // Compute texture coordinates. 275 return createTestGroup(testCtx, "compressed", "Texture compressed format tests.", populateTextureCompressedFormatTests); 278 } // texture
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_image.h | 51 struct pipe_resource *texture);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_clear.c | 109 struct nv30_miptree *mt = nv30_miptree(ps->texture); 121 if (nv30_miptree(ps->texture)->swizzled) { 169 struct nv30_miptree *mt = nv30_miptree(ps->texture); 181 if (nv30_miptree(ps->texture)->swizzled) {
|
nv30_context.c | 98 nv30->framebuffer.cbufs[i]->texture == res) { 108 nv30->framebuffer.zsbuf->texture == res) { 130 nv30->fragprog.textures[i]->texture == res) { 139 nv30->vertprog.textures[i]->texture == res) {
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
dri_screen.h | 100 struct pipe_resource *texture; member in struct:__DRIimageRec
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
output.c | 184 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format); 185 *width = vlsurface->sampler_view->texture->width0; 186 *height = vlsurface->sampler_view->texture->height0; 221 res = vlsurface->sampler_view->texture; 265 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); 273 pipe->texture_subdata(pipe, vlsurface->sampler_view->texture, 0, 339 res_tmpl.width0 = vlsurface->surface->texture->width0; 340 res_tmpl.height0 = vlsurface->surface->texture->height0; 473 vtmpl.width = vlsurface->surface->texture->width0; 474 vtmpl.height = vlsurface->surface->texture->height0 [all...] |