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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2823193002: Add supported formats by EXT_color_buffer_float for CopyTexImage2D (Closed)
Patch Set: remove suppressions Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 // Other errors raised by synthesizeGLError(). 937 // Other errors raised by synthesizeGLError().
938 Vector<GLenum> synthetic_errors_; 938 Vector<GLenum> synthetic_errors_;
939 939
940 bool is_web_gl2_formats_types_added_; 940 bool is_web_gl2_formats_types_added_;
941 bool is_web_gl2_tex_image_source_formats_types_added_; 941 bool is_web_gl2_tex_image_source_formats_types_added_;
942 bool is_web_gl2_internal_formats_copy_tex_image_added_; 942 bool is_web_gl2_internal_formats_copy_tex_image_added_;
943 bool is_oes_texture_float_formats_types_added_; 943 bool is_oes_texture_float_formats_types_added_;
944 bool is_oes_texture_half_float_formats_types_added_; 944 bool is_oes_texture_half_float_formats_types_added_;
945 bool is_web_gl_depth_texture_formats_types_added_; 945 bool is_web_gl_depth_texture_formats_types_added_;
946 bool is_ext_srgb_formats_types_added_; 946 bool is_ext_srgb_formats_types_added_;
947 bool is_ext_color_buffer_float_formats_added_;
947 948
948 std::set<GLenum> supported_internal_formats_; 949 std::set<GLenum> supported_internal_formats_;
949 std::set<GLenum> supported_tex_image_source_internal_formats_; 950 std::set<GLenum> supported_tex_image_source_internal_formats_;
950 std::set<GLenum> supported_internal_formats_copy_tex_image_; 951 std::set<GLenum> supported_internal_formats_copy_tex_image_;
951 std::set<GLenum> supported_formats_; 952 std::set<GLenum> supported_formats_;
952 std::set<GLenum> supported_tex_image_source_formats_; 953 std::set<GLenum> supported_tex_image_source_formats_;
953 std::set<GLenum> supported_types_; 954 std::set<GLenum> supported_types_;
954 std::set<GLenum> supported_tex_image_source_types_; 955 std::set<GLenum> supported_tex_image_source_types_;
955 956
956 // Helpers for getParameter and others 957 // Helpers for getParameter and others
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 context, 1690 context,
1690 context->Is3d(), 1691 context->Is3d(),
1691 context.Is3d()); 1692 context.Is3d());
1692 1693
1693 } // namespace blink 1694 } // namespace blink
1694 1695
1695 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( 1696 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(
1696 blink::WebGLRenderingContextBase::TextureUnitState); 1697 blink::WebGLRenderingContextBase::TextureUnitState);
1697 1698
1698 #endif // WebGLRenderingContextBase_h 1699 #endif // WebGLRenderingContextBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698