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

Side by Side Diff: gpu/gles2_conform_support/egl/display.h

Issue 1548443002: Introducing gpu::CommandBufferId as a distinct, IdType<...>-based type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-save-package-id-self-contained
Patch Set: Rebasing... Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « gpu/command_buffer_common.gypi ('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> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void DestroyImage(int32_t id) override; 85 void DestroyImage(int32_t id) override;
86 int32_t CreateGpuMemoryBufferImage(size_t width, 86 int32_t CreateGpuMemoryBufferImage(size_t width,
87 size_t height, 87 size_t height,
88 unsigned internalformat, 88 unsigned internalformat,
89 unsigned usage) override; 89 unsigned usage) override;
90 void SignalQuery(uint32_t query, const base::Closure& callback) override; 90 void SignalQuery(uint32_t query, const base::Closure& callback) override;
91 void SetLock(base::Lock*) override; 91 void SetLock(base::Lock*) override;
92 bool IsGpuChannelLost() override; 92 bool IsGpuChannelLost() override;
93 void EnsureWorkVisible() override; 93 void EnsureWorkVisible() override;
94 gpu::CommandBufferNamespace GetNamespaceID() const override; 94 gpu::CommandBufferNamespace GetNamespaceID() const override;
95 uint64_t GetCommandBufferID() const override; 95 gpu::CommandBufferId GetCommandBufferID() const override;
96 int32_t GetExtraCommandBufferData() const override; 96 int32_t GetExtraCommandBufferData() const override;
97 uint64_t GenerateFenceSyncRelease() override; 97 uint64_t GenerateFenceSyncRelease() override;
98 bool IsFenceSyncRelease(uint64_t release) override; 98 bool IsFenceSyncRelease(uint64_t release) override;
99 bool IsFenceSyncFlushed(uint64_t release) override; 99 bool IsFenceSyncFlushed(uint64_t release) override;
100 bool IsFenceSyncFlushReceived(uint64_t release) override; 100 bool IsFenceSyncFlushReceived(uint64_t release) override;
101 void SignalSyncToken(const gpu::SyncToken& sync_token, 101 void SignalSyncToken(const gpu::SyncToken& sync_token,
102 const base::Closure& callback) override; 102 const base::Closure& callback) override;
103 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override; 103 bool CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) override;
104 104
105 private: 105 private:
(...skipping 19 matching lines...) Expand all
125 scoped_ptr<Config> config_; 125 scoped_ptr<Config> config_;
126 scoped_ptr<Surface> surface_; 126 scoped_ptr<Surface> surface_;
127 scoped_ptr<gpu::gles2::GLES2Implementation> context_; 127 scoped_ptr<gpu::gles2::GLES2Implementation> context_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(Display); 129 DISALLOW_COPY_AND_ASSIGN(Display);
130 }; 130 };
131 131
132 } // namespace egl 132 } // namespace egl
133 133
134 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 134 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer_common.gypi ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698