| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_RESOURCES_RESOURCE_PROVIDER_H_ | 5 #ifndef CC_RESOURCES_RESOURCE_PROVIDER_H_ |
| 6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ | 6 #define CC_RESOURCES_RESOURCE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 TextureMailbox mailbox; | 490 TextureMailbox mailbox; |
| 491 ReleaseCallbackImpl release_callback_impl; | 491 ReleaseCallbackImpl release_callback_impl; |
| 492 uint8_t* pixels; | 492 uint8_t* pixels; |
| 493 int lock_for_read_count; | 493 int lock_for_read_count; |
| 494 int imported_count; | 494 int imported_count; |
| 495 int exported_count; | 495 int exported_count; |
| 496 bool dirty_image : 1; | 496 bool dirty_image : 1; |
| 497 bool locked_for_write : 1; | 497 bool locked_for_write : 1; |
| 498 bool lost : 1; | 498 bool lost : 1; |
| 499 bool marked_for_deletion : 1; | 499 bool marked_for_deletion : 1; |
| 500 bool pending_set_pixels : 1; | |
| 501 bool set_pixels_completion_forced : 1; | |
| 502 bool allocated : 1; | 500 bool allocated : 1; |
| 503 bool read_lock_fences_enabled : 1; | 501 bool read_lock_fences_enabled : 1; |
| 504 bool has_shared_bitmap_id : 1; | 502 bool has_shared_bitmap_id : 1; |
| 505 scoped_refptr<Fence> read_lock_fence; | 503 scoped_refptr<Fence> read_lock_fence; |
| 506 gfx::Size size; | 504 gfx::Size size; |
| 507 Origin origin; | 505 Origin origin; |
| 508 GLenum target; | 506 GLenum target; |
| 509 // TODO(skyostil): Use a separate sampler object for filter state. | 507 // TODO(skyostil): Use a separate sampler object for filter state. |
| 510 GLenum original_filter; | 508 GLenum original_filter; |
| 511 GLenum filter; | 509 GLenum filter; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 // A process-unique ID used for disambiguating memory dumps from different | 608 // A process-unique ID used for disambiguating memory dumps from different |
| 611 // resource providers. | 609 // resource providers. |
| 612 int tracing_id_; | 610 int tracing_id_; |
| 613 | 611 |
| 614 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); | 612 DISALLOW_COPY_AND_ASSIGN(ResourceProvider); |
| 615 }; | 613 }; |
| 616 | 614 |
| 617 } // namespace cc | 615 } // namespace cc |
| 618 | 616 |
| 619 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ | 617 #endif // CC_RESOURCES_RESOURCE_PROVIDER_H_ |
| OLD | NEW |