OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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_APPLY_FRAMEBUFFER_ATTACHMENT_CMAA_I
NTEL_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMAA_I
NTEL_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMAA_I
NTEL_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMAA_I
NTEL_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 #include "gpu/gpu_export.h" |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 GLuint CreateProgram(const char* defines, | 50 GLuint CreateProgram(const char* defines, |
51 const char* vs_source, | 51 const char* vs_source, |
52 const char* fs_source); | 52 const char* fs_source); |
53 GLuint CreateShader(GLenum type, const char* defines, const char* source); | 53 GLuint CreateShader(GLenum type, const char* defines, const char* source); |
54 | 54 |
55 bool initialized_; | 55 bool initialized_; |
56 bool textures_initialized_; | 56 bool textures_initialized_; |
57 bool is_in_gamma_correct_mode_; | 57 bool is_in_gamma_correct_mode_; |
58 bool supports_usampler_; | 58 bool supports_usampler_; |
59 bool supports_r8_image_; | 59 bool supports_r8_image_; |
| 60 bool supports_r8_read_format_; |
60 bool is_gles31_compatible_; | 61 bool is_gles31_compatible_; |
61 | 62 |
62 int frame_id_; | 63 int frame_id_; |
63 | 64 |
64 GLint width_; | 65 GLint width_; |
65 GLint height_; | 66 GLint height_; |
66 | 67 |
67 GLuint edges0_shader_; | 68 GLuint edges0_shader_; |
68 GLuint edges1_shader_; | 69 GLuint edges1_shader_; |
69 GLuint edges_combine_shader_; | 70 GLuint edges_combine_shader_; |
(...skipping 19 matching lines...) Expand all Loading... |
89 static const char cmaa_frag_s1_[]; | 90 static const char cmaa_frag_s1_[]; |
90 static const char cmaa_frag_s2_[]; | 91 static const char cmaa_frag_s2_[]; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(ApplyFramebufferAttachmentCMAAINTELResourceManager); | 93 DISALLOW_COPY_AND_ASSIGN(ApplyFramebufferAttachmentCMAAINTELResourceManager); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace gles2 | 96 } // namespace gles2 |
96 } // namespace gpu | 97 } // namespace gpu |
97 | 98 |
98 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMA
A_INTEL_H_ | 99 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMA
A_INTEL_H_ |
OLD | NEW |