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

Unified Diff: gpu/pgl/pgl.h

Issue 6883179: Rework FlushSync to return early if commands have been processed since the last update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years, 8 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/pgl/command_buffer_pepper.cc ('k') | gpu/pgl/pgl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/pgl/pgl.h
diff --git a/gpu/pgl/pgl.h b/gpu/pgl/pgl.h
deleted file mode 100644
index e16d02823be9cc01d8e76fad7b6f68666b705356..0000000000000000000000000000000000000000
--- a/gpu/pgl/pgl.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// 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.
-
-#ifndef GPU_PGL_PGL_H
-#define GPU_PGL_PGL_H
-
-#include <npapi.h>
-#include <npapi_extensions.h>
-
-#define PGL_TRUE 1
-#define PGL_FALSE 0
-
-#define PGL_NO_CONTEXT ((PGLContext) 0)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void* PGLContext;
-typedef unsigned int PGLBoolean;
-typedef int32_t PGLInt;
-
-// These are the same error codes as used by EGL.
-enum {
- PGL_SUCCESS = 0x3000,
- PGL_NOT_INITIALIZED = 0x3001,
- PGL_BAD_CONTEXT = 0x3006,
- PGL_BAD_PARAMETER = 0x300C,
- PGL_CONTEXT_LOST = 0x300E
-};
-
-// Initialize the PGL library. This must have completed before any other PGL
-// functions are invoked.
-PGLBoolean pglInitialize();
-
-// Terminate the PGL library. This must be called after any other PGL functions
-// have completed.
-PGLBoolean pglTerminate();
-
-// Create A PGL context from a Pepper 3D device context.
-PGLContext pglCreateContext(NPP npp,
- NPDevice* device,
- NPDeviceContext3D* device_context);
-
-// Set the current PGL context for the calling thread.
-PGLBoolean pglMakeCurrent(PGLContext pgl_context);
-
-// Get the calling thread's current PGL context.
-PGLContext pglGetCurrentContext(void);
-
-// Gets the address of a function.
-void (*pglGetProcAddress(char const * procname))();
-
-// Display everything that has been rendered since the last call.
-PGLBoolean pglSwapBuffers(void);
-
-// Destroy the given PGL context.
-PGLBoolean pglDestroyContext(PGLContext pgl_context);
-
-// Return the current PGL error.
-PGLInt pglGetError();
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // GPU_PGL_PGL_H
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | gpu/pgl/pgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698