Home
last modified time | relevance | path

Searched refs:WrapMode (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/src/gpu/
DGrSamplerState.h23 enum class WrapMode : uint8_t { enum
32 inline static constexpr int kWrapModeCount = static_cast<int>(WrapMode::kLast) + 1;
36 constexpr GrSamplerState(WrapMode wrapXAndY, Filter filter, MipmapMode mm = MipmapMode::kNone)
39 constexpr GrSamplerState(WrapMode wrapX,
40 WrapMode wrapY,
45 constexpr GrSamplerState(const WrapMode wrapModes[2],
57 constexpr WrapMode wrapModeX() const { return fWrapModes[0]; } in wrapModeX()
59 constexpr WrapMode wrapModeY() const { return fWrapModes[1]; } in wrapModeY()
62 return fWrapModes[0] == WrapMode::kRepeat || fWrapModes[0] == WrapMode::kMirrorRepeat; in isRepeatedX()
66 return fWrapModes[1] == WrapMode::kRepeat || fWrapModes[1] == WrapMode::kMirrorRepeat; in isRepeatedY()
[all …]
DSkGr.h71 static constexpr GrSamplerState::WrapMode SkTileModeToWrapMode(SkTileMode tileMode) { in SkTileModeToWrapMode()
73 case SkTileMode::kClamp: return GrSamplerState::WrapMode::kClamp; in SkTileModeToWrapMode()
74 case SkTileMode::kDecal: return GrSamplerState::WrapMode::kClampToBorder; in SkTileModeToWrapMode()
75 case SkTileMode::kMirror: return GrSamplerState::WrapMode::kMirrorRepeat; in SkTileModeToWrapMode()
76 case SkTileMode::kRepeat: return GrSamplerState::WrapMode::kRepeat; in SkTileModeToWrapMode()
DGrTestUtils.cpp111 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
112 static const GrSamplerState::WrapMode kWrapModes[] = { in TestWrapModes()
113 GrSamplerState::WrapMode::kClamp, in TestWrapModes()
114 GrSamplerState::WrapMode::kRepeat, in TestWrapModes()
115 GrSamplerState::WrapMode::kMirrorRepeat, in TestWrapModes()
/third_party/skia/src/gpu/effects/
DGrBicubicEffect.h55 const GrSamplerState::WrapMode wrapX,
56 const GrSamplerState::WrapMode wrapY,
68 const GrSamplerState::WrapMode wrapX,
69 const GrSamplerState::WrapMode wrapY,
82 const GrSamplerState::WrapMode wrapX,
83 const GrSamplerState::WrapMode wrapY,
DGrBicubicEffect.cpp128 const GrSamplerState::WrapMode wrapX, in Make()
129 const GrSamplerState::WrapMode wrapY, in Make()
145 const GrSamplerState::WrapMode wrapX, in MakeSubset()
146 const GrSamplerState::WrapMode wrapY, in MakeSubset()
164 const GrSamplerState::WrapMode wrapX, in MakeSubset()
165 const GrSamplerState::WrapMode wrapY, in MakeSubset()
259 GrSamplerState::WrapMode wm[2]; in TestCreate()
DGrTextureEffect.h88 GrSamplerState::WrapMode wx,
89 GrSamplerState::WrapMode wy,
148 static ShaderMode GetShaderMode(GrSamplerState::WrapMode,
DGrYUVtoRGBEffect.cpp46 bool usesBorder = samplerState.wrapModeX() == GrSamplerState::WrapMode::kClampToBorder || in Make()
47 samplerState.wrapModeY() == GrSamplerState::WrapMode::kClampToBorder; in Make()
93 if (samplerState.wrapModeX() != GrSamplerState::WrapMode::kClamp) { in Make()
101 if (samplerState.wrapModeY() != GrSamplerState::WrapMode::kClamp) { in Make()
DGrGaussianConvolutionFragmentProcessor.h36 GrSamplerState::WrapMode,
DGrGaussianConvolutionFragmentProcessor.cpp148 GrSamplerState::WrapMode wm, in Make()
259 auto wm = static_cast<GrSamplerState::WrapMode>( in TestCreate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.hpp326 tcu::Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::WrapMode wrapV, tcu::Sample…
327 tcu::Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::WrapMode wrapV, tcu::Sample…
328 tcu::Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::FilterMode minFilterMode, t…
379 tcu::Sampler::WrapMode wrapS;
392 tcu::Sampler::WrapMode wrapT;
401 tcu::Sampler::WrapMode wrapT;
408 tcu::Sampler::WrapMode wrapT;
415 tcu::Sampler::WrapMode wrapR;
/third_party/skia/src/gpu/vk/
DGrVkSampler.cpp13 static VkSamplerAddressMode wrap_mode_to_vk_sampler_address(GrSamplerState::WrapMode wrapMode) { in wrap_mode_to_vk_sampler_address()
15 case GrSamplerState::WrapMode::kClamp: in wrap_mode_to_vk_sampler_address()
17 case GrSamplerState::WrapMode::kRepeat: in wrap_mode_to_vk_sampler_address()
19 case GrSamplerState::WrapMode::kMirrorRepeat: in wrap_mode_to_vk_sampler_address()
21 case GrSamplerState::WrapMode::kClampToBorder: in wrap_mode_to_vk_sampler_address()
/third_party/skia/src/gpu/mtl/
DGrMtlSampler.mm19 GrSamplerState::WrapMode wrapMode, const GrCaps& caps) {
21 case GrSamplerState::WrapMode::kClamp:
23 case GrSamplerState::WrapMode::kRepeat:
25 case GrSamplerState::WrapMode::kMirrorRepeat:
27 case GrSamplerState::WrapMode::kClampToBorder:
/third_party/node/deps/v8/src/inspector/
Dv8-runtime-agent-impl.cc99 const String16& objectGroup, WrapMode wrapMode, in wrapEvaluateResultAsync()
119 bool silent, WrapMode wrapMode, bool userGesture, bool awaitPromise, in innerCallFunctionOn()
168 scope.tryCatch(), objectGroup, WrapMode::kNoPreview, in innerCallFunctionOn()
323 WrapMode wrap_mode = generatePreview.fromMaybe(false) ? WrapMode::kWithPreview in evaluate()
324 : WrapMode::kNoPreview; in evaluate()
325 if (returnByValue.fromMaybe(false)) wrap_mode = WrapMode::kForceValue; in evaluate()
327 wrap_mode = WrapMode::kGenerateWebDriverValue; in evaluate()
358 WrapMode mode = generatePreview.fromMaybe(false) ? WrapMode::kWithPreview in awaitPromise()
359 : WrapMode::kNoPreview; in awaitPromise()
360 if (returnByValue.fromMaybe(false)) mode = WrapMode::kForceValue; in awaitPromise()
[all …]
Dinjected-script.h54 enum class WrapMode; variable
81 WrapMode wrapMode,
99 WrapMode wrapMode,
102 WrapMode wrapMode,
107 const ValueMirror& mirror, const String16& groupName, WrapMode wrapMode,
115 const String16& objectGroup, WrapMode wrapMode,
136 const String16& objectGroup, WrapMode wrapMode,
Dinjected-script.cc76 WrapMode wrapMode, bool replMode, in add()
145 WrapMode wrapMode, bool replMode, in ProtocolPromiseHandler()
334 WrapMode m_wrapMode;
364 WrapMode wrapMode, std::unique_ptr<Array<PropertyDescriptor>>* properties, in getProperties()
467 m_context->context(), WrapMode::kNoPreview, &remoteObject); in getInternalAndPrivateProperties()
495 context, WrapMode::kNoPreview, &remoteObject); in getInternalAndPrivateProperties()
506 context, WrapMode::kNoPreview, &remoteObject); in getInternalAndPrivateProperties()
517 context, WrapMode::kNoPreview, &remoteObject); in getInternalAndPrivateProperties()
538 v8::Local<v8::Value> value, const String16& groupName, WrapMode wrapMode, in wrapObject()
545 v8::Local<v8::Value> value, const String16& groupName, WrapMode wrapMode, in wrapObject()
[all …]
Dvalue-mirror.h20 enum class WrapMode; variable
56 v8::Local<v8::Context> context, WrapMode mode,
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSamplerGL.cpp54 GLenum WrapMode(wgpu::AddressMode mode) { in WrapMode() function
103 gl.SamplerParameteri(sampler, GL_TEXTURE_WRAP_R, WrapMode(descriptor->addressModeW)); in SetupGLSampler()
104 gl.SamplerParameteri(sampler, GL_TEXTURE_WRAP_S, WrapMode(descriptor->addressModeU)); in SetupGLSampler()
105 gl.SamplerParameteri(sampler, GL_TEXTURE_WRAP_T, WrapMode(descriptor->addressModeV)); in SetupGLSampler()
/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp2311 WrapMode FromGLenum<WrapMode>(GLenum from) in FromGLenum()
2316 return WrapMode::ClampToEdge; in FromGLenum()
2318 return WrapMode::ClampToBorder; in FromGLenum()
2320 return WrapMode::MirroredRepeat; in FromGLenum()
2322 return WrapMode::Repeat; in FromGLenum()
2324 return WrapMode::InvalidEnum; in FromGLenum()
2328 GLenum ToGLenum(WrapMode from) in ToGLenum()
2332 case WrapMode::ClampToEdge: in ToGLenum()
2334 case WrapMode::ClampToBorder: in ToGLenum()
2336 case WrapMode::MirroredRepeat: in ToGLenum()
[all …]
DPackedGLEnums_autogen.h573 enum class WrapMode : uint8_t enum
585 WrapMode FromGLenum<WrapMode>(GLenum from);
586 GLenum ToGLenum(WrapMode from);
587 std::ostream &operator<<(std::ostream &os, WrapMode value);
/third_party/skia/src/gpu/d3d/
DGrD3DResourceProvider.cpp124 static D3D12_TEXTURE_ADDRESS_MODE wrap_mode_to_d3d_address_mode(GrSamplerState::WrapMode wrapMode) { in wrap_mode_to_d3d_address_mode()
126 case GrSamplerState::WrapMode::kClamp: in wrap_mode_to_d3d_address_mode()
128 case GrSamplerState::WrapMode::kRepeat: in wrap_mode_to_d3d_address_mode()
130 case GrSamplerState::WrapMode::kMirrorRepeat: in wrap_mode_to_d3d_address_mode()
132 case GrSamplerState::WrapMode::kClampToBorder: in wrap_mode_to_d3d_address_mode()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp305 const tcu::Sampler::WrapMode wrapS,
306 const tcu::Sampler::WrapMode wrapT,
323 tcu::Sampler::WrapMode m_wrapS;
324 tcu::Sampler::WrapMode m_wrapT;
333 const tcu::Sampler::WrapMode wrapS, in SRGBTestSampler()
334 const tcu::Sampler::WrapMode wrapT, in SRGBTestSampler()
409 const tcu::Sampler::WrapMode wrapS,
410 const tcu::Sampler::WrapMode wrapT,
436 tcu::Sampler::WrapMode m_wrapS;
437 tcu::Sampler::WrapMode m_wrapT;
[all …]
Des31fTextureGatherTests.cpp968 tcu::Sampler::WrapMode wrapS,
969 tcu::Sampler::WrapMode wrapT,
1002 const tcu::Sampler::WrapMode m_wrapS;
1003 const tcu::Sampler::WrapMode m_wrapT;
1044 tcu::Sampler::WrapMode wrapS, in TextureGatherCase()
1045 tcu::Sampler::WrapMode wrapT, in TextureGatherCase()
1651 tcu::Sampler::WrapMode wrapS, in TextureGather2DCase()
1652 tcu::Sampler::WrapMode wrapT, in TextureGather2DCase()
1741 tcu::Sampler::WrapMode wrapS, in TextureGather2DArrayCase()
1742 tcu::Sampler::WrapMode wrapT, in TextureGather2DArrayCase()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuTexVerifierUtil.hpp108 inline bool isWrapModeSupported (const Sampler::WrapMode mode) in isWrapModeSupported()
119 int wrap (Sampler::WrapMode mode, int c, int size);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp1007 tcu::Sampler::WrapMode wrapS;
1008 tcu::Sampler::WrapMode wrapT;
1023 const tcu::Sampler::WrapMode wrapS_, in GatherCaseBaseParams()
1024 const tcu::Sampler::WrapMode wrapT_, in GatherCaseBaseParams()
1952 const tcu::Sampler::WrapMode wrapS,
1953 const tcu::Sampler::WrapMode wrapT,
1980 const tcu::Sampler::WrapMode wrapS, in TextureGather2DCase()
1981 const tcu::Sampler::WrapMode wrapT, in TextureGather2DCase()
2179 const tcu::Sampler::WrapMode wrapS,
2180 const tcu::Sampler::WrapMode wrapT,
[all …]
/third_party/skia/gm/
Dlazytiling.cpp154 GrSamplerState::WrapMode xTileMode, in draw_texture()
155 GrSamplerState::WrapMode yTileMode) { in draw_texture()

123