Home
last modified time | relevance | path

Searched refs:GrGLTextureParameters (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/include/private/
DGrGLTypesPriv.h16 class GrGLTextureParameters : public SkNVRefCnt<GrGLTextureParameters> {
28 GrGLTextureParameters() = default;
78 GrGLBackendTextureInfo(const GrGLTextureInfo& info, GrGLTextureParameters* params) in GrGLBackendTextureInfo()
83 GrGLTextureParameters* parameters() const { return fParams; } in parameters()
84 sk_sp<GrGLTextureParameters> refParameters() const { return sk_ref_sp(fParams); } in refParameters()
91 GrGLTextureParameters* fParams;
/third_party/skia/src/gpu/gl/
DGrGLTypesPriv.cpp13 GrGLTextureParameters::SamplerOverriddenState::SamplerOverriddenState() in SamplerOverriddenState()
23 void GrGLTextureParameters::SamplerOverriddenState::invalidate() { in invalidate()
33 GrGLTextureParameters::NonsamplerState::NonsamplerState() in NonsamplerState()
37 void GrGLTextureParameters::NonsamplerState::invalidate() { in invalidate()
43 void GrGLTextureParameters::invalidate() { in invalidate()
48 void GrGLTextureParameters::set(const SamplerOverriddenState* samplerState, in set()
DGrGLTexture.h42 GrGLTextureParameters* parameters() { return fParameters.get(); } in parameters()
56 sk_sp<GrGLTextureParameters>,
63 GrGLTexture(GrGLGpu*, const Desc&, sk_sp<GrGLTextureParameters>, GrMipmapStatus);
69 sk_sp<GrGLTextureParameters>,
81 sk_sp<GrGLTextureParameters> fParameters;
DGrGLTexture.cpp52 , fParameters(sk_make_sp<GrGLTextureParameters>()) { in GrGLTexture()
61 sk_sp<GrGLTextureParameters> parameters, GrWrapCacheable cacheable, in GrGLTexture()
75 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, sk_sp<GrGLTextureParameters> parameters, in GrGLTexture()
81 fParameters = parameters ? std::move(parameters) : sk_make_sp<GrGLTextureParameters>(); in GrGLTexture()
129 sk_sp<GrGLTextureParameters> parameters, in MakeWrapped()
DGrGLTextureRenderTarget.h41 sk_sp<GrGLTextureParameters>,
67 sk_sp<GrGLTextureParameters> parameters,
DGrGLTextureRenderTarget.cpp31 sk_sp<GrGLTextureParameters> parameters, in GrGLTextureRenderTarget()
67 sk_sp<GrGLTextureParameters> parameters, in MakeWrapped()
DGrGLGpu.cpp843 GrGLTextureParameters::NonsamplerState nonsamplerState = params->nonsamplerState(); in onWritePixels()
1333 static GrGLTextureParameters::SamplerOverriddenState set_initial_texture_params( in set_initial_texture_params()
1338 GrGLTextureParameters::SamplerOverriddenState state; in set_initial_texture_params()
1367 GrGLTextureParameters::SamplerOverriddenState initialState; in onCreateTexture()
1413 tex->parameters()->set(&initialState, GrGLTextureParameters::NonsamplerState(), in onCreateTexture()
1467 GrGLTextureParameters::SamplerOverriddenState initialState; in onCreateCompressedTexture()
1496 tex->parameters()->set(&initialState, GrGLTextureParameters::NonsamplerState(), in onCreateCompressedTexture()
1519 GrGLTextureParameters::SamplerOverriddenState initialState; in onCreateCompressedBackendTexture()
1532 auto parameters = sk_make_sp<GrGLTextureParameters>(); in onCreateCompressedBackendTexture()
1534 parameters->set(&initialState, GrGLTextureParameters::NonsamplerState(), in onCreateCompressedBackendTexture()
[all …]
DGrGLGpu.h299 GrGLTextureParameters::SamplerOverriddenState*,
306 GrGLTextureParameters::SamplerOverriddenState*);
784 GrGLTextureParameters::ResetTimestamp fResetTimestampForTextureParameters = 0;
/third_party/skia/tests/
DGLBackendSurfaceTest.cpp28 static bool sampler_params_invalid(const GrGLTextureParameters& parameters) { in sampler_params_invalid()
32 static bool nonsampler_params_invalid(const GrGLTextureParameters& parameters) { in nonsampler_params_invalid()
33 GrGLTextureParameters::NonsamplerState nsState = parameters.nonsamplerState(); in nonsampler_params_invalid()
34 GrGLTextureParameters::NonsamplerState invalidNSState; in nonsampler_params_invalid()
41 static bool params_invalid(const GrGLTextureParameters& parameters) { in params_invalid()
45 static bool params_valid(const GrGLTextureParameters& parameters, const GrGLCaps* caps) { in params_valid()
80 GrGLTextureParameters::SamplerOverriddenState invalidSState; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
82 GrGLTextureParameters::NonsamplerState invalidNSState; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
DTraceMemoryDumpTest.cpp117 auto params = sk_make_sp<GrGLTextureParameters>(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/include/gpu/
DGrBackendSurface.h30 class GrGLTextureParameters; variable
399 sk_sp<GrGLTextureParameters>);
400 sk_sp<GrGLTextureParameters> getGLTextureParams() const;
/third_party/skia/src/gpu/
DGrBackendSurface.cpp517 sk_sp<GrGLTextureParameters> params) in GrBackendTexture()
526 sk_sp<GrGLTextureParameters> GrBackendTexture::getGLTextureParams() const { in getGLTextureParams()
573 : GrBackendTexture(width, height, mipmapped, glInfo, sk_make_sp<GrGLTextureParameters>()) { in GrBackendTexture()