<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>89204</bug_id>
          
          <creation_ts>2012-06-15 06:44:25 -0700</creation_ts>
          <short_desc>[chromium] Normalize scale-related names</short_desc>
          <delta_ts>2012-06-20 11:14:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>86882</dependson>
    
    <dependson>89212</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>vollick</reporter>
          <assigned_to>vollick</assigned_to>
          <cc>danakj</cc>
    
    <cc>enne</cc>
    
    <cc>jamesr</cc>
    
    <cc>nduca</cc>
    
    <cc>shawnsingh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>650124</commentid>
    <comment_count>0</comment_count>
    <who name="">vollick</who>
    <bug_when>2012-06-15 06:44:25 -0700</bug_when>
    <thetext>We have members that exist in many different spaces, and their names are often confusing. Things will become even more confusing as the device scale factor is applied. We need to agree on names for these spaces, identify which member is in which space, and rename the members so it is clear at a glance which space they belong to. Where possible, conforming to this document would be a good idea http://trac.webkit.org/wiki/ScalesAndZooms. Please comment if you have suggestions for names, or names that definitely need changing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650158</commentid>
    <comment_count>1</comment_count>
    <who name="Dana Jansens">danakj</who>
    <bug_when>2012-06-15 07:26:56 -0700</bug_when>
    <thetext>This largely depends on what device scale approach we use. Assuming we scale in LRC and keep the rest in CSS pixels..
- Surface &quot;contentRect&quot; is actually &quot;surfaceRect&quot; (analogous to layer-space)
- Framebuffer space was introduced to say physical pixels before viewport/window transforms, but is no longer physical pixels after the change, and just becomes screenSpace again.
- We could rename layer/surface space to layout space possibly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650505</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-06-15 14:23:10 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; This largely depends on what device scale approach we use. Assuming we scale in LRC and keep the rest in CSS pixels..

nit: I think we want to keep the rest in logical pixels (not CSS pixels) - i.e. page zoom is already baked in to the values we get on GraphicsLayers, etc.


&gt; - Surface &quot;contentRect&quot; is actually &quot;surfaceRect&quot; (analogous to layer-space)
&gt; - Framebuffer space was introduced to say physical pixels before viewport/window transforms, but is no longer physical pixels after the change, and just becomes screenSpace again.
&gt; - We could rename layer/surface space to layout space possibly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>653669</commentid>
    <comment_count>3</comment_count>
    <who name="">vollick</who>
    <bug_when>2012-06-20 11:14:57 -0700</bug_when>
    <thetext>It seems that there is no longer as urgent a need for renaming given 86882. contentBounds, means the bounds of the texture the layer (or render surface) manages. For example, for an image, it&apos;s the dimensions of the image, and for a render surface, it&apos;s the dimensions of the texture backing the surface. I am going to close this for now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>