Searched refs:backingDesc (Results 1 – 4 of 4) sorted by relevance
127 GrSurfaceDesc backingDesc; in setup_backend_objects() local128 backingDesc.fFlags = kNone_GrSurfaceFlags; in setup_backend_objects()129 backingDesc.fWidth = bm.width(); in setup_backend_objects()130 backingDesc.fHeight = bm.height(); in setup_backend_objects()132 backingDesc.fConfig = kRGBA_8888_GrPixelConfig; in setup_backend_objects()133 backingDesc.fSampleCnt = 1; in setup_backend_objects()165 backingTexture = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo, texels.get(), in setup_backend_objects()177 backingDesc.fFlags = kRenderTarget_GrSurfaceFlag; in setup_backend_objects()178 backingDesc.fWidth = options.fOffScreenWidth; in setup_backend_objects()179 backingDesc.fHeight = options.fOffScreenHeight; in setup_backend_objects()[all …]
93 GrSurfaceDesc backingDesc; in create_gpu_surface_backend_texture_as_render_target() local94 backingDesc.fFlags = kRenderTarget_GrSurfaceFlag; in create_gpu_surface_backend_texture_as_render_target()95 backingDesc.fWidth = width; in create_gpu_surface_backend_texture_as_render_target()96 backingDesc.fHeight = height; in create_gpu_surface_backend_texture_as_render_target()97 backingDesc.fConfig = config; in create_gpu_surface_backend_texture_as_render_target()98 backingDesc.fSampleCnt = sampleCnt; in create_gpu_surface_backend_texture_as_render_target()102 *backingSurface = resourceProvider->createTexture(backingDesc, SkBudgeted::kNo); in create_gpu_surface_backend_texture_as_render_target()