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

Unified Diff: gpu/command_buffer/service/texture_manager.h

Issue 2821913002: Force cube map texture complete on Linux AMD (Closed)
Patch Set: remove webgl2ores3 condition Created 3 years, 8 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/texture_manager.h
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index 8cf2edb1548e709164066b89b8ce6f55322dab66..b89a8afcc2d4e015a1a7b1e2704d47f41203d83f 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -698,20 +698,7 @@ class GPU_EXPORT TextureRef : public base::RefCounted<TextureRef> {
struct DecoderTextureState {
// total_texture_upload_time automatically initialized to 0 in default
// constructor.
- explicit DecoderTextureState(const GpuDriverBugWorkarounds& workarounds)
- : tex_image_failed(false),
- texture_upload_count(0),
- texsubimage_faster_than_teximage(
- workarounds.texsubimage_faster_than_teximage),
- force_cube_map_positive_x_allocation(
- workarounds.force_cube_map_positive_x_allocation),
- force_cube_complete(workarounds.force_cube_complete),
- unpack_alignment_workaround_with_unpack_buffer(
- workarounds.unpack_alignment_workaround_with_unpack_buffer),
- unpack_overlapping_rows_separately_unpack_buffer(
- workarounds.unpack_overlapping_rows_separately_unpack_buffer),
- unpack_image_height_workaround_with_unpack_buffer(
- workarounds.unpack_image_height_workaround_with_unpack_buffer) {}
+ explicit DecoderTextureState(const GpuDriverBugWorkarounds& workarounds);
// This indicates all the following texSubImage*D calls that are part of the
// failed texImage*D call should be ignored. The client calls have a lock
@@ -726,6 +713,7 @@ struct DecoderTextureState {
bool texsubimage_faster_than_teximage;
bool force_cube_map_positive_x_allocation;
bool force_cube_complete;
+ bool force_int_or_srgb_cube_texture_complete;
bool unpack_alignment_workaround_with_unpack_buffer;
bool unpack_overlapping_rows_separately_unpack_buffer;
bool unpack_image_height_workaround_with_unpack_buffer;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698