Lines Matching defs:GrGpu
9 #include "src/gpu/GrGpu.h"
38 GrGpu::GrGpu(GrDirectContext* direct) : fResetBits(kAll_GrBackendState), fContext(direct) {}
40 GrGpu::~GrGpu() {
44 void GrGpu::initCapsAndCompiler(sk_sp<const GrCaps> caps) {
49 void GrGpu::disconnect(DisconnectType type) {}
98 sk_sp<GrTexture> GrGpu::createTextureCommon(SkISize dimensions,
108 // Call GrGpu::createCompressedTexture.
152 sk_sp<GrTexture> GrGpu::createTexture(SkISize dimensions,
182 sk_sp<GrTexture> GrGpu::createTexture(SkISize dimensions,
251 sk_sp<GrTexture> GrGpu::createCompressedTexture(SkISize dimensions,
287 sk_sp<GrTexture> GrGpu::createCompressedTexture(SkISize dimensions,
320 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex,
341 sk_sp<GrTexture> GrGpu::wrapCompressedBackendTexture(const GrBackendTexture& backendTex,
360 sk_sp<GrTexture> GrGpu::wrapRenderableBackendTexture(const GrBackendTexture& backendTex,
389 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT) {
405 sk_sp<GrRenderTarget> GrGpu::wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo& imageInfo,
410 sk_sp<GrRenderTarget> GrGpu::onWrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo& imageInfo,
416 sk_sp<GrGpuBuffer> GrGpu::createBuffer(size_t size, GrGpuBufferType intendedType,
427 bool GrGpu::copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
442 bool GrGpu::readPixels(GrSurface* surface,
477 bool GrGpu::writePixels(GrSurface* surface,
547 bool GrGpu::transferPixelsTo(GrTexture* texture,
597 bool GrGpu::transferPixelsFrom(GrSurface* surface,
634 bool GrGpu::regenerateMipMapLevels(GrTexture* texture) {
656 void GrGpu::resetTextureBindings() {
661 void GrGpu::resolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect) {
667 void GrGpu::didWriteToSurface(GrSurface* surface, GrSurfaceOrigin origin, const SkIRect* bounds,
684 void GrGpu::executeFlushInfo(SkSpan<GrSurfaceProxy*> proxies,
732 GrOpsRenderPass* GrGpu::getOpsRenderPass(
750 bool GrGpu::submitToGpu(bool syncCpu) {
770 void GrGpu::reportSubmitHistograms() {
785 bool GrGpu::checkAndResetOOMed() {
793 void GrGpu::callSubmittedProcs(bool success) {
803 void GrGpu::dumpJSON(SkJSONWriter* writer) const {
813 void GrGpu::dumpJSON(SkJSONWriter* writer) const { }
820 void GrGpu::Stats::dump(SkString* out) {
850 void GrGpu::Stats::dumpKeyValuePairs(SkTArray<SkString>* keys, SkTArray<double>* values) {
860 bool GrGpu::CompressedDataIsCorrect(SkISize dimensions,
872 GrBackendTexture GrGpu::createBackendTexture(SkISize dimensions,
900 bool GrGpu::clearBackendTexture(const GrBackendTexture& backendTexture,
914 GrBackendTexture GrGpu::createCompressedBackendTexture(SkISize dimensions,
943 bool GrGpu::updateCompressedBackendTexture(const GrBackendTexture& backendTexture,