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

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

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 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/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/context.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_CONTEXT_H_ 5 #ifndef GPU_GLES2_CONFORM_TEST_CONTEXT_H_
6 #define GPU_GLES2_CONFORM_TEST_CONTEXT_H_ 6 #define GPU_GLES2_CONFORM_TEST_CONTEXT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 static bool ValidateAttributeList(const EGLint* attrib_list); 56 static bool ValidateAttributeList(const EGLint* attrib_list);
57 57
58 // GpuControl implementation. 58 // GpuControl implementation.
59 void SetGpuControlClient(gpu::GpuControlClient*) override; 59 void SetGpuControlClient(gpu::GpuControlClient*) override;
60 gpu::Capabilities GetCapabilities() override; 60 gpu::Capabilities GetCapabilities() override;
61 int32_t CreateImage(ClientBuffer buffer, 61 int32_t CreateImage(ClientBuffer buffer,
62 size_t width, 62 size_t width,
63 size_t height, 63 size_t height,
64 unsigned internalformat) override; 64 unsigned internalformat) override;
65 void DestroyImage(int32_t id) override; 65 void DestroyImage(int32_t id) override;
66 int32_t CreateGpuMemoryBufferImage(size_t width,
67 size_t height,
68 unsigned internalformat,
69 unsigned usage) override;
70 void SignalQuery(uint32_t query, const base::Closure& callback) override; 66 void SignalQuery(uint32_t query, const base::Closure& callback) override;
71 void SetLock(base::Lock*) override; 67 void SetLock(base::Lock*) override;
72 void EnsureWorkVisible() override; 68 void EnsureWorkVisible() override;
73 gpu::CommandBufferNamespace GetNamespaceID() const override; 69 gpu::CommandBufferNamespace GetNamespaceID() const override;
74 gpu::CommandBufferId GetCommandBufferID() const override; 70 gpu::CommandBufferId GetCommandBufferID() const override;
75 int32_t GetExtraCommandBufferData() const override; 71 int32_t GetExtraCommandBufferData() const override;
76 uint64_t GenerateFenceSyncRelease() override; 72 uint64_t GenerateFenceSyncRelease() override;
77 bool IsFenceSyncRelease(uint64_t release) override; 73 bool IsFenceSyncRelease(uint64_t release) override;
78 bool IsFenceSyncFlushed(uint64_t release) override; 74 bool IsFenceSyncFlushed(uint64_t release) override;
79 bool IsFenceSyncFlushReceived(uint64_t release) override; 75 bool IsFenceSyncFlushReceived(uint64_t release) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 110
115 scoped_refptr<gl::GLContext> gl_context_; 111 scoped_refptr<gl::GLContext> gl_context_;
116 112
117 std::unique_ptr<gpu::gles2::GLES2Interface> client_gl_context_; 113 std::unique_ptr<gpu::gles2::GLES2Interface> client_gl_context_;
118 DISALLOW_COPY_AND_ASSIGN(Context); 114 DISALLOW_COPY_AND_ASSIGN(Context);
119 }; 115 };
120 116
121 } // namespace egl 117 } // namespace egl
122 118
123 #endif // GPU_GLES2_CONFORM_TEST_CONTEXT_H_ 119 #endif // GPU_GLES2_CONFORM_TEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698