summaryrefslogtreecommitdiffstats
path: root/chromium/gpu/command_buffer/client/raster_implementation.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-05 17:34:47 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-06 10:04:14 +0000
commiteaf1da4d961fbbda9455f9af3b23d1af777f43fa (patch)
tree95970599ecee31c4f7f940bc97ac98c61a3d0cad /chromium/gpu/command_buffer/client/raster_implementation.h
parent38a9a29f4f9436cace7f0e7abf9c586057df8a4e (diff)
BASELINE: Update Chromium to 73.0.3683.64
Change-Id: I76517dc277ba4e16bfd7e098fda3d079656b3b9f Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
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