| 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 |
| 11 namespace { | |
| 12 class CMAAEffect; | |
| 13 } | |
| 14 | |
| 15 namespace gpu { | 11 namespace gpu { |
| 16 namespace gles2 { | 12 namespace gles2 { |
| 17 class CopyTextureCHROMIUMResourceManager; | 13 class CopyTextureCHROMIUMResourceManager; |
| 18 class GLES2Decoder; | 14 class GLES2Decoder; |
| 19 class Framebuffer; | 15 class Framebuffer; |
| 20 | 16 |
| 21 // This class encapsulates the resources required to implement the | 17 // This class encapsulates the resources required to implement the |
| 22 // GL_INTEL_framebuffer_CMAA extension via shaders. | 18 // GL_INTEL_framebuffer_CMAA extension via shaders. |
| 23 // | 19 // |
| 24 // The CMAA Conservative Morphological Anti-Aliasing) algorithm is applied to | 20 // The CMAA Conservative Morphological Anti-Aliasing) algorithm is applied to |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 static const char cmaa_frag_s1_[]; | 88 static const char cmaa_frag_s1_[]; |
| 93 static const char cmaa_frag_s2_[]; | 89 static const char cmaa_frag_s2_[]; |
| 94 | 90 |
| 95 DISALLOW_COPY_AND_ASSIGN(ApplyFramebufferAttachmentCMAAINTELResourceManager); | 91 DISALLOW_COPY_AND_ASSIGN(ApplyFramebufferAttachmentCMAAINTELResourceManager); |
| 96 }; | 92 }; |
| 97 | 93 |
| 98 } // namespace gles2 | 94 } // namespace gles2 |
| 99 } // namespace gpu | 95 } // namespace gpu |
| 100 | 96 |
| 101 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMA
A_INTEL_H_ | 97 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_APPLY_FRAMEBUFFER_ATTACHMENT_CMA
A_INTEL_H_ |
| OLD | NEW |