/third_party/skia/src/gpu/mock/ |
D | GrMockTexture.h | 20 SkISize dimensions, in GrMockTexture() argument 24 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture() 29 SkISize dimensions, in GrMockTexture() argument 35 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture() 56 GrMockTexture(GrMockGpu* gpu, const SkISize& dimensions, GrProtected isProtected, in GrMockTexture() argument 58 : GrSurface(gpu, dimensions, isProtected) in GrMockTexture() 59 , INHERITED(gpu, dimensions, isProtected, GrTextureType::k2D, mipmapStatus) in GrMockTexture() 84 SkISize dimensions, in GrMockRenderTarget() argument 88 : GrSurface(gpu, dimensions, isProtected) in GrMockRenderTarget() 89 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget() [all …]
|
D | GrMockGpu.cpp | 94 sk_sp<GrTexture> GrMockGpu::onCreateTexture(SkISize dimensions, in onCreateTexture() argument 117 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, dimensions, in onCreateTexture() 122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture() 126 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions, in onCreateCompressedTexture() argument 150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture() 168 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus, in onWrapBackendTexture() 193 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, tex.dimensions(), sampleCnt, in onWrapRenderableBackendTexture() 204 rt.dimensions(), rt.sampleCnt(), in onWrapBackendRenderTarget() 214 SkISize dimensions, int numStencilSamples) { in makeStencilAttachment() argument 217 new GrMockAttachment(this, dimensions, GrAttachment::UsageFlags::kStencilAttachment, in makeStencilAttachment() [all …]
|
/third_party/skia/third_party/externals/dawn/infra/config/global/generated/ |
D | cr-buildbucket.cfg | 16 dimensions: "cpu:x86-64" 17 dimensions: "os:Ubuntu-18.04" 18 dimensions: "pool:luci.flex.ci" 38 dimensions: "cpu:x86-64" 39 dimensions: "os:Ubuntu-18.04" 40 dimensions: "pool:luci.flex.ci" 59 dimensions: "cpu:x86-64" 60 dimensions: "os:Ubuntu-18.04" 61 dimensions: "pool:luci.flex.ci" 80 dimensions: "cpu:x86-64" [all …]
|
/third_party/skia/third_party/externals/tint/infra/config/global/generated/ |
D | cr-buildbucket.cfg | 16 dimensions: "cpu:x86-64" 17 dimensions: "os:Ubuntu-18.04" 18 dimensions: "pool:luci.flex.ci" 37 dimensions: "cpu:x86-64" 38 dimensions: "os:Ubuntu-18.04" 39 dimensions: "pool:luci.flex.ci" 58 dimensions: "cpu:x86-64" 59 dimensions: "os:Ubuntu-18.04" 60 dimensions: "pool:luci.flex.ci" 79 dimensions: "cpu:x86-64" [all …]
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DTextureRenderTarget.cpp | 16 SkISize dimensions, in GrD3DTextureRenderTarget() argument 25 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTextureRenderTarget() 27 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget() 29 dimensions, in GrD3DTextureRenderTarget() 43 SkISize dimensions, in GrD3DTextureRenderTarget() argument 49 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTextureRenderTarget() 51 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget() 52 , GrD3DRenderTarget(gpu, dimensions, info, state, renderTargetView) { in GrD3DTextureRenderTarget() 58 SkISize dimensions, in GrD3DTextureRenderTarget() argument 68 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTextureRenderTarget() [all …]
|
D | GrD3DRenderTarget.cpp | 21 SkISize dimensions, in GrD3DRenderTarget() argument 29 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DRenderTarget() 32 , GrRenderTarget(gpu, dimensions, msaaInfo.fSampleCount, info.fProtected) in GrD3DRenderTarget() 44 SkISize dimensions, in GrD3DRenderTarget() argument 51 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DRenderTarget() 54 , GrRenderTarget(gpu, dimensions, msaaInfo.fSampleCount, info.fProtected) in GrD3DRenderTarget() 65 SkISize dimensions, in GrD3DRenderTarget() argument 70 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DRenderTarget() 72 , GrRenderTarget(gpu, dimensions, info.fSampleCount, info.fProtected) in GrD3DRenderTarget() 81 SkISize dimensions, in GrD3DRenderTarget() argument [all …]
|
D | GrD3DTexture.cpp | 19 SkISize dimensions, in GrD3DTexture() argument 24 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTexture() 26 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 35 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, in GrD3DTexture() argument 40 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTexture() 42 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 53 SkISize dimensions, in GrD3DTexture() argument 58 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTexture() 60 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 66 SkISize dimensions, in MakeNewTexture() argument [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkTextureRenderTarget.cpp | 27 SkISize dimensions, in GrVkTextureRenderTarget() argument 32 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget() 33 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget() 34 , GrVkRenderTarget(gpu, dimensions, std::move(colorAttachment), in GrVkTextureRenderTarget() 41 SkISize dimensions, in GrVkTextureRenderTarget() argument 47 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget() 48 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget() 49 , GrVkRenderTarget(gpu, dimensions, std::move(colorAttachment), in GrVkTextureRenderTarget() 54 bool create_rt_attachments(GrVkGpu* gpu, SkISize dimensions, VkFormat format, int sampleCnt, in create_rt_attachments() argument 62 dimensions, GrBackendFormat::MakeVk(format), sampleCnt, isProtected, in create_rt_attachments() [all …]
|
D | GrVkTexture.cpp | 25 SkISize dimensions, in GrVkTexture() argument 28 : GrSurface(gpu, dimensions, in GrVkTexture() 30 , GrTexture(gpu, dimensions, in GrVkTexture() 46 GrVkTexture::GrVkTexture(GrVkGpu* gpu, SkISize dimensions, in GrVkTexture() argument 49 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture() 50 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture() 64 SkISize dimensions, in GrVkTexture() argument 67 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture() 68 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture() 80 SkISize dimensions, in MakeNewTexture() argument [all …]
|
/third_party/skia/src/gpu/ |
D | GrResourceProvider.cpp | 44 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() argument 62 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture() 65 if (!fCaps->validateSurfaceParams(dimensions, in createTexture() 75 auto scratch = this->getExactScratch(dimensions, in createTexture() 87 return this->writePixels(std::move(scratch), colorType, dimensions, texels, numMipLevels); in createTexture() 93 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, numMipLevels, in createTexture() 99 return fGpu->createTexture(dimensions, in createTexture() 112 sk_sp<GrTexture> GrResourceProvider::getExactScratch(SkISize dimensions, in getExactScratch() argument 120 sk_sp<GrTexture> tex(this->findAndRefScratchTexture(dimensions, in getExactScratch() 134 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() argument [all …]
|
D | GrGpu.cpp | 53 static bool validate_texel_levels(SkISize dimensions, GrColorType texelColorType, in validate_texel_levels() argument 59 int w = dimensions.fWidth; in validate_texel_levels() 60 int h = dimensions.fHeight; in validate_texel_levels() 98 sk_sp<GrTexture> GrGpu::createTextureCommon(SkISize dimensions, in createTextureCommon() argument 113 if (!this->caps()->validateSurfaceParams(dimensions, in createTextureCommon() 129 auto tex = this->onCreateTexture(dimensions, in createTextureCommon() 152 sk_sp<GrTexture> GrGpu::createTexture(SkISize dimensions, in createTexture() argument 163 32 - SkCLZ(static_cast<uint32_t>(std::max(dimensions.fWidth, dimensions.fHeight))); in createTexture() 167 auto tex = this->createTextureCommon(dimensions, in createTexture() 182 sk_sp<GrTexture> GrGpu::createTexture(SkISize dimensions, in createTexture() argument [all …]
|
D | GrProxyProvider.cpp | 135 SkISize dimensions, in testingOnly_createInstantiatedProxy() argument 161 tex = resourceProvider->createApproxTexture(dimensions, in testingOnly_createInstantiatedProxy() 168 tex = resourceProvider->createTexture(dimensions, in testingOnly_createInstantiatedProxy() 185 SkISize dimensions, in testingOnly_createInstantiatedProxy() argument 197 return this->testingOnly_createInstantiatedProxy(dimensions, in testingOnly_createInstantiatedProxy() 343 auto dims = bitmap.dimensions(); in createNonMippedProxyFromBitmap() 374 SkASSERT(proxy->dimensions() == bitmap.dimensions()); in createNonMippedProxyFromBitmap() 393 auto dims = bitmap.dimensions(); in createMippedProxyFromBitmap() 431 SkASSERT(proxy->dimensions() == bitmap.dimensions()); in createMippedProxyFromBitmap() 437 SkISize dimensions, in createProxy() argument [all …]
|
D | GrImageInfo.h | 20 : fColorInfo(info.colorInfo()), fDimensions(info.dimensions()) {} in GrImageInfo() 25 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, const SkISize& dimensions) in GrImageInfo() argument 26 : fColorInfo(ct, at, std::move(cs)), fDimensions(dimensions) {} in GrImageInfo() 28 GrImageInfo(const GrColorInfo& info, const SkISize& dimensions) in GrImageInfo() argument 29 : fColorInfo(info), fDimensions(dimensions) {} in GrImageInfo() 31 GrImageInfo(GrColorInfo&& info, const SkISize& dimensions) in GrImageInfo() argument 32 : fColorInfo(std::move(info)), fDimensions(dimensions) {} in GrImageInfo() 40 return {this->colorInfo().makeColorType(ct), this->dimensions()}; in makeColorType() 51 GrImageInfo makeDimensions(SkISize dimensions) const { in makeDimensions() argument 52 return {this->colorType(), this->alphaType(), this->refColorSpace(), dimensions}; in makeDimensions() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | pbo.c | 66 _mesa_validate_pbo_access(GLuint dimensions, in _mesa_validate_pbo_access() argument 112 start = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access() 116 end = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access() 178 _mesa_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, in _mesa_validate_pbo_source() argument 185 assert(dimensions == 1 || dimensions == 2 || dimensions == 3); in _mesa_validate_pbo_source() 187 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_validate_pbo_source() 221 _mesa_validate_pbo_source_compressed(struct gl_context *ctx, GLuint dimensions, in _mesa_validate_pbo_source_compressed() argument 259 GLuint dimensions, in _mesa_map_validate_pbo_source() argument 266 if (!_mesa_validate_pbo_source(ctx, dimensions, unpack, in _mesa_map_validate_pbo_source() 337 GLuint dimensions, in _mesa_map_validate_pbo_dest() argument [all …]
|
/third_party/gn/infra/config/generated/ |
D | cr-buildbucket.cfg | 16 dimensions: "cpu:x86-64" 17 dimensions: "os:Ubuntu-16.04" 18 dimensions: "pool:luci.flex.ci" 34 dimensions: "cpu:x86-64" 35 dimensions: "os:Mac-10.15" 36 dimensions: "pool:luci.flex.ci" 56 dimensions: "cpu:x86-64" 57 dimensions: "os:Windows-10" 58 dimensions: "pool:luci.flex.ci" 94 dimensions: "cpu:x86-64" [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | librsvgdec.c | 42 RsvgDimensionData unscaled_dimensions, dimensions; in librsvg_decode_frame() local 56 rsvg_handle_get_dimensions(handle, &dimensions); in librsvg_decode_frame() 58 dimensions.width = s->width ? s->width : dimensions.width; in librsvg_decode_frame() 59 dimensions.height = s->height ? s->height : dimensions.height; in librsvg_decode_frame() 63 dimensions.width = lrintf(dimensions.height * default_ar); in librsvg_decode_frame() 65 dimensions.height = lrintf(dimensions.width / default_ar); in librsvg_decode_frame() 68 if ((ret = ff_set_dimensions(avctx, dimensions.width, dimensions.height))) in librsvg_decode_frame() 90 cairo_scale(crender, dimensions.width / (double)unscaled_dimensions.width, in librsvg_decode_frame() 91 dimensions.height / (double)unscaled_dimensions.height); in librsvg_decode_frame()
|
/third_party/skia/src/core/ |
D | SkCompressedDataUtils.cpp | 86 static bool decompress_etc1(SkISize dimensions, const uint8_t* srcData, SkBitmap* dst) { in decompress_etc1() argument 89 int numXBlocks = num_4x4_blocks(dimensions.width()); in decompress_etc1() 90 int numYBlocks = num_4x4_blocks(dimensions.height()); in decompress_etc1() 180 static bool decompress_bc1(SkISize dimensions, const uint8_t* srcData, in decompress_bc1() argument 184 int numXBlocks = num_4x4_blocks(dimensions.width()); in decompress_bc1() 185 int numYBlocks = num_4x4_blocks(dimensions.height()); in decompress_bc1() 229 SkISize dimensions, in SkDecompress() argument 237 case Type::kETC2_RGB8_UNORM: return decompress_etc1(dimensions, bytes, dst); in SkDecompress() 238 case Type::kBC1_RGB8_UNORM: return decompress_bc1(dimensions, bytes, true, dst); in SkDecompress() 239 case Type::kBC1_RGBA8_UNORM: return decompress_bc1(dimensions, bytes, false, dst); in SkDecompress() [all …]
|
/third_party/skia/gm/ |
D | compressed_textures.cpp | 44 static SkPath make_gear(SkISize dimensions, int numTeeth) { in make_gear() argument 45 SkVector outerRad{ dimensions.fWidth / 2.0f, dimensions.fHeight / 2.0f }; in make_gear() 46 SkVector innerRad{ dimensions.fWidth / 2.5f, dimensions.fHeight / 2.5f }; in make_gear() 65 float fInnerRad = 0.1f * std::min(dimensions.fWidth, dimensions.fHeight); in make_gear() 74 SkBitmap render_level(SkISize dimensions, SkColor color, SkColorType colorType, bool opaque) { in render_level() argument 75 SkPath path = make_gear(dimensions, 9); in render_level() 77 SkImageInfo ii = SkImageInfo::Make(dimensions.width(), dimensions.height(), in render_level() 91 c.translate(dimensions.width() / 2.0f, dimensions.height() / 2.0f); in render_level() 102 const SkISize dimensions, in make_compressed_image() argument 106 size_t totalSize = SkCompressedDataSize(compression, dimensions, nullptr, true); in make_compressed_image() [all …]
|
/third_party/skia/third_party/externals/angle2/infra/specs/ |
D | mixins.pyl | 16 { 'android_r': { 'swarming': { 'dimensions': { 'device_os': 'R'}}}, 17 'angle_linux_nvidia_gtx_1660_stable': { 'swarming': { 'dimensions': { 'gpu': '10de:2184-440.100', 24 …'angle_win10_nvidia_gtx_1660_stable': { 'swarming': { 'dimensions': { 'gpu': '10de:2184-27.21.14.5… 29 'flame': { 'swarming': { 'dimensions': { 'device_type': 'flame', 31 'gpu-swarming-pool': { 'swarming': { 'dimensions': { 'pool': 'chromium.tests.gpu'}}}, 32 'linux-bionic': { 'swarming': { 'dimensions': { 'os': 'Ubuntu-18.04'}}}, 33 'linux_intel_hd_630_stable': { 'swarming': { 'dimensions': { 'gpu': '8086:5912-19.0.2', 36 'mac_mini_intel_gpu_stable': { 'swarming': { 'dimensions': { 'cpu': 'x86-64', 40 'mac_retina_amd_gpu_stable': { 'swarming': { 'dimensions': { 'cpu': 'x86-64', 46 'mac_retina_nvidia_gpu_stable': { 'swarming': { 'dimensions': { 'cpu': 'x86-64', [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/infra/config/global/ |
D | cr-buildbucket.cfg | 75 dimensions: "os:Mac-10.13" 89 dimensions: "pool:luci.flex.ci" 91 dimensions: "cpu:x86-64" 107 dimensions: "os:Ubuntu-16.04" 113 dimensions: "os:Ubuntu-16.04" 119 dimensions: "os:Ubuntu-16.04" 125 dimensions: "os:Ubuntu-16.04" 146 dimensions: "os:Windows" 153 dimensions: "os:Windows" 160 dimensions: "os:Windows" [all …]
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlTextureRenderTarget.mm | 22 SkISize dimensions, 27 : GrSurface(gpu, dimensions, GrProtected::kNo) 28 , GrMtlTexture(gpu, dimensions, std::move(texture), mipmapStatus) 29 , GrMtlRenderTarget(gpu, dimensions, std::move(colorAttachment), 35 SkISize dimensions, 41 : GrSurface(gpu, dimensions, GrProtected::kNo) 42 , GrMtlTexture(gpu, dimensions, std::move(texture), mipmapStatus) 43 , GrMtlRenderTarget(gpu, dimensions, std::move(colorAttachment), 48 bool create_rt_attachments(GrMtlGpu* gpu, SkISize dimensions, MTLPixelFormat format, int sampleCnt, 54 dimensions, GrBackendFormat::MakeMtl(format), sampleCnt, GrProtected::kNo, [all …]
|
D | GrMtlAttachment.mm | 20 SkISize dimensions, 24 : GrAttachment(gpu, dimensions, supportedUsages, texture.sampleCount, 32 SkISize dimensions, 36 : GrAttachment(gpu, dimensions, supportedUsages, texture.sampleCount, 44 SkISize dimensions, 53 return GrMtlAttachment::Make(gpu, dimensions, UsageFlags::kStencilAttachment, sampleCnt, format, 58 SkISize dimensions, 67 return GrMtlAttachment::Make(gpu, dimensions, UsageFlags::kColorAttachment, sampleCnt, format, 72 SkISize dimensions, 92 return GrMtlAttachment::Make(gpu, dimensions, usageFlags, numSamples, format, mipLevels, [all …]
|
D | GrMtlTexture.mm | 22 SkISize dimensions, 25 : GrSurface(gpu, dimensions, GrProtected::kNo) 26 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) 42 SkISize dimensions, 47 : GrSurface(gpu, dimensions, GrProtected::kNo) 48 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) 63 SkISize dimensions, 66 : GrSurface(gpu, dimensions, GrProtected::kNo) 67 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) 79 SkISize dimensions, [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_shape.c | 121 RecursivelyCalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* mask,SDL_Rect dimensions) { in RecursivelyCalculateShapeTree() argument 132 for(y=dimensions.y;y<dimensions.y + dimensions.h;y++) { in RecursivelyCalculateShapeTree() 133 for(x=dimensions.x;x<dimensions.x + dimensions.w;x++) { in RecursivelyCalculateShapeTree() 169 const int halfwidth = dimensions.w / 2; in RecursivelyCalculateShapeTree() 170 const int halfheight = dimensions.h / 2; in RecursivelyCalculateShapeTree() 174 next.x = dimensions.x; in RecursivelyCalculateShapeTree() 175 next.y = dimensions.y; in RecursivelyCalculateShapeTree() 180 next.x = dimensions.x + halfwidth; in RecursivelyCalculateShapeTree() 181 next.w = dimensions.w - halfwidth; in RecursivelyCalculateShapeTree() 184 next.x = dimensions.x; in RecursivelyCalculateShapeTree() [all …]
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnTexture.cpp | 15 SkISize dimensions, in GrDawnTexture() argument 18 : GrSurface(gpu, dimensions, GrProtected::kNo) in GrDawnTexture() 19 , GrTexture(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) in GrDawnTexture() 22 sk_sp<GrDawnTexture> GrDawnTexture::Make(GrDawnGpu* gpu, SkISize dimensions, in Make() argument 37 textureDesc.size.width = dimensions.fWidth; in Make() 38 textureDesc.size.height = dimensions.fHeight; in Make() 57 dimensions, in Make() 63 new GrDawnTexture(gpu, dimensions, info, status)); in Make() 73 sk_sp<GrDawnTexture> GrDawnTexture::MakeWrapped(GrDawnGpu* gpu, SkISize dimensions, in MakeWrapped() argument 82 gpu, dimensions, sampleCnt, info, status)); in MakeWrapped() [all …]
|