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

Side by Side Diff: Source/core/html/canvas/WebGLExtension.h

Issue 14860016: Implement OES_texture_float_linear and OES_texture_half_float_linear extensions in WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 OESTextureHalfFloatName, 42 OESTextureHalfFloatName,
43 OESStandardDerivativesName, 43 OESStandardDerivativesName,
44 OESVertexArrayObjectName, 44 OESVertexArrayObjectName,
45 WebGLDebugRendererInfoName, 45 WebGLDebugRendererInfoName,
46 WebGLDebugShadersName, 46 WebGLDebugShadersName,
47 WebGLCompressedTextureS3TCName, 47 WebGLCompressedTextureS3TCName,
48 WebGLDepthTextureName, 48 WebGLDepthTextureName,
49 OESElementIndexUintName, 49 OESElementIndexUintName,
50 WebGLCompressedTextureATCName, 50 WebGLCompressedTextureATCName,
51 WebGLCompressedTexturePVRTCName, 51 WebGLCompressedTexturePVRTCName,
52 OESTextureFloatLinearName,
53 OESTextureHalfFloatLinearName,
52 }; 54 };
53 55
54 void ref() { m_context->ref(); } 56 void ref() { m_context->ref(); }
55 void deref() { m_context->deref(); } 57 void deref() { m_context->deref(); }
56 WebGLRenderingContext* context() { return m_context; } 58 WebGLRenderingContext* context() { return m_context; }
57 59
58 virtual ~WebGLExtension(); 60 virtual ~WebGLExtension();
59 virtual ExtensionName getName() const = 0; 61 virtual ExtensionName getName() const = 0;
60 62
61 protected: 63 protected:
62 WebGLExtension(WebGLRenderingContext*); 64 WebGLExtension(WebGLRenderingContext*);
63 WebGLRenderingContext* m_context; 65 WebGLRenderingContext* m_context;
64 }; 66 };
65 67
66 } // namespace WebCore 68 } // namespace WebCore
67 69
68 #endif // WebGLExtension_h 70 #endif // WebGLExtension_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698