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

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

Issue 2738213003: Revert of cmaa, gpu: use R8 image texture when GL_NV_image_formats is available. (Closed)
Patch Set: Created 3 years, 9 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 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698