Lines Matching defs:const
42 sk_sp<GrGpu> GrD3DGpu::Make(const GrD3DBackendContext& backendContext,
43 const GrContextOptions& contextOptions, GrDirectContext* direct) {
62 static const int kDefaultOutstandingAllocCnt = 8;
67 GrD3DGpu::GrD3DGpu(GrDirectContext* direct, const GrContextOptions& contextOptions,
68 const GrD3DBackendContext& backendContext,
132 const SkIRect& bounds,
133 const GrOpsRenderPass::LoadAndStoreInfo& colorInfo,
134 const GrOpsRenderPass::StencilLoadAndStoreInfo& stencilInfo,
135 const SkTArray<GrSurfaceProxy*, true>& sampledProxies,
229 const SkIRect& bounds) {
297 const GrBackendFormat& format,
328 const void* compressedData, int numMipLevels) {
333 const char* src = static_cast<const char*>(compressedData);
345 const GrBackendFormat& format,
349 const void* data, size_t dataSize) {
414 const GrBackendFormat& format,
425 if (const GrRenderTarget* rt = surf->asRenderTarget()) {
431 bool GrD3DGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
432 const SkIPoint& dstPoint) {
480 const SkIRect& srcRect, const SkIPoint& dstPoint) {
528 void GrD3DGpu::copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
529 const SkIPoint& dstPoint) {
541 GrD3DRenderTarget* src, const SkIRect& srcIRect) {
563 void GrD3DGpu::onResolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect) {
616 const void* mappedMemory = transferBuffer->map();
633 const D3D12_PLACED_SUBRESOURCE_FOOTPRINT& placedFootprint) {
668 const GrMipLevel texels[],
700 const GrMipLevel* texels,
758 const size_t trimRowBytes = currentWidth * bpp;
759 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes;
764 const char* src = (const char*)texels[currentMipLevel].fPixels;
913 static bool check_resource_info(const GrD3DTextureResourceInfo& info) {
920 static bool check_tex_resource_info(const GrD3DCaps& caps, const GrD3DTextureResourceInfo& info) {
931 static bool check_rt_resource_info(const GrD3DCaps& caps, const GrD3DTextureResourceInfo& info,
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) {
1063 const GrD3DCaps & caps = this->d3dCaps();
1264 GrAccessPattern accessPattern, const void* data) {
1273 sk_sp<GrAttachment> GrD3DGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
1352 const GrBackendFormat& format,
1356 const GrD3DCaps& caps = this->d3dCaps();
1382 static bool copy_color_data(const GrD3DCaps& caps,
1400 bool GrD3DGpu::onClearBackendTexture(const GrBackendTexture& backendTexture,
1495 SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped,
1501 bool GrD3DGpu::onUpdateCompressedBackendTexture(const GrBackendTexture& backendTexture,
1503 const void* data,
1587 void GrD3DGpu::deleteBackendTexture(const GrBackendTexture& tex) {
1592 bool GrD3DGpu::compile(const GrProgramDesc&, const GrProgramInfo&) {
1597 bool GrD3DGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
1632 void GrD3DGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget& rt) {
1660 D3D12_RESOURCE_TRANSITION_BARRIER* barriers) const {
1669 D3D12_RESOURCE_TRANSITION_BARRIER* barriers) const {
1674 fCurrentDirectCommandList->addGrBuffer(sk_ref_sp<const GrBuffer>(buffer));
1681 const GrBackendSurfaceMutableState* newState) {
1714 std::unique_ptr<GrSemaphore> GrD3DGpu::wrapBackendSemaphore(const GrBackendSemaphore& semaphore,