Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3372)

Unified Diff: cc/raster/raster_buffer_provider.h

Issue 2110083004: Partial raster for GPU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@partialuma2
Patch Set: Add missing resource cleanup to unit tests. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/raster/one_copy_raster_buffer_provider.cc ('k') | cc/raster/zero_copy_raster_buffer_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_buffer_provider.h
diff --git a/cc/raster/raster_buffer_provider.h b/cc/raster/raster_buffer_provider.h
index 616d1238c04a6dd859a75d13ae146cb993250df4..fe6921d6f4a7d79dc18f21b2da5967a87c8f19bd 100644
--- a/cc/raster/raster_buffer_provider.h
+++ b/cc/raster/raster_buffer_provider.h
@@ -63,8 +63,8 @@ class CC_EXPORT RasterBufferProvider {
virtual bool IsResourceSwizzleRequired(bool must_support_alpha) const = 0;
// Determine if the RasterBufferProvider can handle partial raster into
- // resources.
- virtual bool IsPartialRasterSupported() const = 0;
+ // the Resource provided in AcquireBufferForRaster.
+ virtual bool CanPartialRasterIntoProvidedResource() const = 0;
// Shutdown for doing cleanup.
virtual void Shutdown() = 0;
« no previous file with comments | « cc/raster/one_copy_raster_buffer_provider.cc ('k') | cc/raster/zero_copy_raster_buffer_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698