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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.cc

Issue 11782020: Refactor so chromium only GL extensions require gl2extchromium.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A class to emulate GLES2 over command buffers. 5 // A class to emulate GLES2 over command buffers.
6 6
7 #include "../client/gles2_implementation.h" 7 #include "../client/gles2_implementation.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
11 #include <queue> 11 #include <queue>
12 #include <set> 12 #include <set>
13 #include <limits> 13 #include <limits>
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string.h> 15 #include <string.h>
16 #include <GLES2/gl2ext.h> 16 #include <GLES2/gl2ext.h>
17 #include <GLES2/gl2extchromium.h>
17 #include "../client/buffer_tracker.h" 18 #include "../client/buffer_tracker.h"
18 #include "../client/mapped_memory.h" 19 #include "../client/mapped_memory.h"
19 #include "../client/program_info_manager.h" 20 #include "../client/program_info_manager.h"
20 #include "../client/query_tracker.h" 21 #include "../client/query_tracker.h"
21 #include "../client/transfer_buffer.h" 22 #include "../client/transfer_buffer.h"
22 #include "../client/vertex_array_object_manager.h" 23 #include "../client/vertex_array_object_manager.h"
23 #include "../common/gles2_cmd_utils.h" 24 #include "../common/gles2_cmd_utils.h"
24 #include "../common/trace_event.h" 25 #include "../common/trace_event.h"
25 26
26 #if defined(__native_client__) && !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) 27 #if defined(__native_client__) && !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS)
(...skipping 3391 matching lines...) Expand 10 before | Expand all | Expand 10 after
3418 return; 3419 return;
3419 } 3420 }
3420 3421
3421 // Include the auto-generated part of this file. We split this because it means 3422 // Include the auto-generated part of this file. We split this because it means
3422 // we can easily edit the non-auto generated parts right here in this file 3423 // we can easily edit the non-auto generated parts right here in this file
3423 // instead of having to edit some template or the code generator. 3424 // instead of having to edit some template or the code generator.
3424 #include "../client/gles2_implementation_impl_autogen.h" 3425 #include "../client/gles2_implementation_impl_autogen.h"
3425 3426
3426 } // namespace gles2 3427 } // namespace gles2
3427 } // namespace gpu 3428 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib.cc ('k') | gpu/command_buffer/client/gles2_implementation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698