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

Side by Side Diff: gpu/GLES2/gles2_command_buffer.h

Issue 2956005: Adds MapBufferSubData and MapTexSubImage2D.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « gpu/DEPS ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file defines constants and functions for the Pepper gles2 command 5 // This file defines constants and functions for the Pepper gles2 command
6 // buffers that fall outside the scope of OpenGL ES 2.0 6 // buffers that fall outside the scope of OpenGL ES 2.0
7 7
8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_ 8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_
9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_ 9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_
10 10
11 // constants for CommandBufferEnable command. 11 // constants for CommandBufferEnable command.
12 #define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \ 12 #define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \
13 "pepper3d_allow_buffers_on_multiple_targets" 13 "pepper3d_allow_buffers_on_multiple_targets"
14 // TODO(gman): remove this 14 // TODO(gman): remove this
15 #define PEPPER3D_SKIP_GLSL_TRANSLATION \ 15 #define PEPPER3D_SKIP_GLSL_TRANSLATION \
16 "pepper3d_skip_glsl_translation" 16 "pepper3d_skip_glsl_translation"
17 17
18 // TODO(gman): move this somewhere else.
19 #ifndef GL_READ_ONLY
20 #define GL_READ_ONLY 0x88B8
21 #endif
22 #ifndef GL_WRITE_ONLY
23 #define GL_WRITE_ONLY 0x88B9
24 #endif
25
18 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_ 26 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_
19 27
20 28
21 29
22 30
OLDNEW
« no previous file with comments | « gpu/DEPS ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698