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

Side by Side Diff: cc/debug/fake_web_graphics_context_3d.h

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Add internalformat parameter to CreateImageCHROMIUM in fake_web_graphics_context_3d to fix clang bu… 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
« no previous file with comments | « cc/base/switches.cc ('k') | cc/debug/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 585
586 virtual void setContextLostCallback( 586 virtual void setContextLostCallback(
587 WebGraphicsContextLostCallback* callback); 587 WebGraphicsContextLostCallback* callback);
588 588
589 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current, 589 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current,
590 WebKit::WGC3Denum other); 590 WebKit::WGC3Denum other);
591 591
592 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m, 592 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m,
593 const WebKit::WGC3Denum* bufs) {} 593 const WebKit::WGC3Denum* bufs) {}
594 594
595 virtual void bindTexImage2DCHROMIUM(WebKit::WGC3Denum target,
596 WebKit::WGC3Dint image_id) {}
597
598 // GL_CHROMIUM_gpu_memory_buffer
599 virtual WebKit::WGC3Duint createImageCHROMIUM(
600 WebKit::WGC3Dsizei width,
601 WebKit::WGC3Dsizei height,
602 WebKit::WGC3Denum internalformat);
603 virtual void destroyImageCHROMIUM(WebKit::WGC3Duint image_id) {}
604 virtual void getImageParameterivCHROMIUM(
605 WebKit::WGC3Duint image_id,
606 WebKit::WGC3Denum pname,
607 WebKit::WGC3Dint* params) {}
608 virtual void* mapImageCHROMIUM(
609 WebKit::WGC3Duint image_id,
610 WebKit::WGC3Denum access);
611 virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {}
612
595 private: 613 private:
596 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D); 614 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D);
597 }; 615 };
598 616
599 } // namespace cc 617 } // namespace cc
600 618
601 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 619 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/base/switches.cc ('k') | cc/debug/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698