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

Unified Diff: ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h

Issue 9420017: Add Pepper support for several GL extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build_gles2_cmd_buffer Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | ppapi/c/dev/ppb_opengles2ext_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h
diff --git a/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h b/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h
deleted file mode 100644
index 8ad0093d9c26dea7b57be814a7fa0f84a2de19c6..0000000000000000000000000000000000000000
--- a/ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_
-#define PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_
-
-#include "ppapi/c/pp_resource.h"
-#include "ppapi/c/ppb_opengles2.h"
-
-#define PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE_0_1 \
- "PPB_GLESChromiumTextureMapping(Dev);0.1"
-#define PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE \
- PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_INTERFACE_0_1
-
-struct PPB_GLESChromiumTextureMapping_Dev_0_1 {
- // Maps the sub-image of a texture. 'level', 'xoffset', 'yoffset', 'width',
- // 'height', 'format' and 'type' correspond to the similarly named parameters
- // of TexSubImage2D, and define the sub-image region, as well as the format of
- // the data. 'access' must be one of GL_READ_ONLY, GL_WRITE_ONLY or
- // GL_READ_WRITE. If READ is included, the returned buffer will contain the
- // pixel data for the sub-image. If WRITE is included, the pixel data for the
- // sub-image will be updated to the contents of the buffer when
- // UnmapTexSubImage2DCHROMIUM is called. NOTE: for a GL_WRITE_ONLY map, it
- // means that all the values of the buffer must be written.
- void* (*MapTexSubImage2DCHROMIUM)(
- PP_Resource context,
- GLenum target,
- GLint level,
- GLint xoffset,
- GLint yoffset,
- GLsizei width,
- GLsizei height,
- GLenum format,
- GLenum type,
- GLenum access);
-
- // Unmaps the sub-image of a texture. If the sub-image was mapped with one of
- // the WRITE accesses, the pixels are updated at this time to the contents of
- // the buffer. 'mem' must be the pointer returned by MapTexSubImage2DCHROMIUM.
- void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem);
-};
-
-typedef struct PPB_GLESChromiumTextureMapping_Dev_0_1
- PPB_GLESChromiumTextureMapping_Dev;
-
-#endif // PPAPI_C_DEV_PPB_GLES_CHROMIUM_TEXTURE_MAPPING_DEV_H_
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | ppapi/c/dev/ppb_opengles2ext_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698