summaryrefslogtreecommitdiffstats
path: root/chromium/gpu/command_buffer/client/raster_implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/client/raster_implementation.h')
-rw-r--r--chromium/gpu/command_buffer/client/raster_implementation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/client/raster_implementation.h b/chromium/gpu/command_buffer/client/raster_implementation.h
index 444379df337..c4e01fd8628 100644
--- a/chromium/gpu/command_buffer/client/raster_implementation.h
+++ b/chromium/gpu/command_buffer/client/raster_implementation.h
@@ -242,7 +242,9 @@ class RASTER_EXPORT RasterImplementation : public RasterInterface,
GLenum value,
const char* label);
- void* MapRasterCHROMIUM(GLsizeiptr size);
+ // Try to map a transfer buffer of |size|. Will return a pointer to a
+ // buffer of |size_allocated|, which will be equal to or lesser than |size|.
+ void* MapRasterCHROMIUM(uint32_t size, uint32_t* size_allocated);
// |raster_written_size| is the size of buffer used by raster commands.
// |total_written_size| is the total size of the buffer written to, including