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

Side by Side Diff: Source/WebCore/platform/graphics/GraphicsContext3D.h

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 int m_currentWidth, m_currentHeight; 845 int m_currentWidth, m_currentHeight;
846 bool isResourceSafe(); 846 bool isResourceSafe();
847 847
848 friend class Extensions3DOpenGLCommon; 848 friend class Extensions3DOpenGLCommon;
849 849
850 Attributes m_attrs; 850 Attributes m_attrs;
851 RenderStyle m_renderStyle; 851 RenderStyle m_renderStyle;
852 Vector<Vector<float> > m_vertexArray; 852 Vector<Vector<float> > m_vertexArray;
853 853
854 GC3Duint m_texture; 854 GC3Duint m_texture;
855 #if !PLATFORM(BLACKBERRY)
856 GC3Duint m_compositorTexture; 855 GC3Duint m_compositorTexture;
857 #endif
858 GC3Duint m_fbo; 856 GC3Duint m_fbo;
859 857
860 #if !PLATFORM(BLACKBERRY)
861 GC3Duint m_depthBuffer; 858 GC3Duint m_depthBuffer;
862 GC3Duint m_stencilBuffer; 859 GC3Duint m_stencilBuffer;
863 #endif
864 GC3Duint m_depthStencilBuffer; 860 GC3Duint m_depthStencilBuffer;
865 861
866 bool m_layerComposited; 862 bool m_layerComposited;
867 GC3Duint m_internalColorFormat; 863 GC3Duint m_internalColorFormat;
868 864
869 struct GraphicsContext3DState { 865 struct GraphicsContext3DState {
870 GraphicsContext3DState() 866 GraphicsContext3DState()
871 : boundFBO(0) 867 : boundFBO(0)
872 , activeTexture(GraphicsContext3D::TEXTURE0) 868 , activeTexture(GraphicsContext3D::TEXTURE0)
873 , boundTexture0(0) 869 , boundTexture0(0)
874 { } 870 { }
875 871
876 GC3Duint boundFBO; 872 GC3Duint boundFBO;
877 GC3Denum activeTexture; 873 GC3Denum activeTexture;
878 GC3Duint boundTexture0; 874 GC3Duint boundTexture0;
879 }; 875 };
880 876
881 GraphicsContext3DState m_state; 877 GraphicsContext3DState m_state;
882 878
883 // For multisampling 879 // For multisampling
884 GC3Duint m_multisampleFBO; 880 GC3Duint m_multisampleFBO;
885 GC3Duint m_multisampleDepthStencilBuffer; 881 GC3Duint m_multisampleDepthStencilBuffer;
886 GC3Duint m_multisampleColorBuffer; 882 GC3Duint m_multisampleColorBuffer;
887 883
888 // Errors raised by synthesizeGLError(). 884 // Errors raised by synthesizeGLError().
889 ListHashSet<GC3Denum> m_syntheticErrors; 885 ListHashSet<GC3Denum> m_syntheticErrors;
890 886
891 #if PLATFORM(BLACKBERRY)
892 bool m_isImaginationHardware;
893 #endif
894
895 #if !PLATFORM(BLACKBERRY)
896 friend class GraphicsContext3DPrivate; 887 friend class GraphicsContext3DPrivate;
897 OwnPtr<GraphicsContext3DPrivate> m_private; 888 OwnPtr<GraphicsContext3DPrivate> m_private;
898 #endif
899 }; 889 };
900 890
901 } // namespace WebCore 891 } // namespace WebCore
902 892
903 #endif // GraphicsContext3D_h 893 #endif // GraphicsContext3D_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698