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

Unified Diff: ppapi/thunk/ppb_context_3d_api.h

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years, 1 month 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 | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_context_3d_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_context_3d_api.h
diff --git a/ppapi/thunk/ppb_context_3d_api.h b/ppapi/thunk/ppb_context_3d_api.h
deleted file mode 100644
index feeba898d17d986fda609e17ab0e73c493d38649..0000000000000000000000000000000000000000
--- a/ppapi/thunk/ppb_context_3d_api.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2011 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_THUNK_PPB_CONTEXT_3D_API_H_
-#define PPAPI_THUNK_PPB_CONTEXT_3D_API_H_
-
-#include "ppapi/c/dev/ppb_context_3d_dev.h"
-#include "ppapi/c/dev/ppb_context_3d_trusted_dev.h"
-#include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h"
-
-namespace gpu {
-namespace gles2 {
-class GLES2Implementation;
-} // namespace gles2
-} // namespace gpu
-
-namespace ppapi {
-namespace thunk {
-
-class PPB_Context3D_API {
- public:
- virtual ~PPB_Context3D_API() {}
-
- // Context3D.
- virtual int32_t GetAttrib(int32_t attribute, int32_t* value) = 0;
- virtual int32_t BindSurfaces(PP_Resource draw, PP_Resource read) = 0;
- virtual int32_t GetBoundSurfaces(PP_Resource* draw, PP_Resource* read) = 0;
-
- // Context3DTrusted.
- virtual PP_Bool InitializeTrusted(int32_t size) = 0;
- virtual PP_Bool GetRingBuffer(int* shm_handle,
- uint32_t* shm_size) = 0;
- virtual PP_Context3DTrustedState GetState() = 0;
- virtual PP_Bool Flush(int32_t put_offset) = 0;
- virtual PP_Context3DTrustedState FlushSync(int32_t put_offset) = 0;
- virtual int32_t CreateTransferBuffer(uint32_t size) = 0;
- virtual PP_Bool DestroyTransferBuffer(int32_t id) = 0;
- virtual PP_Bool GetTransferBuffer(int32_t id,
- int* shm_handle,
- uint32_t* shm_size) = 0;
- virtual PP_Context3DTrustedState FlushSyncFast(int32_t put_offset,
- int32_t last_known_get) = 0;
-
- // GLESChromiumTextureMapping.
- virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
- GLint level,
- GLint xoffset,
- GLint yoffset,
- GLsizei width,
- GLsizei height,
- GLenum format,
- GLenum type,
- GLenum access) = 0;
- virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0;
-
- // For binding with OpenGLES interface.
- virtual gpu::gles2::GLES2Implementation* GetGLES2Impl() = 0;
-};
-
-} // namespace thunk
-} // namespace ppapi
-
-#endif // PPAPI_THUNK_PPB_CONTEXT_3D_API_H_
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_context_3d_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698