chromium/third_party/skia/src/gpu/ganesh/gl/GrGLTypesPriv.cpp

/*
 * Copyright 2019 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "src/gpu/ganesh/gl/GrGLTypesPriv.h"

#include "include/core/SkScalar.h"
#include "include/gpu/ganesh/GrTypes.h"
#include "src/gpu/ganesh/gl/GrGLDefines.h"

GrGLTextureParameters::SamplerOverriddenState::SamplerOverriddenState()
        // These are the OpenGL defaults.
        :{}

void GrGLTextureParameters::SamplerOverriddenState::invalidate() {}

GrGLTextureParameters::NonsamplerState::NonsamplerState()
        // These are the OpenGL defaults.
        :{}

void GrGLTextureParameters::NonsamplerState::invalidate() {}

void GrGLTextureParameters::invalidate() {}

void GrGLTextureParameters::set(const SamplerOverriddenState* samplerState,
                                const NonsamplerState& nonsamplerState,
                                ResetTimestamp currTimestamp) {}

GrGLSurfaceInfo GrGLTextureSpecToSurfaceInfo(const GrGLTextureSpec& glSpec,
                                             uint32_t sampleCount,
                                             uint32_t levelCount,
                                             GrProtected isProtected) {}