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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 2134793002: Remove the command buffer method glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict. Created 4 years, 5 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 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 GLenum colorFormat = 0; 253 GLenum colorFormat = 0;
254 }; 254 };
255 255
256 // If we used CHROMIUM_image as the backing storage for our buffers, 256 // If we used CHROMIUM_image as the backing storage for our buffers,
257 // we need to know the mapping from texture id to image. 257 // we need to know the mapping from texture id to image.
258 struct TextureInfo { 258 struct TextureInfo {
259 DISALLOW_NEW(); 259 DISALLOW_NEW();
260 GLuint textureId = 0; 260 GLuint textureId = 0;
261 GLuint imageId = 0; 261 GLuint imageId = 0;
262 bool immutable = false; 262 bool immutable = false;
263
264 // A GpuMemoryBuffer is a concept that the compositor understands. and
265 // is able to operate on. The id is scoped to renderer process.
266 GLint gpuMemoryBufferId = -1;
267
268 TextureParameters parameters; 263 TextureParameters parameters;
269 }; 264 };
270 265
271 struct MailboxInfo : public RefCounted<MailboxInfo> { 266 struct MailboxInfo : public RefCounted<MailboxInfo> {
272 WTF_MAKE_NONCOPYABLE(MailboxInfo); 267 WTF_MAKE_NONCOPYABLE(MailboxInfo);
273 268
274 public: 269 public:
275 MailboxInfo() {} 270 MailboxInfo() {}
276 271
277 WebExternalTextureMailbox mailbox; 272 WebExternalTextureMailbox mailbox;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // used to resize the Canvas. 447 // used to resize the Canvas.
453 SkBitmap m_resizingBitmap; 448 SkBitmap m_resizingBitmap;
454 449
455 // Used to flip a bitmap vertically. 450 // Used to flip a bitmap vertically.
456 Vector<uint8_t> m_scanline; 451 Vector<uint8_t> m_scanline;
457 }; 452 };
458 453
459 } // namespace blink 454 } // namespace blink
460 455
461 #endif // DrawingBuffer_h 456 #endif // DrawingBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698