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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h

Issue 12988003: [Android] Fix remaining linker errors for components build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | net/android/keystore.h » ('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_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_
7 7
8 #include "gpu/command_buffer/service/gl_utils.h" 8 #include "gpu/command_buffer/service/gl_utils.h"
9 #include "gpu/gpu_export.h"
9 10
10 namespace gpu { 11 namespace gpu {
11 namespace gles2 { 12 namespace gles2 {
12 13
13 class GLES2Decoder; 14 class GLES2Decoder;
14 15
15 } // namespace gles2. 16 } // namespace gles2.
16 17
17 // This class encapsulates the resources required to implement the 18 // This class encapsulates the resources required to implement the
18 // GL_CHROMIUM_copy_texture extension. The copy operation is performed 19 // GL_CHROMIUM_copy_texture extension. The copy operation is performed
19 // via a blit to a framebuffer object. 20 // via a blit to a framebuffer object.
20 class CopyTextureCHROMIUMResourceManager { 21 class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
21 public: 22 public:
22 CopyTextureCHROMIUMResourceManager() : initialized_(false) {} 23 CopyTextureCHROMIUMResourceManager() : initialized_(false) {}
23 24
24 void Initialize(const gles2::GLES2Decoder* decoder); 25 void Initialize(const gles2::GLES2Decoder* decoder);
25 void Destroy(); 26 void Destroy();
26 27
27 void DoCopyTexture(const gles2::GLES2Decoder* decoder, GLenum source_target, 28 void DoCopyTexture(const gles2::GLES2Decoder* decoder, GLenum source_target,
28 GLenum dest_target, GLuint source_id, GLuint dest_id, 29 GLenum dest_target, GLuint source_id, GLuint dest_id,
29 GLint level, GLsizei width, GLsizei height, 30 GLint level, GLsizei width, GLsizei height,
30 bool flip_y, bool premultiply_alpha, 31 bool flip_y, bool premultiply_alpha,
(...skipping 12 matching lines...) Expand all
43 GLuint sampler_locations_[kNumPrograms]; 44 GLuint sampler_locations_[kNumPrograms];
44 45
45 DISALLOW_COPY_AND_ASSIGN(CopyTextureCHROMIUMResourceManager); 46 DISALLOW_COPY_AND_ASSIGN(CopyTextureCHROMIUMResourceManager);
46 }; 47 };
47 48
48 } // namespace gpu. 49 } // namespace gpu.
49 50
50 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_ 51 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEXTURE_CHROMIUM_H_
51 52
52 53
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | net/android/keystore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698