summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2/gles2_command_buffer.h
blob: 1a860b41a2f183239b2e004a61f2cc5a7ee87ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file defines constants and functions for the Pepper gles2 command
// buffers that fall outside the scope of OpenGL ES 2.0

#ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_
#define GPU_GLES2_GLES2_COMMAND_BUFFER_H_

// constants for CommandBufferEnable command.
#define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \
    "pepper3d_allow_buffers_on_multiple_targets"
// TODO(gman): remove this
#define PEPPER3D_SKIP_GLSL_TRANSLATION \
    "pepper3d_skip_glsl_translation"

#endif  // GPU_GLES2_GLES2_COMMAND_BUFFER_H_