Lines Matching defs:GrGpu

9 #include "GrGpu.h"
31 GrGpu::GrGpu(GrContext* context)
38 GrGpu::~GrGpu() {}
40 void GrGpu::disconnect(DisconnectType) {}
44 bool GrGpu::isACopyNeededForTextureParams(int width, int height,
133 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted,
135 GR_CREATE_TRACE_MARKER_CONTEXT("GrGpu", "createTexture", fContext);
172 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) {
176 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex,
209 sk_sp<GrRenderTarget> GrGpu::wrapBackendRenderTarget(const GrBackendRenderTarget& backendRT,
218 sk_sp<GrRenderTarget> GrGpu::wrapBackendTextureAsRenderTarget(const GrBackendTexture& tex,
232 GrBuffer* GrGpu::createBuffer(size_t size, GrBufferType intendedType,
242 std::unique_ptr<gr_instanced::OpAllocator> GrGpu::createInstancedRenderingAllocator() {
247 gr_instanced::InstancedRendering* GrGpu::createInstancedRendering() {
252 bool GrGpu::copySurface(GrSurface* dst,
256 GR_CREATE_TRACE_MARKER_CONTEXT("GrGpu", "copySurface", fContext);
266 bool GrGpu::getReadPixelsInfo(GrSurface* srcSurface, int width, int height, size_t rowBytes,
297 bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height,
323 bool GrGpu::readPixels(GrSurface* surface,
350 bool GrGpu::writePixels(GrSurface* surface,
387 bool GrGpu::writePixels(GrSurface* surface,
396 bool GrGpu::transferPixels(GrTexture* texture,
426 void GrGpu::resolveRenderTarget(GrRenderTarget* target) {
432 void GrGpu::didWriteToSurface(GrSurface* surface, const SkIRect* bounds, uint32_t mipLevels) const {
446 const GrGpu::MultisampleSpecs& GrGpu::queryMultisampleSpecs(const GrPipeline& pipeline) {
487 bool GrGpu::SamplePatternComparator::operator()(const SamplePattern& a,