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

Unified Diff: cc/transferable_resource.cc

Issue 11358181: Use nearest neighbor filtering for non-translated quads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Associate resources with min/mag filters and use NEAREST for tile quads when feasible. Created 8 years, 1 month 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
« cc/resource_provider.h ('K') | « cc/transferable_resource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/transferable_resource.cc
diff --git a/cc/transferable_resource.cc b/cc/transferable_resource.cc
index 7fd8beaad061ec693bc27fb622221431fb9bc81f..011bb83a39186cff4e1d8c22a0837ad77d57fb01 100644
--- a/cc/transferable_resource.cc
+++ b/cc/transferable_resource.cc
@@ -25,8 +25,10 @@ void Mailbox::setName(const GLbyte* n) {
}
TransferableResource::TransferableResource()
- : id(0),
- format(0) {
+ : id(0)
+ , format(0)
+ , minFilter(0)
+ , magFilter(0) {
}
TransferableResource::~TransferableResource() {
« cc/resource_provider.h ('K') | « cc/transferable_resource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698