| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 // Return the least recently used context's position in the active context v
ector. | 939 // Return the least recently used context's position in the active context v
ector. |
| 940 // If the vector is empty, return the maximum allowed active context number. | 940 // If the vector is empty, return the maximum allowed active context number. |
| 941 static size_t oldestContextIndex(); | 941 static size_t oldestContextIndex(); |
| 942 static IntSize oldestContextSize(); | 942 static IntSize oldestContextSize(); |
| 943 }; | 943 }; |
| 944 | 944 |
| 945 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 945 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 946 | 946 |
| 947 } // namespace blink | 947 } // namespace blink |
| 948 | 948 |
| 949 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::WebGLRenderingContex
tBase::TextureUnitState); | 949 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 950 | 950 |
| 951 #endif // WebGLRenderingContextBase_h | 951 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |