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

Unified Diff: gpu/command_buffer/client/context_support.h

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 | « gpu/command_buffer/client/cmd_buffer_helper_test.cc ('k') | gpu/command_buffer/client/fenced_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/context_support.h
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
index 19218aa2a6f84f61d46ae8b5772086a4f7d209e4..1e7119084e5da53a5f2f56bcc70b0a5c3b3d088c 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -5,6 +5,8 @@
#ifndef GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
#define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
+#include <stdint.h>
+
#include "base/callback.h"
#include "ui/gfx/overlay_transform.h"
@@ -20,7 +22,7 @@ struct SyncToken;
class ContextSupport {
public:
// Runs |callback| when a sync point is reached.
- virtual void SignalSyncPoint(uint32 sync_point,
+ virtual void SignalSyncPoint(uint32_t sync_point,
const base::Closure& callback) = 0;
// Runs |callback| when a sync token is signalled.
@@ -29,7 +31,7 @@ class ContextSupport {
// Runs |callback| when a query created via glCreateQueryEXT() has cleared
// passed the glEndQueryEXT() point.
- virtual void SignalQuery(uint32 query, const base::Closure& callback) = 0;
+ virtual void SignalQuery(uint32_t query, const base::Closure& callback) = 0;
// Indicates whether the context should aggressively free allocated resources.
// If set to true, the context will purge all temporary resources when
@@ -50,8 +52,8 @@ class ContextSupport {
const gfx::Rect& display_bounds,
const gfx::RectF& uv_rect) = 0;
- virtual uint32 InsertFutureSyncPointCHROMIUM() = 0;
- virtual void RetireSyncPointCHROMIUM(uint32 sync_point) = 0;
+ virtual uint32_t InsertFutureSyncPointCHROMIUM() = 0;
+ virtual void RetireSyncPointCHROMIUM(uint32_t sync_point) = 0;
// Returns an ID that can be used to globally identify the share group that
// this context's resources belong to.
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper_test.cc ('k') | gpu/command_buffer/client/fenced_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698