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

Side by Side Diff: Source/platform/graphics/GraphicsTypes3D.h

Issue 749653002: WebGL: clarify which Front or Back buffer is used by each API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address nits Created 6 years 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // GL_AMD_compressed_ATC_texture 51 // GL_AMD_compressed_ATC_texture
52 const unsigned GC3D_COMPRESSED_ATC_RGB_AMD = 0x8C92; 52 const unsigned GC3D_COMPRESSED_ATC_RGB_AMD = 0x8C92;
53 const unsigned GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93; 53 const unsigned GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93;
54 const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE; 54 const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE;
55 55
56 // GL_CHROMIUM_gpu_memory_buffer_image 56 // GL_CHROMIUM_gpu_memory_buffer_image
57 const unsigned GC3D_MAP_CHROMIUM = 0x78F1; 57 const unsigned GC3D_MAP_CHROMIUM = 0x78F1;
58 const unsigned GC3D_SCANOUT_CHROMIUM = 0x78F2; 58 const unsigned GC3D_SCANOUT_CHROMIUM = 0x78F2;
59 59
60 #endif 60 namespace blink {
61
62 enum SourceDrawingBuffer { FrontBuffer, BackBuffer };
63
64 } // namespace blink
65
66 #endif // GraphicsTypes3D_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698