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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureS3TCsRGB.idl

Issue 2337833002: Implement WEBGL_compressed_texture_s3tc_srgb (Closed)
Patch Set: Implement WEBGL_compressed_texture_s3tc_srgb Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureS3TCsRGB.idl
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTexturePVRTC.idl b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureS3TCsRGB.idl
similarity index 78%
copy from third_party/WebKit/Source/modules/webgl/WebGLCompressedTexturePVRTC.idl
copy to third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureS3TCsRGB.idl
index fbf14f1ca5f7d74daaa39b55089dc78582145276..26f420b784bebb691a2e3b969af6b19e90cdc133 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTexturePVRTC.idl
+++ b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureS3TCsRGB.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (C) 2016 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,10 +27,10 @@
NoInterfaceObject,
DoNotCheckConstants,
SetWrapperReferenceFrom=canvas,
-] interface WebGLCompressedTexturePVRTC {
+] interface WebGLCompressedTextureS3TCsRGB {
/* Compressed Texture Formats */
- const unsigned long COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
- const unsigned long COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
- const unsigned long COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
- const unsigned long COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
+ const unsigned long COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
+ const unsigned long COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
+ const unsigned long COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
+ const unsigned long COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
};

Powered by Google App Engine
This is Rietveld 408576698