summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_implementation.cc
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 04:51:22 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 04:51:22 +0000
commitd42398570e13c364a7f403fc9685ddb437b194f4 (patch)
tree739c99463efc13bec23138869d3baf9a4d3cc0de /gpu/command_buffer/client/gles2_implementation.cc
parente505713377b0ec2e061933ab181854062cb16ffc (diff)
downloadchromium_src-d42398570e13c364a7f403fc9685ddb437b194f4.zip
chromium_src-d42398570e13c364a7f403fc9685ddb437b194f4.tar.gz
chromium_src-d42398570e13c364a7f403fc9685ddb437b194f4.tar.bz2
Rename and document glCommandBufferEnableCHROMIUM
moved to gl2ext.h. Got rid of gles2_command_buffer.h BUG=none TEST=none Review URL: http://codereview.chromium.org/7623001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation.cc')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 0c052ce..fc4f547 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -7,7 +7,6 @@
#include "../client/gles2_implementation.h"
#include <GLES2/gl2ext.h>
-#include <GLES2/gles2_command_buffer.h>
#include "../client/mapped_memory.h"
#include "../client/program_info_manager.h"
#include "../common/gles2_cmd_utils.h"
@@ -2148,16 +2147,16 @@ void GLES2Implementation::GetVertexAttribiv(
});
}
-GLboolean GLES2Implementation::CommandBufferEnableCHROMIUM(
+GLboolean GLES2Implementation::EnableFeatureCHROMIUM(
const char* feature) {
- GPU_CLIENT_LOG("[" << this << "] glCommandBufferEnableCHROMIUM("
+ GPU_CLIENT_LOG("[" << this << "] glEnableFeatureCHROMIUM("
<< feature << ")");
- TRACE_EVENT0("gpu", "GLES2::CommandBufferEnableCHROMIUM");
- typedef CommandBufferEnableCHROMIUM::Result Result;
+ TRACE_EVENT0("gpu", "GLES2::EnableFeatureCHROMIUM");
+ typedef EnableFeatureCHROMIUM::Result Result;
Result* result = GetResultAs<Result*>();
*result = 0;
SetBucketAsCString(kResultBucketId, feature);
- helper_->CommandBufferEnableCHROMIUM(
+ helper_->EnableFeatureCHROMIUM(
kResultBucketId, result_shm_id(), result_shm_offset());
WaitForCmd();
helper_->SetBucketSize(kResultBucketId, 0);