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

Side by Side Diff: gpu/gles2_conform_support/egl/display.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 unified diff | Download patch
« no previous file with comments | « gpu/gles2_conform_support/egl/config.h ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
7 7
8 #include <EGL/egl.h> 8 #include <EGL/egl.h>
9 #include <stddef.h>
10 #include <stdint.h>
9 11
12 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 14 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
12 #include "gpu/command_buffer/client/gpu_control.h" 15 #include "gpu/command_buffer/client/gpu_control.h"
13 #include "gpu/command_buffer/service/command_buffer_service.h" 16 #include "gpu/command_buffer/service/command_buffer_service.h"
14 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 17 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
15 #include "gpu/command_buffer/service/gpu_scheduler.h" 18 #include "gpu/command_buffer/service/gpu_scheduler.h"
16 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
17 #include "ui/gl/gl_context.h" 20 #include "ui/gl/gl_context.h"
18 #include "ui/gl/gl_surface.h" 21 #include "ui/gl/gl_surface.h"
19 22
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 gpu::Capabilities GetCapabilities() override; 84 gpu::Capabilities GetCapabilities() override;
82 int32_t CreateImage(ClientBuffer buffer, 85 int32_t CreateImage(ClientBuffer buffer,
83 size_t width, 86 size_t width,
84 size_t height, 87 size_t height,
85 unsigned internalformat) override; 88 unsigned internalformat) override;
86 void DestroyImage(int32_t id) override; 89 void DestroyImage(int32_t id) override;
87 int32_t CreateGpuMemoryBufferImage(size_t width, 90 int32_t CreateGpuMemoryBufferImage(size_t width,
88 size_t height, 91 size_t height,
89 unsigned internalformat, 92 unsigned internalformat,
90 unsigned usage) override; 93 unsigned usage) override;
91 uint32 InsertSyncPoint() override; 94 uint32_t InsertSyncPoint() override;
92 uint32 InsertFutureSyncPoint() override; 95 uint32_t InsertFutureSyncPoint() override;
93 void RetireSyncPoint(uint32 sync_point) override; 96 void RetireSyncPoint(uint32_t sync_point) override;
94 void SignalSyncPoint(uint32 sync_point, 97 void SignalSyncPoint(uint32_t sync_point,
95 const base::Closure& callback) override; 98 const base::Closure& callback) override;
96 void SignalQuery(uint32 query, const base::Closure& callback) override; 99 void SignalQuery(uint32_t query, const base::Closure& callback) override;
97 void SetLock(base::Lock*) override; 100 void SetLock(base::Lock*) override;
98 bool IsGpuChannelLost() override; 101 bool IsGpuChannelLost() override;
99 gpu::CommandBufferNamespace GetNamespaceID() const override; 102 gpu::CommandBufferNamespace GetNamespaceID() const override;
100 uint64_t GetCommandBufferID() const override; 103 uint64_t GetCommandBufferID() const override;
101 int32_t GetExtraCommandBufferData() const override; 104 int32_t GetExtraCommandBufferData() const override;
102 uint64_t GenerateFenceSyncRelease() override; 105 uint64_t GenerateFenceSyncRelease() override;
103 bool IsFenceSyncRelease(uint64_t release) override; 106 bool IsFenceSyncRelease(uint64_t release) override;
104 bool IsFenceSyncFlushed(uint64_t release) override; 107 bool IsFenceSyncFlushed(uint64_t release) override;
105 bool IsFenceSyncFlushReceived(uint64_t release) override; 108 bool IsFenceSyncFlushReceived(uint64_t release) override;
106 void SignalSyncToken(const gpu::SyncToken& sync_token, 109 void SignalSyncToken(const gpu::SyncToken& sync_token,
(...skipping 30 matching lines...) Expand all
137 scoped_ptr<Config> config_; 140 scoped_ptr<Config> config_;
138 scoped_ptr<Surface> surface_; 141 scoped_ptr<Surface> surface_;
139 scoped_ptr<gpu::gles2::GLES2Implementation> context_; 142 scoped_ptr<gpu::gles2::GLES2Implementation> context_;
140 143
141 DISALLOW_COPY_AND_ASSIGN(Display); 144 DISALLOW_COPY_AND_ASSIGN(Display);
142 }; 145 };
143 146
144 } // namespace egl 147 } // namespace egl
145 148
146 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 149 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/config.h ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698