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

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

Issue 2259523002: Fix gles2_conform_test failures when Mac switching to core profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_TEX_IMAGE_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEX_IMAGE_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEX_IMAGE_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEX_IMAGE_H_
7 7
8 #include <array> 8 #include <array>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 13 matching lines...) Expand all
24 // glCopyTexImage and glCopyTexSubImage commands. These commands somtimes 24 // glCopyTexImage and glCopyTexSubImage commands. These commands somtimes
25 // require a blit. 25 // require a blit.
26 class GPU_EXPORT CopyTexImageResourceManager { 26 class GPU_EXPORT CopyTexImageResourceManager {
27 public: 27 public:
28 explicit CopyTexImageResourceManager(const gles2::FeatureInfo* feature_info); 28 explicit CopyTexImageResourceManager(const gles2::FeatureInfo* feature_info);
29 ~CopyTexImageResourceManager(); 29 ~CopyTexImageResourceManager();
30 30
31 void Initialize(const gles2::GLES2Decoder* decoder); 31 void Initialize(const gles2::GLES2Decoder* decoder);
32 void Destroy(); 32 void Destroy();
33 33
34 void DoCopyTexImage2DToLUMAComatabilityTexture( 34 void DoCopyTexImage2DToLUMACompatibilityTexture(
35 const gles2::GLES2Decoder* decoder, 35 const gles2::GLES2Decoder* decoder,
36 GLuint dest_texture, 36 GLuint dest_texture,
37 GLenum dest_texture_target, 37 GLenum dest_texture_target,
38 GLenum dest_target, 38 GLenum dest_target,
39 GLenum luma_format, 39 GLenum luma_format,
40 GLenum luma_type, 40 GLenum luma_type,
41 GLint level, 41 GLint level,
42 GLenum internal_format, 42 GLenum internal_format,
43 GLint x, 43 GLint x,
44 GLint y, 44 GLint y,
45 GLsizei width, 45 GLsizei width,
46 GLsizei height, 46 GLsizei height,
47 GLuint source_framebuffer, 47 GLuint source_framebuffer,
48 GLenum source_framebuffer_internal_format); 48 GLenum source_framebuffer_internal_format);
49 49
50 void DoCopyTexSubImage2DToLUMAComatabilityTexture( 50 void DoCopyTexSubImage2DToLUMACompatibilityTexture(
51 const gles2::GLES2Decoder* decoder, 51 const gles2::GLES2Decoder* decoder,
52 GLuint dest_texture, 52 GLuint dest_texture,
53 GLenum dest_texture_target, 53 GLenum dest_texture_target,
54 GLenum dest_target, 54 GLenum dest_target,
55 GLenum luma_format, 55 GLenum luma_format,
56 GLenum luma_type, 56 GLenum luma_type,
57 GLint level, 57 GLint level,
58 GLint xoffset, 58 GLint xoffset,
59 GLint yoffset, 59 GLint yoffset,
60 GLint x, 60 GLint x,
(...skipping 17 matching lines...) Expand all
78 GLuint scratch_fbo_ = 0; 78 GLuint scratch_fbo_ = 0;
79 79
80 GLuint vao_ = 0; 80 GLuint vao_ = 0;
81 81
82 DISALLOW_COPY_AND_ASSIGN(CopyTexImageResourceManager); 82 DISALLOW_COPY_AND_ASSIGN(CopyTexImageResourceManager);
83 }; 83 };
84 84
85 } // namespace gpu. 85 } // namespace gpu.
86 86
87 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEX_IMAGE_H_ 87 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_COPY_TEX_IMAGE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/buffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698