summaryrefslogtreecommitdiff
path: root/Source/Platform/chromium/public
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Platform/chromium/public')
-rw-r--r--Source/Platform/chromium/public/WebGraphicsContext3D.h4
-rw-r--r--Source/Platform/chromium/public/WebScreenInfo.h10
2 files changed, 5 insertions, 9 deletions
diff --git a/Source/Platform/chromium/public/WebGraphicsContext3D.h b/Source/Platform/chromium/public/WebGraphicsContext3D.h
index 1707f87c0..8f311cc2e 100644
--- a/Source/Platform/chromium/public/WebGraphicsContext3D.h
+++ b/Source/Platform/chromium/public/WebGraphicsContext3D.h
@@ -457,6 +457,10 @@ public:
virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
+ // GL_CHROMIUM_pixel_transfer_buffer_object
+ virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return 0; }
+ virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target) { return false; }
+
GrGLInterface* createGrGLInterface();
protected:
diff --git a/Source/Platform/chromium/public/WebScreenInfo.h b/Source/Platform/chromium/public/WebScreenInfo.h
index 4af1c5569..ea43af7eb 100644
--- a/Source/Platform/chromium/public/WebScreenInfo.h
+++ b/Source/Platform/chromium/public/WebScreenInfo.h
@@ -36,12 +36,6 @@
namespace WebKit {
struct WebScreenInfo {
- // The horizontal screen dpi (deprecated).
- int horizontalDPI;
-
- // The vertical screen dpi (deprecated).
- int verticalDPI;
-
// Device scale factor. Specifies the ratio between physical and logical
// pixels.
float deviceScaleFactor;
@@ -74,9 +68,7 @@ struct WebScreenInfo {
WebRect availableRect;
WebScreenInfo()
- : horizontalDPI(0)
- , verticalDPI(0)
- , deviceScaleFactor(1)
+ : deviceScaleFactor(1)
, depth(0)
, depthPerComponent(0)
, isMonochrome(false) { }