Lines Matching defs:GrD3DGpu

8 #include "src/gpu/d3d/GrD3DGpu.h"
33 GrThreadSafePipelineBuilder* GrD3DGpu::pipelineBuilder() {
37 sk_sp<GrThreadSafePipelineBuilder> GrD3DGpu::refPipelineBuilder() {
42 sk_sp<GrGpu> GrD3DGpu::Make(const GrD3DBackendContext& backendContext,
55 return sk_sp<GrGpu>(new GrD3DGpu(direct, contextOptions, backendContext, memoryAllocator));
67 GrD3DGpu::GrD3DGpu(GrDirectContext* direct, const GrContextOptions& contextOptions,
97 GrD3DGpu::~GrD3DGpu() {
101 void GrD3DGpu::destroyResources() {
127 GrOpsRenderPass* GrD3DGpu::onGetOpsRenderPass(
147 bool GrD3DGpu::submitDirectCommandList(SyncQueue sync) {
191 void GrD3DGpu::checkForFinishedCommandLists() {
210 void GrD3DGpu::waitForQueueCompletion() {
221 void GrD3DGpu::submit(GrOpsRenderPass* renderPass) {
228 void GrD3DGpu::endRenderPass(GrRenderTarget* target, GrSurfaceOrigin origin,
233 void GrD3DGpu::addFinishedProc(GrGpuFinishedProc finishedProc,
239 void GrD3DGpu::addFinishedCallback(sk_sp<GrRefCntedCallback> finishedCallback) {
254 sk_sp<GrD3DTexture> GrD3DGpu::createD3DTexture(SkISize dimensions,
296 sk_sp<GrTexture> GrD3DGpu::onCreateTexture(SkISize dimensions,
344 sk_sp<GrTexture> GrD3DGpu::onCreateCompressedTexture(SkISize dimensions,
413 sk_sp<GrTexture> GrD3DGpu::onCreateCompressedTexture(SkISize dimensions,
431 bool GrD3DGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
477 void GrD3DGpu::copySurfaceAsCopyTexture(GrSurface* dst, GrSurface* src,
528 void GrD3DGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
540 void GrD3DGpu::resolveTexture(GrSurface* dst, int32_t dstX, int32_t dstY,
563 void GrD3DGpu::onResolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect) {
571 bool GrD3DGpu::onReadPixels(GrSurface* surface,
630 void GrD3DGpu::readOrTransferPixels(GrD3DTextureResource* texResource,
664 bool GrD3DGpu::onWritePixels(GrSurface* surface,
697 bool GrD3DGpu::uploadToTexture(GrD3DTexture* tex,
792 bool GrD3DGpu::onTransferPixelsTo(GrTexture* texture,
860 bool GrD3DGpu::onTransferPixelsFrom(GrSurface* surface,
939 sk_sp<GrTexture> GrD3DGpu::onWrapBackendTexture(const GrBackendTexture& tex,
967 sk_sp<GrTexture> GrD3DGpu::onWrapCompressedBackendTexture(const GrBackendTexture& tex,
973 sk_sp<GrTexture> GrD3DGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex,
1008 sk_sp<GrRenderTarget> GrD3DGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) {
1056 bool GrD3DGpu::onRegenerateMipMapLevels(GrTexture * tex) {
1263 sk_sp<GrGpuBuffer> GrD3DGpu::onCreateBuffer(size_t sizeInBytes, GrGpuBufferType type,
1273 sk_sp<GrAttachment> GrD3DGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
1281 bool GrD3DGpu::createTextureResourceForBackendSurface(DXGI_FORMAT dxgiFormat,
1351 GrBackendTexture GrD3DGpu::onCreateBackendTexture(SkISize dimensions,
1400 bool GrD3DGpu::onClearBackendTexture(const GrBackendTexture& backendTexture,
1494 GrBackendTexture GrD3DGpu::onCreateCompressedBackendTexture(
1501 bool GrD3DGpu::onUpdateCompressedBackendTexture(const GrBackendTexture& backendTexture,
1587 void GrD3DGpu::deleteBackendTexture(const GrBackendTexture& tex) {
1592 bool GrD3DGpu::compile(const GrProgramDesc&, const GrProgramInfo&) {
1597 bool GrD3DGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
1611 GrBackendRenderTarget GrD3DGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions,
1632 void GrD3DGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
1643 void GrD3DGpu::testingOnly_startCapture() {
1649 void GrD3DGpu::testingOnly_endCapture() {
1658 void GrD3DGpu::addResourceBarriers(sk_sp<GrManagedResource> resource,
1667 void GrD3DGpu::addBufferResourceBarriers(GrD3DBuffer* buffer,
1678 void GrD3DGpu::prepareSurfacesForBackendAccessAndStateUpdates(
1699 void GrD3DGpu::takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) {
1703 bool GrD3DGpu::onSubmitToGpu(bool syncCpu) {
1711 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrD3DGpu::makeSemaphore(bool) {
1714 std::unique_ptr<GrSemaphore> GrD3DGpu::wrapBackendSemaphore(const GrBackendSemaphore& semaphore,
1725 void GrD3DGpu::insertSemaphore(GrSemaphore* semaphore) {
1732 void GrD3DGpu::waitSemaphore(GrSemaphore* semaphore) {
1739 GrFence SK_WARN_UNUSED_RESULT GrD3DGpu::insertFence() {
1744 bool GrD3DGpu::waitFence(GrFence fence) {
1748 void GrD3DGpu::finishOutstandingGpuWork() {