OLD | NEW |
---|---|
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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
278 bool m_contentsChanged; | 278 bool m_contentsChanged; |
279 | 279 |
280 // True if commit() has been called since the last time markContentsChanged( ) had been called. | 280 // True if commit() has been called since the last time markContentsChanged( ) had been called. |
281 bool m_contentsChangeCommitted; | 281 bool m_contentsChangeCommitted; |
282 bool m_bufferClearNeeded; | 282 bool m_bufferClearNeeded; |
283 | 283 |
284 enum MultisampleMode { | 284 enum MultisampleMode { |
285 None, | 285 None, |
286 ImplicitResolve, | 286 ImplicitResolve, |
287 ExplicitResolve, | 287 ExplicitResolve, |
288 INTELCMAAResolve, | |
bajones
2015/08/19 16:26:44
Nit: I know that you're following the capitalizati
| |
288 }; | 289 }; |
289 | 290 |
290 MultisampleMode m_multisampleMode; | 291 MultisampleMode m_multisampleMode; |
291 | 292 |
292 WebGraphicsContext3D::Attributes m_actualAttributes; | 293 WebGraphicsContext3D::Attributes m_actualAttributes; |
293 unsigned m_internalColorFormat; | 294 unsigned m_internalColorFormat; |
294 unsigned m_colorFormat; | 295 unsigned m_colorFormat; |
295 unsigned m_internalRenderbufferFormat; | 296 unsigned m_internalRenderbufferFormat; |
296 int m_maxTextureSize; | 297 int m_maxTextureSize; |
297 int m_sampleCount; | 298 int m_sampleCount; |
(...skipping 16 matching lines...) Expand all Loading... | |
314 // used to resize the Canvas. | 315 // used to resize the Canvas. |
315 SkBitmap m_resizingBitmap; | 316 SkBitmap m_resizingBitmap; |
316 | 317 |
317 // Used to flip a bitmap vertically. | 318 // Used to flip a bitmap vertically. |
318 Vector<uint8_t> m_scanline; | 319 Vector<uint8_t> m_scanline; |
319 }; | 320 }; |
320 | 321 |
321 } // namespace blink | 322 } // namespace blink |
322 | 323 |
323 #endif // DrawingBuffer_h | 324 #endif // DrawingBuffer_h |
OLD | NEW |